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.0009602/0.0009602, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001032/0.001032, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.929/0.929, allocations: 177 MB / 205.2 MB, free: 5.047 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.212e-06/1.212e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.448e-05, allocations: 5.266 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007394/0.007418, allocations: 9.513 MB / 283 MB, free: 7.453 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.0112, allocations: 3.134 MB / 286.1 MB, free: 4.309 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005486/0.01175, allocations: 59.62 kB / 286.1 MB, free: 4.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.01277, allocations: 0.6403 MB / 286.8 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.01399, allocations: 0.8224 MB / 287.6 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.01446, allocations: 399.2 kB / 288 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1282/0.1426, allocations: 2.53 MB / 290.5 MB, free: 16.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.1442, allocations: 1.027 MB / 291.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.1468, allocations: 1.764 MB / 293.3 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001573/0.1484, allocations: 1.152 MB / 294.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004696/0.1489, allocations: 272.9 kB / 294.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006892/0.1496, allocations: 375.7 kB / 295.1 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005998/0.1502, allocations: 0.7791 MB / 295.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009673/0.1511, allocations: 0.8656 MB / 296.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.1532, allocations: 2.003 MB / 298.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1532, allocations: 1.094 kB / 298.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1532, allocations: 0 / 298.8 MB, free: 15.78 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.354e-05/0.1533, allocations: 0 / 298.8 MB, free: 15.78 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.003136/0.1564, allocations: 2.406 MB / 301.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1564, allocations: 14.02 kB / 301.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007695/0.1572, allocations: 363 kB / 301.5 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.1586, allocations: 0.9386 MB / 302.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.1587, allocations: 150.9 kB / 302.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/0.1589, allocations: 194 kB / 302.8 MB, free: 13.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.1607, allocations: 1.45 MB / 304.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.397e-05/0.1608, allocations: 5.094 kB / 304.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.1609, allocations: 81.44 kB / 304.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-05/0.161, allocations: 94.59 kB / 304.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/0.1617, allocations: 0.549 MB / 305 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/0.1658, allocations: 5.216 MB / 310.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.1663, allocations: 0.5667 MB / 310.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.1668, allocations: 0.5142 MB / 311.3 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001045/0.1669, allocations: 38.48 kB / 311.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1669, allocations: 45.41 kB / 311.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.073e-06/0.1669, allocations: 0 / 311.4 MB, free: 9.742 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.00359/0.1705, allocations: 2.57 MB / 313.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.969e-05/0.1706, allocations: 64.41 kB / 314 MB, free: 7.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004556/0.171, allocations: 0.8962 MB / 314.9 MB, free: 6.438 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.484e-05/0.1711, allocations: 45.7 kB / 314.9 MB, free: 6.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001962/0.1712, allocations: 0.7983 MB / 315.7 MB, free: 5.629 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.1714, allocations: 400.2 kB / 316.1 MB, free: 5.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.1716, allocations: 241.6 kB / 316.4 MB, free: 5.051 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.1716, allocations: 364.1 kB / 316.7 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.1718, allocations: 163.6 kB / 316.9 MB, free: 4.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.172, allocations: 0.5144 MB / 317.4 MB, free: 3.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005395/0.1726, allocations: 0.8172 MB / 318.2 MB, free: 3.039 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1726, allocations: 3.938 kB / 318.2 MB, free: 3.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.0009836/0.1736, allocations: 0.9641 MB / 319.2 MB, free: 2.125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1736, allocations: 12 kB / 319.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1736, allocations: 12 kB / 319.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000509/0.1741, allocations: 277.9 kB / 319.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005493/0.1747, allocations: 310.7 kB / 319.8 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/0.1773, allocations: 4.803 MB / 324.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.1777, allocations: 40 kB / 324.6 MB, free: 12.51 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.1777, allocations: 43.98 kB / 324.7 MB, free: 12.47 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.0002741/0.178, allocations: 202 kB / 324.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.1782, allocations: 123.9 kB / 325 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.1792, allocations: 0.8401 MB / 325.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1792, allocations: 8 kB / 325.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1793, allocations: 12.06 kB / 325.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1793, allocations: 3.984 kB / 325.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.1815, allocations: 1.971 MB / 327.8 MB, free: 9.426 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1815, allocations: 4 kB / 327.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.182, allocations: 195.3 kB / 328 MB, free: 9.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006838/0.1827, allocations: 354.3 kB / 328.3 MB, free: 8.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.1827, allocations: 27.98 kB / 328.4 MB, free: 8.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003459/0.1862, allocations: 6.006 MB / 334.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.1862, allocations: 7.984 kB / 334.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.1875, allocations: 1.21 MB / 335.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.1878, allocations: 190.9 kB / 335.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.534e-05/0.1879, allocations: 24 kB / 335.8 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003065/0.1882, allocations: 39.98 kB / 335.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.1883, allocations: 88.02 kB / 335.9 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.1884, allocations: 31.92 kB / 336 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003348/0.1887, allocations: 439.1 kB / 336.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1887, allocations: 0 / 336.4 MB, free: 0.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008898/0.1896, allocations: 435.9 kB / 336.8 MB, free: 160 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.0002761/0.1899, allocations: 166.8 kB / 337 MB, free: 15.99 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001163/0.191, allocations: 1.128 MB / 338.1 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.878e-05/0.191, allocations: 17.5 kB / 338.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008024/0.1918, allocations: 0.9242 MB / 339.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008481/0.1927, allocations: 371.1 kB / 339.4 MB, free: 13.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.1965, allocations: 3.276 MB / 342.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003458/0.1968, allocations: 440.1 kB / 343.1 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000475/0.1973, allocations: 175.9 kB / 343.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/0.1978, allocations: 368 kB / 343.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1978, allocations: 0 / 343.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of Templates: time 0.02812/0.2259, allocations: 23.84 MB / 367.5 MB, free: 1.883 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 -s gbode -gbm=radauIIA3 -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.2589562200009823]