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.0009828/0.0009828, allocations: 83.89 kB / 21.19 MB, free: 3.387 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.0008775/0.0008775, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.963/0.963, allocations: 173.3 MB / 201.1 MB, free: 8.965 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.784e-06/1.784e-06, allocations: 0 / 268 MB, free: 6.27 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.095e-05/3.273e-05, allocations: 9.906 kB / 268 MB, free: 6.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01785/0.01788, allocations: 9.649 MB / 277.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005807/0.02369, allocations: 2.976 MB / 280.6 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007423/0.02443, allocations: 59.62 kB / 280.7 MB, free: 9.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.02594, allocations: 0.6169 MB / 281.3 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.02795, allocations: 0.8264 MB / 282.1 MB, free: 8.066 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000696/0.02865, allocations: 379.3 kB / 282.5 MB, free: 7.695 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001865/0.03051, allocations: 2.517 MB / 285 MB, free: 5.164 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.03154, allocations: 1.005 MB / 286 MB, free: 4.113 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.03353, allocations: 1.77 MB / 287.8 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001283/0.03481, allocations: 1.146 MB / 288.9 MB, free: 1.191 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000336/0.03515, allocations: 272 kB / 289.2 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004554/0.0356, allocations: 359.8 kB / 289.6 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1146/0.1502, allocations: 0.7709 MB / 290.3 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001782/0.152, allocations: 0.8664 MB / 291.2 MB, free: 18.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002638/0.1546, allocations: 1.981 MB / 293.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1546, allocations: 0 / 293.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.1546, allocations: 0.6094 kB / 293.2 MB, free: 18.8 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.156e-05/0.1547, allocations: 1.094 kB / 293.2 MB, free: 18.8 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.003807/0.1585, allocations: 2.672 MB / 295.9 MB, free: 17.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.1585, allocations: 10.98 kB / 295.9 MB, free: 17.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006977/0.1592, allocations: 436.9 kB / 296.3 MB, free: 17.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.1606, allocations: 1.26 MB / 297.6 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-05/0.1607, allocations: 142.4 kB / 297.7 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/0.1609, allocations: 198.2 kB / 297.9 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.1631, allocations: 1.553 MB / 299.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/0.1631, allocations: 9.828 kB / 299.5 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.1632, allocations: 80.53 kB / 299.5 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.795e-05/0.1633, allocations: 89.03 kB / 299.6 MB, free: 16.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.1646, allocations: 0.6999 MB / 300.3 MB, free: 16.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00549/0.1701, allocations: 6.51 MB / 306.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007107/0.1708, allocations: 0.6334 MB / 307.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/0.1716, allocations: 0.5846 MB / 308 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001513/0.1717, allocations: 49.06 kB / 308.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.1718, allocations: 50.95 kB / 308.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.564e-06/0.1718, allocations: 0 / 308.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004626/0.1764, allocations: 3.176 MB / 311.3 MB, free: 11.35 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.1764, allocations: 67.53 kB / 311.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008729/0.1773, allocations: 1.058 MB / 312.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.1773, allocations: 49.27 kB / 312.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.1777, allocations: 1.022 MB / 313.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.1778, allocations: 411 kB / 313.9 MB, free: 9.543 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.1781, allocations: 254.1 kB / 314.2 MB, free: 9.383 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.141e-05/0.1781, allocations: 0.5378 MB / 314.7 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000306/0.1785, allocations: 223.5 kB / 314.9 MB, free: 8.789 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.1789, allocations: 0.7287 MB / 315.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008244/0.1797, allocations: 1.049 MB / 316.7 MB, free: 6.965 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.1797, allocations: 7.938 kB / 316.7 MB, free: 6.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001623/0.1813, allocations: 1.317 MB / 318 MB, free: 5.695 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.1814, allocations: 8 kB / 318 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.1814, allocations: 12 kB / 318 MB, free: 5.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006602/0.182, allocations: 301.8 kB / 318.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.1826, allocations: 289.4 kB / 318.6 MB, free: 5.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/0.1857, allocations: 6.735 MB / 325.4 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004336/0.1862, allocations: 79.91 kB / 325.4 MB, free: 13.97 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.1862, allocations: 56 kB / 325.5 MB, free: 13.92 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.0003427/0.1866, allocations: 241.5 kB / 325.7 MB, free: 13.69 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.1868, allocations: 183.1 kB / 325.9 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.1882, allocations: 1.058 MB / 327 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.1882, allocations: 12 kB / 327 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1882, allocations: 4 kB / 327 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1882, allocations: 10.7 kB / 327 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003215/0.1914, allocations: 2.71 MB / 329.7 MB, free: 9.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1915, allocations: 4 kB / 329.7 MB, free: 9.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004188/0.1919, allocations: 175.2 kB / 329.9 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000751/0.1926, allocations: 354.1 kB / 330.2 MB, free: 9.148 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.1927, allocations: 34.77 kB / 330.2 MB, free: 9.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004118/0.1968, allocations: 8.467 MB / 338.7 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.1968, allocations: 4 kB / 338.7 MB, free: 212 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.1985, allocations: 1.542 MB / 340.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002976/0.1988, allocations: 243 kB / 340.5 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.199, allocations: 35.92 kB / 340.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/0.1993, allocations: 51.95 kB / 340.6 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.1994, allocations: 88.58 kB / 340.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.1995, allocations: 35.98 kB / 340.7 MB, free: 14.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005493/0.2, allocations: 0.6226 MB / 341.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2, allocations: 0 / 341.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009196/0.201, allocations: 432 kB / 341.8 MB, free: 13.12 MB / 298.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.0002647/0.2012, allocations: 183.1 kB / 341.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001502/0.2027, allocations: 1.494 MB / 343.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2027, allocations: 0.6875 kB / 343.4 MB, free: 11.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000973/0.2037, allocations: 1.266 MB / 344.7 MB, free: 10.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009276/0.2046, allocations: 372 kB / 345.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.2087, allocations: 3.492 MB / 348.5 MB, free: 6.195 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.2091, allocations: 500 kB / 349 MB, free: 5.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004898/0.2096, allocations: 259.7 kB / 349.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002368/0.2098, allocations: 92.5 kB / 349.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2098, allocations: 0 / 349.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of Templates: time 0.02677/0.2366, allocations: 23.15 MB / 372.5 MB, free: 14.57 MB / 330.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 -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.4055923991836607]