Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009441/0.0009441, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009352/0.0009352, allocations: 148.2 kB / 24.81 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9731/0.9731, allocations: 173.4 MB / 201.4 MB, free: 9.215 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 268.4 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.381e-05/1.532e-05, allocations: 6.25 kB / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz): time 0.009748/0.009763, allocations: 13.08 MB / 281.5 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005974/0.01574, allocations: 4.314 MB / 285.8 MB, free: 4.699 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000906/0.01664, allocations: 99.38 kB / 285.9 MB, free: 4.602 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.01825, allocations: 1.005 MB / 286.9 MB, free: 3.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00208/0.02033, allocations: 1.386 MB / 288.3 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.02141, allocations: 0.8718 MB / 289.2 MB, free: 1.324 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1101/0.1315, allocations: 4.255 MB / 293.4 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002308/0.1338, allocations: 1.738 MB / 295.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003664/0.1375, allocations: 2.968 MB / 298.1 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.1402, allocations: 1.909 MB / 300.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009884/0.1411, allocations: 0.5034 MB / 300.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.1424, allocations: 0.6879 MB / 301.2 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007131/0.1431, allocations: 1.151 MB / 302.4 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001437/0.1446, allocations: 1.446 MB / 303.8 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002899/0.1475, allocations: 3.436 MB / 307.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1475, allocations: 0.625 kB / 307.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1475, allocations: 0 / 307.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.782e-05/0.1475, allocations: 3.344 kB / 307.3 MB, free: 12.02 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.005926/0.1534, allocations: 4.504 MB / 311.8 MB, free: 9.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1535, allocations: 11.64 kB / 311.8 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003151/0.1566, allocations: 1.164 MB / 313 MB, free: 9.168 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002311/0.1589, allocations: 2.225 MB / 315.2 MB, free: 7.496 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.1591, allocations: 238.8 kB / 315.4 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003308/0.1594, allocations: 326.2 kB / 315.7 MB, free: 6.945 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002825/0.1622, allocations: 2.383 MB / 318.1 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.808e-05/0.1623, allocations: 10.61 kB / 318.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.1625, allocations: 131.9 kB / 318.3 MB, free: 4.484 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.1626, allocations: 150.4 kB / 318.4 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.1642, allocations: 0.9475 MB / 319.4 MB, free: 3.387 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.1763, allocations: 11 MB / 330.4 MB, free: 8.762 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.179, allocations: 1.814 MB / 332.2 MB, free: 7.125 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.1801, allocations: 0.6929 MB / 332.9 MB, free: 6.449 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003138/0.1832, allocations: 2.242 MB / 335.1 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.1833, allocations: 56.2 kB / 335.2 MB, free: 4.195 MB / 282.7 MB Notification: Performance of pre-optimization done (n=134): time 2.825e-06/0.1833, allocations: 0 / 335.2 MB, free: 4.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=137): time 0.005417/0.1887, allocations: 2.94 MB / 338.1 MB, free: 1.258 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.1887, allocations: 68.72 kB / 338.2 MB, free: 1.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.1901, allocations: 1.367 MB / 339.5 MB, free: 12 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.679e-05/0.1902, allocations: 49.7 kB / 339.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009062/0.1911, allocations: 1.585 MB / 341.2 MB, free: 14.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/0.1914, allocations: 0.506 MB / 341.7 MB, free: 13.95 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.1918, allocations: 350.8 kB / 342 MB, free: 13.64 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.1919, allocations: 480.7 kB / 342.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.1923, allocations: 191.8 kB / 342.7 MB, free: 12.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000728/0.193, allocations: 0.9617 MB / 343.6 MB, free: 11.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009376/0.1939, allocations: 1.265 MB / 344.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.1939, allocations: 8 kB / 344.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.001503/0.1954, allocations: 1.462 MB / 346.4 MB, free: 8.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1955, allocations: 20.59 kB / 346.4 MB, free: 8.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.1955, allocations: 16 kB / 346.4 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005694/0.196, allocations: 302.8 kB / 346.7 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/0.1968, allocations: 362.8 kB / 347.1 MB, free: 8.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/0.2008, allocations: 8.744 MB / 355.8 MB, free: 15.17 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.2012, allocations: 55.95 kB / 355.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.2013, allocations: 67.98 kB / 355.9 MB, free: 15.05 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.0004137/0.2017, allocations: 267.8 kB / 356.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.2019, allocations: 226.8 kB / 356.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001428/0.2034, allocations: 1.237 MB / 357.6 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.2034, allocations: 12 kB / 357.7 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.2034, allocations: 8 kB / 357.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.121e-05/0.2034, allocations: 7.969 kB / 357.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/0.2076, allocations: 2.868 MB / 360.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2076, allocations: 192 / 360.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004041/0.208, allocations: 162.8 kB / 360.7 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008429/0.2088, allocations: 462.8 kB / 361.1 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/0.2089, allocations: 39.98 kB / 361.2 MB, free: 9.965 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006587/0.2155, allocations: 13.53 MB / 374.7 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2155, allocations: 3.938 kB / 374.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.2176, allocations: 1.649 MB / 376.4 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.218, allocations: 294.7 kB / 376.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.2182, allocations: 28 kB / 376.7 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003729/0.2185, allocations: 59.97 kB / 376.7 MB, free: 9.91 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001987/0.2187, allocations: 112.6 kB / 376.9 MB, free: 9.805 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.2188, allocations: 31.98 kB / 376.9 MB, free: 9.773 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006907/0.2195, allocations: 0.7217 MB / 377.6 MB, free: 9.121 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2195, allocations: 0 / 377.6 MB, free: 9.121 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001566/0.221, allocations: 0.5742 MB / 378.2 MB, free: 8.547 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.0002709/0.2213, allocations: 170.7 kB / 378.3 MB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.2229, allocations: 1.672 MB / 380 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2229, allocations: 0 / 380 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.2241, allocations: 1.693 MB / 381.7 MB, free: 4.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.2252, allocations: 463.8 kB / 382.2 MB, free: 4.516 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/0.2316, allocations: 5.037 MB / 387.2 MB, free: 15.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000652/0.2322, allocations: 0.7859 MB / 388 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005933/0.2328, allocations: 235.5 kB / 388.2 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006962/0.2335, allocations: 0.4901 MB / 388.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/0.2335, allocations: 4 kB / 388.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of Templates: time 0.03853/0.272, allocations: 29.08 MB / 417.8 MB, free: 1.371 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.399277498945594]