Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.001027/0.001027, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001123/0.001123, allocations: 147.1 kB / 24.89 MB, free: 8.742 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.9183/0.9183, allocations: 173.4 MB / 201.5 MB, free: 8.734 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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 268.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.243e-05/1.379e-05, allocations: 6.25 kB / 268.5 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007453/0.007466, allocations: 9.458 MB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004578/0.01204, allocations: 3.053 MB / 281.1 MB, free: 9.391 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/0.01265, allocations: 63.56 kB / 281.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.01385, allocations: 0.6325 MB / 281.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001134/0.01499, allocations: 0.8186 MB / 282.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.01542, allocations: 379.4 kB / 282.9 MB, free: 7.496 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001422/0.01684, allocations: 2.517 MB / 285.5 MB, free: 4.965 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008195/0.01766, allocations: 1.037 MB / 286.5 MB, free: 3.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.01901, allocations: 1.75 MB / 288.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009699/0.01998, allocations: 1.153 MB / 289.4 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002675/0.02024, allocations: 272 kB / 289.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.02065, allocations: 363.8 kB / 290 MB, free: 340 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1117/0.1323, allocations: 0.7703 MB / 290.8 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.1339, allocations: 0.8705 MB / 291.7 MB, free: 19.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002518/0.1364, allocations: 1.984 MB / 293.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1364, allocations: 1.062 kB / 293.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1365, allocations: 0 / 293.6 MB, free: 18.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.479e-05/0.1365, allocations: 0 / 293.6 MB, free: 18.99 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.003569/0.1401, allocations: 2.386 MB / 296 MB, free: 17.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1401, allocations: 11.14 kB / 296 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007778/0.1409, allocations: 345.5 kB / 296.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/0.1423, allocations: 0.9291 MB / 297.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-05/0.1424, allocations: 144.5 kB / 297.4 MB, free: 17.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.1427, allocations: 193.9 kB / 297.6 MB, free: 17.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.1447, allocations: 1.452 MB / 299.1 MB, free: 17.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.332e-05/0.1448, allocations: 17.72 kB / 299.1 MB, free: 17.26 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.1449, allocations: 77.94 kB / 299.2 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.594e-05/0.145, allocations: 89.66 kB / 299.3 MB, free: 17.25 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.1462, allocations: 0.5473 MB / 299.8 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006275/0.1525, allocations: 5.21 MB / 305 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006529/0.1531, allocations: 0.5675 MB / 305.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000738/0.1539, allocations: 0.5171 MB / 306.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.154, allocations: 47.36 kB / 306.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.154, allocations: 42.44 kB / 306.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.405e-06/0.154, allocations: 0 / 306.2 MB, free: 14.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.00461/0.1586, allocations: 2.569 MB / 308.8 MB, free: 13.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.1587, allocations: 66.47 kB / 308.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.1592, allocations: 0.8859 MB / 309.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.1592, allocations: 45.27 kB / 309.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.1595, allocations: 0.7926 MB / 310.6 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.1596, allocations: 404.3 kB / 310.9 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.1598, allocations: 241.4 kB / 311.2 MB, free: 12.6 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.1599, allocations: 359.2 kB / 311.5 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.16, allocations: 158.8 kB / 311.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002695/0.1603, allocations: 0.5125 MB / 312.2 MB, free: 11.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005666/0.1609, allocations: 0.8183 MB / 313 MB, free: 11.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1609, allocations: 2.312 kB / 313 MB, free: 11.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001047/0.1619, allocations: 0.9791 MB / 314 MB, free: 10.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1619, allocations: 10.97 kB / 314 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.162, allocations: 12 kB / 314 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/0.1625, allocations: 283.3 kB / 314.3 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.1631, allocations: 299.5 kB / 314.6 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.1652, allocations: 4.805 MB / 319.4 MB, free: 5.336 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003761/0.1656, allocations: 47.94 kB / 319.4 MB, free: 5.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.1656, allocations: 44 kB / 319.5 MB, free: 5.246 MB / 266.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.0003004/0.1659, allocations: 203.2 kB / 319.7 MB, free: 5.055 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.1661, allocations: 115.9 kB / 319.8 MB, free: 4.941 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008721/0.1669, allocations: 0.8329 MB / 320.6 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.167, allocations: 12 kB / 320.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.167, allocations: 4 kB / 320.6 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.167, allocations: 3.984 kB / 320.7 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/0.169, allocations: 1.976 MB / 322.6 MB, free: 2.219 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.169, allocations: 4 kB / 322.6 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/0.1694, allocations: 188.7 kB / 322.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006226/0.17, allocations: 370.6 kB / 323.2 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.464e-05/0.1701, allocations: 27.98 kB / 323.2 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003066/0.1731, allocations: 6.006 MB / 329.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1732, allocations: 6.625 kB / 329.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.1744, allocations: 1.204 MB / 330.4 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.1747, allocations: 181.8 kB / 330.6 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.963e-05/0.1748, allocations: 24 kB / 330.6 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003058/0.1751, allocations: 47.97 kB / 330.7 MB, free: 9.879 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.1752, allocations: 88.58 kB / 330.8 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.249e-05/0.1753, allocations: 24 kB / 330.8 MB, free: 9.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000328/0.1756, allocations: 439.4 kB / 331.2 MB, free: 9.383 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1756, allocations: 0 / 331.2 MB, free: 9.383 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009251/0.1765, allocations: 427.9 kB / 331.6 MB, free: 8.965 MB / 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.0002304/0.1768, allocations: 174.9 kB / 331.8 MB, free: 8.793 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.1779, allocations: 1.127 MB / 332.9 MB, free: 7.684 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.951e-05/0.1779, allocations: 22.38 kB / 332.9 MB, free: 7.66 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007916/0.1787, allocations: 0.9178 MB / 333.9 MB, free: 6.719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.1796, allocations: 360 kB / 334.2 MB, free: 6.375 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.1833, allocations: 3.261 MB / 337.5 MB, free: 3.086 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.1836, allocations: 444 kB / 337.9 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004115/0.1841, allocations: 175.9 kB / 338.1 MB, free: 2.449 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005581/0.1846, allocations: 357.1 kB / 338.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1846, allocations: 0 / 338.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of Templates: time 0.0269/0.2115, allocations: 23.71 MB / 362.1 MB, free: 10.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.079385980963707]