Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009229/0.0009229, allocations: 88.86 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001005/0.001005, allocations: 161.8 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8765/0.8765, allocations: 177 MB / 205.2 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.557e-05, allocations: 2.312 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01841/0.01842, allocations: 9.472 MB / 282.9 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00976/0.02818, allocations: 3.146 MB / 286 MB, free: 4.523 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.02937, allocations: 59.62 kB / 286.1 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.03136, allocations: 0.6325 MB / 286.7 MB, free: 3.828 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.03311, allocations: 0.8264 MB / 287.5 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.03376, allocations: 399.2 kB / 287.9 MB, free: 2.605 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001726/0.03548, allocations: 2.525 MB / 290.4 MB, free: 68 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09795/0.1334, allocations: 1.026 MB / 291.5 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002792/0.1362, allocations: 1.771 MB / 293.2 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.138, allocations: 1.151 MB / 294.4 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006431/0.1386, allocations: 271.8 kB / 294.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007465/0.1394, allocations: 369.2 kB / 295 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006499/0.14, allocations: 0.7765 MB / 295.8 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.1413, allocations: 0.8619 MB / 296.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002449/0.1438, allocations: 2.006 MB / 298.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1438, allocations: 4.188 kB / 298.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1438, allocations: 0 / 298.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.518e-05/0.1438, allocations: 0.6562 kB / 298.7 MB, free: 15.86 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003547/0.1474, allocations: 2.403 MB / 301.1 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1474, allocations: 12.83 kB / 301.1 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007671/0.1482, allocations: 359.9 kB / 301.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.1496, allocations: 0.9465 MB / 302.4 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/0.1497, allocations: 141.9 kB / 302.5 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002479/0.1499, allocations: 197.5 kB / 302.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.1517, allocations: 1.453 MB / 304.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.467e-05/0.1517, allocations: 3.422 kB / 304.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.1518, allocations: 91.11 kB / 304.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.09e-05/0.1519, allocations: 93.34 kB / 304.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009573/0.1529, allocations: 0.5462 MB / 304.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00553/0.1584, allocations: 5.209 MB / 310.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006272/0.159, allocations: 0.5701 MB / 310.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007345/0.1598, allocations: 0.51 MB / 311.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.1599, allocations: 47.38 kB / 311.2 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.1599, allocations: 42.84 kB / 311.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.545e-06/0.1599, allocations: 0 / 311.3 MB, free: 9.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004824/0.1647, allocations: 2.567 MB / 313.8 MB, free: 7.445 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.1648, allocations: 68.34 kB / 313.9 MB, free: 7.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.1654, allocations: 0.8973 MB / 314.8 MB, free: 6.621 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.1654, allocations: 41.7 kB / 314.8 MB, free: 6.574 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.1657, allocations: 0.7986 MB / 315.6 MB, free: 5.816 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/0.1659, allocations: 407.8 kB / 316 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.1661, allocations: 246.3 kB / 316.3 MB, free: 5.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.12e-05/0.1662, allocations: 359.2 kB / 316.6 MB, free: 4.898 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.1664, allocations: 162.8 kB / 316.8 MB, free: 4.738 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003352/0.1668, allocations: 0.5106 MB / 317.3 MB, free: 4.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/0.1675, allocations: 0.8208 MB / 318.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1675, allocations: 7.938 kB / 318.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001372/0.1689, allocations: 0.963 MB / 319.1 MB, free: 2.305 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1689, allocations: 8 kB / 319.1 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.1689, allocations: 12 kB / 319.1 MB, free: 2.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006795/0.1696, allocations: 277.4 kB / 319.4 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.1702, allocations: 276.5 kB / 319.7 MB, free: 1.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003201/0.1734, allocations: 4.787 MB / 324.4 MB, free: 12.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009281/0.1744, allocations: 47.98 kB / 324.5 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/0.1744, allocations: 45.25 kB / 324.5 MB, free: 12.69 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003595/0.1748, allocations: 197.7 kB / 324.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.175, allocations: 123.9 kB / 324.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001353/0.1764, allocations: 0.8316 MB / 325.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.1764, allocations: 11.94 kB / 325.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1764, allocations: 8 kB / 325.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.1764, allocations: 7.984 kB / 325.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002485/0.1789, allocations: 1.977 MB / 327.7 MB, free: 9.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1789, allocations: 4 kB / 327.7 MB, free: 9.648 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003864/0.1793, allocations: 163.2 kB / 327.8 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006664/0.1799, allocations: 353.3 kB / 328.2 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.932e-05/0.18, allocations: 27.98 kB / 328.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003187/0.1832, allocations: 6.003 MB / 334.2 MB, free: 2.832 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.1832, allocations: 4 kB / 334.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.1847, allocations: 1.205 MB / 335.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002598/0.185, allocations: 183 kB / 335.6 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.1851, allocations: 31.92 kB / 335.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.1854, allocations: 39.98 kB / 335.7 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/0.1855, allocations: 88.39 kB / 335.8 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.1855, allocations: 27.98 kB / 335.8 MB, free: 1.234 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003216/0.1859, allocations: 443.8 kB / 336.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1859, allocations: 0 / 336.2 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008051/0.1867, allocations: 431.9 kB / 336.7 MB, free: 436 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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): 81 * 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 {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002281/0.1869, allocations: 177.5 kB / 336.8 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.1879, allocations: 1.127 MB / 338 MB, free: 15.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.877e-05/0.188, allocations: 17.5 kB / 338 MB, free: 15.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.1887, allocations: 0.9215 MB / 338.9 MB, free: 14.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008145/0.1895, allocations: 369.1 kB / 339.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.193, allocations: 3.271 MB / 342.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.1933, allocations: 447.4 kB / 343 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003891/0.1937, allocations: 175.8 kB / 343.1 MB, free: 9.902 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005262/0.1943, allocations: 357.1 kB / 343.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.1943, allocations: 0 / 343.5 MB, free: 9.551 MB / 298.7 MB Notification: Performance of Templates: time 0.02547/0.2197, allocations: 23.71 MB / 367.2 MB, free: 2.293 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/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.204509616829455]