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.001372/0.001372, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001548/0.001548, 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.9355/0.9355, allocations: 177.1 MB / 205 MB, free: 5.59 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.463e-06/1.463e-06, allocations: 0 / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127e-05/1.273e-05, allocations: 2.312 kB / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.01077/0.01079, allocations: 14.15 MB / 287.2 MB, free: 3.266 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1052/0.116, allocations: 4.603 MB / 291.8 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.1177, allocations: 105.4 kB / 291.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.1195, allocations: 1.016 MB / 292.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.1221, allocations: 1.374 MB / 294.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.1234, allocations: 0.9433 MB / 295.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003573/0.127, allocations: 4.333 MB / 299.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.129, allocations: 1.747 MB / 301.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003115/0.1321, allocations: 2.982 MB / 304.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001697/0.1338, allocations: 1.896 MB / 306.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005218/0.1343, allocations: 0.5033 MB / 306.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007921/0.1351, allocations: 0.7183 MB / 307.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004891/0.1356, allocations: 1.142 MB / 308.5 MB, free: 9.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009312/0.1365, allocations: 1.457 MB / 310 MB, free: 9.188 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.1386, allocations: 3.46 MB / 313.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.1386, allocations: 0 / 313.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1386, allocations: 0 / 313.4 MB, free: 7.105 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.1386, allocations: 4 kB / 313.4 MB, free: 7.102 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.004538/0.1431, allocations: 4.649 MB / 318.1 MB, free: 2.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1432, allocations: 16.02 kB / 318.1 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.1455, allocations: 1.236 MB / 319.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.1478, allocations: 2.323 MB / 321.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.1479, allocations: 245.2 kB / 321.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.1482, allocations: 326.3 kB / 322.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003227/0.1514, allocations: 2.603 MB / 324.8 MB, free: 11.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-05/0.1514, allocations: 3.953 kB / 324.8 MB, free: 11.92 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001904/0.1516, allocations: 139.3 kB / 325 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.1517, allocations: 153.7 kB / 325.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.154, allocations: 1.22 MB / 326.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.165, allocations: 11.09 MB / 337.4 MB, free: 15.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/0.1676, allocations: 2.013 MB / 339.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.1687, allocations: 0.7746 MB / 340.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002625/0.1713, allocations: 2.331 MB / 342.5 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1713, allocations: 50.7 kB / 342.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=134): time 2.044e-06/0.1713, allocations: 0 / 342.6 MB, free: 10.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=137): time 0.005258/0.1766, allocations: 3.561 MB / 346.2 MB, free: 6.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.1766, allocations: 68.66 kB / 346.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.1778, allocations: 1.422 MB / 347.6 MB, free: 5.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.1779, allocations: 53.7 kB / 347.7 MB, free: 5.082 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006858/0.1786, allocations: 1.585 MB / 349.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.1788, allocations: 0.5001 MB / 349.8 MB, free: 3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003169/0.1791, allocations: 341.1 kB / 350.1 MB, free: 2.66 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.1792, allocations: 480.7 kB / 350.6 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/0.1799, allocations: 251.8 kB / 350.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007132/0.1806, allocations: 1.018 MB / 351.8 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001211/0.1818, allocations: 1.363 MB / 353.2 MB, free: 14.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.1818, allocations: 8 kB / 353.2 MB, free: 14.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001852/0.1836, allocations: 1.6 MB / 354.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1837, allocations: 14.53 kB / 354.8 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.1837, allocations: 20 kB / 354.9 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000603/0.1843, allocations: 318.1 kB / 355.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007165/0.185, allocations: 371.4 kB / 355.5 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/0.1894, allocations: 8.9 MB / 364.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.1899, allocations: 71.92 kB / 364.5 MB, free: 3.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/0.1903, allocations: 72 kB / 364.6 MB, free: 3.062 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.0004206/0.1907, allocations: 272.3 kB / 364.8 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.1909, allocations: 230.8 kB / 365.1 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001736/0.1926, allocations: 1.335 MB / 366.4 MB, free: 1.188 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.1926, allocations: 15.94 kB / 366.4 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1926, allocations: 8 kB / 366.4 MB, free: 1.164 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.1926, allocations: 7.969 kB / 366.4 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003899/0.1965, allocations: 3.515 MB / 369.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.1965, allocations: 4 kB / 369.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004166/0.197, allocations: 171.8 kB / 370.1 MB, free: 13.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009013/0.1979, allocations: 468.7 kB / 370.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-05/0.1979, allocations: 47.91 kB / 370.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007056/0.205, allocations: 13.8 MB / 384.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.205, allocations: 3.938 kB / 384.4 MB, free: 14.37 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.2073, allocations: 1.807 MB / 386.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/0.2077, allocations: 322.7 kB / 386.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.2078, allocations: 32 kB / 386.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.2082, allocations: 59.95 kB / 386.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.2084, allocations: 117 kB / 386.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-05/0.2085, allocations: 39.98 kB / 386.8 MB, free: 11.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007495/0.2092, allocations: 0.8012 MB / 387.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2092, allocations: 4 kB / 387.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001155/0.2104, allocations: 0.5742 MB / 388.2 MB, free: 10.55 MB / 346.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.0002435/0.2106, allocations: 182.7 kB / 388.3 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.2123, allocations: 1.761 MB / 390.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2123, allocations: 0 / 390.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.2135, allocations: 1.751 MB / 391.9 MB, free: 6.676 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.2146, allocations: 472.1 kB / 392.3 MB, free: 6.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/0.2203, allocations: 5.057 MB / 397.4 MB, free: 1.102 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005783/0.2209, allocations: 0.7904 MB / 398.2 MB, free: 300 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006453/0.2215, allocations: 335.6 kB / 398.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.2217, allocations: 116.4 kB / 398.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.2218, allocations: 0 / 398.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of Templates: time 0.03542/0.2572, allocations: 28.99 MB / 427.6 MB, free: 3.312 MB / 378.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.6585577810183167]