Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.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.0009076/0.0009076, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001326/0.001326, allocations: 169.9 kB / 24.91 MB, free: 9.188 MB / 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.8921/0.8921, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 273.5 MB, free: 1.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.118e-05, allocations: 2.312 kB / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01023/0.01024, allocations: 13.68 MB / 287.1 MB, free: 3.539 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1007/0.1109, allocations: 4.765 MB / 291.9 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.1125, allocations: 102.8 kB / 292 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.1144, allocations: 1.043 MB / 293.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.1167, allocations: 1.38 MB / 294.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.118, allocations: 0.9388 MB / 295.4 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003201/0.1212, allocations: 4.345 MB / 299.7 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001704/0.1229, allocations: 1.791 MB / 301.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.1257, allocations: 2.977 MB / 304.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001726/0.1274, allocations: 1.919 MB / 306.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004676/0.1279, allocations: 0.5022 MB / 306.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007218/0.1286, allocations: 0.7154 MB / 307.6 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004912/0.1291, allocations: 1.148 MB / 308.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000874/0.13, allocations: 1.455 MB / 310.2 MB, free: 9.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001887/0.1319, allocations: 3.454 MB / 313.7 MB, free: 7.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1319, allocations: 4 kB / 313.7 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1319, allocations: 0 / 313.7 MB, free: 7.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.382e-05/0.1319, allocations: 3.281 kB / 313.7 MB, free: 7.078 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.004015/0.1359, allocations: 4.289 MB / 318 MB, free: 2.965 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.54e-05/0.1359, allocations: 12.03 kB / 318 MB, free: 2.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.1381, allocations: 1.114 MB / 319.1 MB, free: 1.859 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.1397, allocations: 1.486 MB / 320.6 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.102e-05/0.1398, allocations: 246.7 kB / 320.8 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000289/0.1401, allocations: 322.2 kB / 321.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002361/0.1425, allocations: 2.44 MB / 323.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-05/0.1425, allocations: 3.281 kB / 323.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.1427, allocations: 131.9 kB / 323.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.549e-05/0.1428, allocations: 154.4 kB / 323.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001544/0.1443, allocations: 0.957 MB / 324.8 MB, free: 12.24 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008491/0.1528, allocations: 8.706 MB / 333.5 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.1548, allocations: 1.673 MB / 335.2 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007304/0.1556, allocations: 0.6274 MB / 335.8 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00235/0.1579, allocations: 1.828 MB / 337.7 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.1579, allocations: 47.88 kB / 337.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 2.846e-06/0.1579, allocations: 0 / 337.7 MB, free: 15.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.004109/0.162, allocations: 2.719 MB / 340.4 MB, free: 13.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.1621, allocations: 68.72 kB / 340.5 MB, free: 13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007976/0.1629, allocations: 1.178 MB / 341.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.178e-05/0.1629, allocations: 49.64 kB / 341.7 MB, free: 11.99 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004942/0.1634, allocations: 1.284 MB / 343 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002275/0.1637, allocations: 0.4885 MB / 343.5 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.1639, allocations: 308.5 kB / 343.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.928e-05/0.164, allocations: 305.1 kB / 344.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.1643, allocations: 202.7 kB / 344.3 MB, free: 9.535 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004532/0.1647, allocations: 0.7153 MB / 345 MB, free: 8.637 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008344/0.1656, allocations: 1.065 MB / 346.1 MB, free: 7.453 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1656, allocations: 4 kB / 346.1 MB, free: 7.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001403/0.167, allocations: 1.18 MB / 347.2 MB, free: 6.266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.167, allocations: 12.34 kB / 347.3 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.167, allocations: 20 kB / 347.3 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005126/0.1675, allocations: 279.7 kB / 347.6 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/0.1682, allocations: 351.5 kB / 347.9 MB, free: 5.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/0.1714, allocations: 6.417 MB / 354.3 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/0.1718, allocations: 63.88 kB / 354.4 MB, free: 14.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.172, allocations: 59.98 kB / 354.4 MB, free: 14.75 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003899/0.1724, allocations: 228.2 kB / 354.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.1726, allocations: 147.8 kB / 354.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.1738, allocations: 1.038 MB / 355.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.1738, allocations: 12 kB / 355.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1739, allocations: 11.94 kB / 355.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1739, allocations: 7.984 kB / 355.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.1764, allocations: 2.209 MB / 358.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1764, allocations: 0 / 358.1 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.1768, allocations: 155.8 kB / 358.2 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007524/0.1776, allocations: 433.8 kB / 358.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.1776, allocations: 35.98 kB / 358.7 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005147/0.1828, allocations: 9.946 MB / 368.6 MB, free: 220 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.1828, allocations: 3.938 kB / 368.6 MB, free: 216 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/0.1845, allocations: 1.377 MB / 370 MB, free: 14.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.1848, allocations: 202.7 kB / 370.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.1849, allocations: 39.94 kB / 370.3 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.1853, allocations: 43.98 kB / 370.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.1855, allocations: 109.1 kB / 370.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.1855, allocations: 28 kB / 370.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004782/0.186, allocations: 0.5755 MB / 371 MB, free: 13.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.186, allocations: 0 / 371 MB, free: 13.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001212/0.1872, allocations: 0.5742 MB / 371.6 MB, free: 13.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0002361/0.1874, allocations: 166.8 kB / 371.7 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.1887, allocations: 1.356 MB / 373.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.674e-05/0.1887, allocations: 25.81 kB / 373.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009606/0.1896, allocations: 1.307 MB / 374.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009907/0.1906, allocations: 484.6 kB / 374.9 MB, free: 9.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/0.1957, allocations: 4.788 MB / 379.7 MB, free: 5.086 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.1963, allocations: 0.6343 MB / 380.3 MB, free: 4.438 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005049/0.1968, allocations: 239.7 kB / 380.6 MB, free: 4.199 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006672/0.1974, allocations: 451.1 kB / 381 MB, free: 3.75 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.1974, allocations: 0 / 381 MB, free: 3.75 MB / 330.7 MB Notification: Performance of Templates: time 0.03576/0.2332, allocations: 29.62 MB / 410.6 MB, free: 6.652 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.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.36371588986367]