Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 84.3 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 167.2 kB / 25.6 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9096/0.9096, allocations: 158.6 MB / 187.5 MB, free: 2.812 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 251.5 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.32e-05, allocations: 2.312 kB / 251.5 MB, free: 7.227 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter): time 0.00979/0.009803, allocations: 12.25 MB / 263.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005946/0.01575, allocations: 4.182 MB / 267.9 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.01682, allocations: 83.44 kB / 268 MB, free: 6.633 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.01846, allocations: 0.9669 MB / 269 MB, free: 5.66 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.0207, allocations: 1.296 MB / 270.3 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.02179, allocations: 0.8727 MB / 271.1 MB, free: 3.48 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002558/0.02435, allocations: 4.053 MB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.02589, allocations: 1.694 MB / 276.9 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.02841, allocations: 2.87 MB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.02997, allocations: 1.91 MB / 281.7 MB, free: 8.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004363/0.03041, allocations: 0.4922 MB / 282.2 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007755/0.03119, allocations: 0.6793 MB / 282.8 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005853/0.03177, allocations: 1.133 MB / 284 MB, free: 6.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.03295, allocations: 1.407 MB / 285.4 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002421/0.03537, allocations: 3.353 MB / 288.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.03537, allocations: 0 / 288.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03537, allocations: 0 / 288.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.134e-05/0.0354, allocations: 3.938 kB / 288.7 MB, free: 1.766 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.005561/0.04096, allocations: 4.397 MB / 293.1 MB, free: 13.3 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.04101, allocations: 11.98 kB / 293.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.04346, allocations: 1.154 MB / 294.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.04544, allocations: 1.98 MB / 296.3 MB, free: 10.11 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.04555, allocations: 234.6 kB / 296.5 MB, free: 9.875 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000302/0.04586, allocations: 312.3 kB / 296.8 MB, free: 9.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.04858, allocations: 2.331 MB / 299.1 MB, free: 7.145 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.686e-05/0.04863, allocations: 7.938 kB / 299.2 MB, free: 7.137 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/0.04881, allocations: 132 kB / 299.3 MB, free: 7.008 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.04891, allocations: 146.3 kB / 299.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.05021, allocations: 0.9133 MB / 300.3 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009941/0.06015, allocations: 10.26 MB / 310.6 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.06227, allocations: 1.821 MB / 312.4 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009526/0.06322, allocations: 0.6196 MB / 313 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00258/0.0658, allocations: 2.315 MB / 315.4 MB, free: 6.695 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.06583, allocations: 58.33 kB / 315.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of pre-optimization done (n=119): time 2.184e-06/0.06583, allocations: 0 / 315.4 MB, free: 6.629 MB / 298.7 MB Notification: Performance of matching and sorting (n=122): time 0.003696/0.06953, allocations: 2.586 MB / 318 MB, free: 3.992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.06956, allocations: 64.41 kB / 318.1 MB, free: 3.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.07057, allocations: 1.296 MB / 319.4 MB, free: 2.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.412e-05/0.07063, allocations: 45.7 kB / 319.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009662/0.07159, allocations: 1.557 MB / 321 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.07183, allocations: 468.1 kB / 321.4 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/0.07213, allocations: 305 kB / 321.7 MB, free: 212 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.07223, allocations: 476.8 kB / 322.2 MB, free: 15.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.07259, allocations: 167.8 kB / 322.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.07319, allocations: 0.8869 MB / 323.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009048/0.07409, allocations: 1.155 MB / 324.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.0741, allocations: 4 kB / 324.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001394/0.07549, allocations: 1.295 MB / 325.7 MB, free: 11.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.07551, allocations: 8 kB / 325.7 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.07552, allocations: 16 kB / 325.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004507/0.07598, allocations: 226.6 kB / 325.9 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006604/0.07664, allocations: 339.5 kB / 326.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.08021, allocations: 6.411 MB / 332.7 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.08064, allocations: 63.94 kB / 332.7 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.94e-05/0.08071, allocations: 52 kB / 332.8 MB, free: 4.184 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004858/0.0812, allocations: 272.1 kB / 333 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.08139, allocations: 206.9 kB / 333.3 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.08311, allocations: 1.09 MB / 334.3 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.08312, allocations: 16 kB / 334.4 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.08313, allocations: 8.125 kB / 334.4 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.08314, allocations: 7.969 kB / 334.4 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003601/0.08674, allocations: 3.245 MB / 337.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.08674, allocations: 0 / 337.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.0871, allocations: 155.8 kB / 337.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000659/0.08776, allocations: 396 kB / 338.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.968e-05/0.08782, allocations: 35.98 kB / 338.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005761/0.09358, allocations: 11.21 MB / 349.4 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.09359, allocations: 4 kB / 349.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.09515, allocations: 1.494 MB / 350.9 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.09548, allocations: 278.8 kB / 351.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.09559, allocations: 32.11 kB / 351.2 MB, free: 0.957 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003476/0.09594, allocations: 55.98 kB / 351.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.09607, allocations: 108.7 kB / 351.4 MB, free: 0.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.09612, allocations: 31.98 kB / 351.4 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005152/0.09663, allocations: 0.6923 MB / 352.1 MB, free: 72 kB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09663, allocations: 0 / 352.1 MB, free: 72 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.1202/0.2168, allocations: 0.525 MB / 352.6 MB, free: 80.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002845/0.2171, allocations: 160 kB / 352.8 MB, free: 80.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.2186, allocations: 1.365 MB / 354.1 MB, free: 79.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2186, allocations: 1.641 kB / 354.1 MB, free: 79.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008735/0.2195, allocations: 1.456 MB / 355.6 MB, free: 78.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009906/0.2205, allocations: 419.3 kB / 356 MB, free: 78.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.2255, allocations: 4.781 MB / 360.8 MB, free: 76.66 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.226, allocations: 0.7776 MB / 361.6 MB, free: 76.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004814/0.2265, allocations: 225.7 kB / 361.8 MB, free: 76.47 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005753/0.2271, allocations: 474.5 kB / 362.2 MB, free: 76.41 MB / 330.7 MB Notification: Performance of SimCode: time 7.71e-07/0.2271, allocations: 0 / 362.2 MB, free: 76.41 MB / 330.7 MB Notification: Performance of Templates: time 0.02937/0.2564, allocations: 26.35 MB / 388.6 MB, free: 57.16 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.542351023759693]