Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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.001469/0.001469, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001596/0.001596, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9091/0.9091, allocations: 177.1 MB / 205 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.wMechanical|currentQuasiRMSSensor.I",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.22e-05, allocations: 2.312 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.1233/0.1233, allocations: 21.23 MB / 294.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.1336, allocations: 6.703 MB / 301 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002156/0.1357, allocations: 175.6 kB / 301.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007129/0.1428, allocations: 7.311 MB / 308.4 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004331/0.1472, allocations: 2.877 MB / 311.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.1491, allocations: 1.576 MB / 312.9 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.004978/0.1541, allocations: 9.469 MB / 322.4 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01015/0.1642, allocations: 10.94 MB / 333.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006012/0.1702, allocations: 7.04 MB / 340.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004808/0.1751, allocations: 5.072 MB / 345.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001783/0.1768, allocations: 1.352 MB / 346.8 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.1787, allocations: 1.698 MB / 348.5 MB, free: 7.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001439/0.1801, allocations: 2.708 MB / 351.2 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002571/0.1827, allocations: 3.369 MB / 354.5 MB, free: 1.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006484/0.1892, allocations: 8.493 MB / 363 MB, free: 8.738 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1892, allocations: 0 / 363 MB, free: 8.738 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1892, allocations: 3.938 kB / 363 MB, free: 8.734 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.371e-05/0.1893, allocations: 4 kB / 363 MB, free: 8.73 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2107 * Number of variables: 2107 Notification: Performance of Generate backend data structure: time 0.01543/0.2047, allocations: 11.25 MB / 374.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2047, allocations: 12.03 kB / 374.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01876/0.2235, allocations: 7.292 MB / 381.6 MB, free: 6.074 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007888/0.2314, allocations: 5.518 MB / 387.1 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003567/0.2317, allocations: 0.5579 MB / 387.7 MB, free: 15.94 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/0.2334, allocations: 0.7343 MB / 388.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01483/0.2482, allocations: 6.746 MB / 395.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/0.2484, allocations: 11.95 kB / 395.2 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000951/0.2494, allocations: 312 kB / 395.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003765/0.2498, allocations: 496 kB / 396 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.2612, allocations: 4.029 MB / 400 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04495/0.3062, allocations: 32.7 MB / 432.7 MB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1615/0.4677, allocations: 7.024 MB / 439.7 MB, free: 86.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004312/0.472, allocations: 1.371 MB / 441.1 MB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004243/0.4724, allocations: 122.8 kB / 441.2 MB, free: 86.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.553e-05/0.4725, allocations: 81.39 kB / 441.3 MB, free: 86.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=410): time 9.748e-06/0.4725, allocations: 0.6562 kB / 441.3 MB, free: 86.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=415): time 0.02742/0.4999, allocations: 10.12 MB / 451.4 MB, free: 85.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.5, allocations: 93.39 kB / 451.5 MB, free: 85.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003012/0.503, allocations: 2.476 MB / 454 MB, free: 84.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.5032, allocations: 94.33 kB / 454.1 MB, free: 84.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/0.5047, allocations: 3.328 MB / 457.4 MB, free: 83.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008176/0.5055, allocations: 1.491 MB / 458.9 MB, free: 82.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.5066, allocations: 1.043 MB / 459.9 MB, free: 82.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.188e-05/0.5067, allocations: 485.9 kB / 460.4 MB, free: 82.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.5081, allocations: 0.8017 MB / 461.2 MB, free: 82.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/0.5101, allocations: 3.202 MB / 464.4 MB, free: 79.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004117/0.5142, allocations: 4.457 MB / 468.9 MB, free: 76.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.554e-05/0.5143, allocations: 14.38 kB / 468.9 MB, free: 76.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.006741/0.521, allocations: 4.64 MB / 473.5 MB, free: 76.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.5211, allocations: 29.81 kB / 473.5 MB, free: 76.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.024e-05/0.5211, allocations: 56.91 kB / 473.6 MB, free: 76.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00223/0.5233, allocations: 1.123 MB / 474.7 MB, free: 75.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.5255, allocations: 1.132 MB / 475.8 MB, free: 75.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/0.5321, allocations: 7.71 MB / 483.6 MB, free: 69.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.5341, allocations: 265 kB / 483.8 MB, free: 69.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000333/0.5344, allocations: 233.3 kB / 484 MB, free: 69.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (590): * Single equations (assignments): 588 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001569/0.536, allocations: 486.7 kB / 484.5 MB, free: 68.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000574/0.5366, allocations: 481.5 kB / 485 MB, free: 68.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004903/0.5415, allocations: 3.747 MB / 488.7 MB, free: 66.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/0.5415, allocations: 44.56 kB / 488.8 MB, free: 66.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.5415, allocations: 8 kB / 488.8 MB, free: 66.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-05/0.5415, allocations: 22.33 kB / 488.8 MB, free: 66.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.5551, allocations: 10.3 MB / 499.1 MB, free: 56.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.5551, allocations: 4 kB / 499.1 MB, free: 56.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.5566, allocations: 0.746 MB / 499.9 MB, free: 55.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/0.5586, allocations: 1.024 MB / 0.4891 GB, free: 54.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/0.5588, allocations: 99.95 kB / 0.4892 GB, free: 54.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005563/0.5644, allocations: 7.245 MB / 0.4963 GB, free: 47.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5644, allocations: 7.656 kB / 0.4963 GB, free: 47.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006005/0.5704, allocations: 4.858 MB / 0.5011 GB, free: 42.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.5715, allocations: 0.7894 MB / 0.5018 GB, free: 41.52 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.5719, allocations: 91.94 kB / 0.5019 GB, free: 41.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009321/0.5728, allocations: 196.5 kB / 0.5021 GB, free: 41.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004147/0.5732, allocations: 318.2 kB / 0.5024 GB, free: 40.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/0.5734, allocations: 128 kB / 0.5025 GB, free: 40.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001369/0.5747, allocations: 1.201 MB / 0.5037 GB, free: 39.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5747, allocations: 0 / 0.5037 GB, free: 39.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003464/0.5782, allocations: 1.387 MB / 0.5051 GB, free: 38.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 3 (aimc.inertiaRotor.w,voltageSource.plug_p.reference.gamma,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 (398): * Single equations (assignments): 396 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (14,44,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004392/0.5786, allocations: 265.5 kB / 0.5053 GB, free: 37.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005273/0.5839, allocations: 3.938 MB / 0.5092 GB, free: 34.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5839, allocations: 0 / 0.5092 GB, free: 34.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002524/0.5864, allocations: 2.322 MB / 0.5114 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002136/0.5886, allocations: 0.7671 MB / 0.5122 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.6023, allocations: 11.67 MB / 0.5236 GB, free: 19.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00171/0.604, allocations: 2.1 MB / 0.5256 GB, free: 17.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002386/0.6064, allocations: 1.348 MB / 0.5269 GB, free: 15.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006959/0.6071, allocations: 324.4 kB / 0.5273 GB, free: 15.51 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6071, allocations: 0 / 0.5273 GB, free: 15.51 MB / 378.7 MB Notification: Performance of Templates: time 0.1739/0.781, allocations: 57.53 MB / 0.5834 GB, free: 117.3 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_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: 4.511517723090947]