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.00094/0.00094, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.0009572/0.0009572, allocations: 141.6 kB / 24.97 MB, free: 8.906 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.9324/0.9324, allocations: 173.4 MB / 201.5 MB, free: 9.328 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 2.585e-06/2.585e-06, allocations: 0 / 268.1 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.885e-05, allocations: 6.312 kB / 268.1 MB, free: 6.703 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01196/0.01199, allocations: 9.614 MB / 277.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004409/0.01639, allocations: 2.964 MB / 280.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007733/0.01717, allocations: 59.62 kB / 280.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.01828, allocations: 0.6208 MB / 281.4 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.01959, allocations: 0.8225 MB / 282.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005249/0.02012, allocations: 375.3 kB / 282.5 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002075/0.02219, allocations: 2.508 MB / 285.1 MB, free: 5.668 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009339/0.02313, allocations: 1.009 MB / 286.1 MB, free: 4.613 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.02435, allocations: 1.626 MB / 287.7 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.02541, allocations: 1.204 MB / 288.9 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.02564, allocations: 280 kB / 289.2 MB, free: 1.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.02603, allocations: 367.8 kB / 289.5 MB, free: 1.145 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007174/0.02675, allocations: 0.818 MB / 290.3 MB, free: 332 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1119/0.1387, allocations: 0.8789 MB / 291.2 MB, free: 18.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.141, allocations: 2.018 MB / 293.2 MB, free: 18.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.141, allocations: 0.8125 kB / 293.2 MB, free: 18.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.141, allocations: 0 / 293.2 MB, free: 18.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.383e-05/0.1411, allocations: 0 / 293.2 MB, free: 18.51 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.003047/0.1441, allocations: 2.717 MB / 296 MB, free: 17.33 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.1442, allocations: 10.55 kB / 296 MB, free: 17.33 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007307/0.1449, allocations: 428.7 kB / 296.4 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.1463, allocations: 1.258 MB / 297.6 MB, free: 16.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.959e-05/0.1464, allocations: 143.3 kB / 297.8 MB, free: 16.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.1466, allocations: 198.4 kB / 298 MB, free: 16.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.1488, allocations: 1.558 MB / 299.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.154e-05/0.1489, allocations: 7 kB / 299.5 MB, free: 16.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.149, allocations: 80.19 kB / 299.6 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.474e-05/0.1491, allocations: 89.42 kB / 299.7 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.1505, allocations: 0.7117 MB / 300.4 MB, free: 16.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005685/0.1562, allocations: 6.606 MB / 307 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/0.1569, allocations: 0.5961 MB / 307.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007914/0.1576, allocations: 0.5996 MB / 308.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.1578, allocations: 49.67 kB / 308.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.1578, allocations: 45.27 kB / 308.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.335e-06/0.1578, allocations: 0 / 308.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004579/0.1624, allocations: 3.209 MB / 311.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.1624, allocations: 59.94 kB / 311.6 MB, free: 11.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008117/0.1632, allocations: 1.073 MB / 312.7 MB, free: 10.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.1633, allocations: 48.78 kB / 312.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003189/0.1636, allocations: 1.017 MB / 313.7 MB, free: 9.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.1638, allocations: 409.8 kB / 314.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.164, allocations: 254.1 kB / 314.4 MB, free: 9.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.134e-05/0.1641, allocations: 0.5402 MB / 314.9 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003356/0.1644, allocations: 223.5 kB / 315.1 MB, free: 8.574 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.1649, allocations: 0.7295 MB / 315.9 MB, free: 7.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008352/0.1657, allocations: 1.063 MB / 316.9 MB, free: 6.664 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1657, allocations: 0 / 316.9 MB, free: 6.664 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001475/0.1672, allocations: 1.315 MB / 318.2 MB, free: 5.402 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.1672, allocations: 8.625 kB / 318.2 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1672, allocations: 15.98 kB / 318.3 MB, free: 5.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/0.1678, allocations: 296 kB / 318.5 MB, free: 5.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005537/0.1684, allocations: 306.1 kB / 318.8 MB, free: 4.797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003261/0.1717, allocations: 6.736 MB / 325.6 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.1721, allocations: 83.88 kB / 325.7 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/0.1722, allocations: 55.98 kB / 325.7 MB, free: 13.61 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.0004052/0.1726, allocations: 239.2 kB / 326 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.1728, allocations: 179 kB / 326.1 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.1743, allocations: 1.071 MB / 327.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.1743, allocations: 18.72 kB / 327.2 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1744, allocations: 4 kB / 327.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1744, allocations: 3.984 kB / 327.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003352/0.1777, allocations: 2.746 MB / 330 MB, free: 9.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.1777, allocations: 7.312 kB / 330 MB, free: 9.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.1782, allocations: 185.1 kB / 330.2 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007728/0.1789, allocations: 365.4 kB / 330.5 MB, free: 8.77 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.78e-05/0.179, allocations: 31.98 kB / 330.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005422/0.1844, allocations: 8.547 MB / 339.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.1844, allocations: 0 / 339.1 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.1864, allocations: 1.545 MB / 340.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.1868, allocations: 258.8 kB / 340.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.1869, allocations: 27.98 kB / 340.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.1872, allocations: 71.92 kB / 341 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.1874, allocations: 84.83 kB / 341.1 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.857e-05/0.1874, allocations: 39.92 kB / 341.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006343/0.1881, allocations: 0.6299 MB / 341.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1881, allocations: 0 / 341.7 MB, free: 13.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001276/0.1894, allocations: 436 kB / 342.2 MB, free: 12.62 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000316/0.1897, allocations: 185.5 kB / 342.3 MB, free: 12.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.1913, allocations: 1.492 MB / 343.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1913, allocations: 0 / 343.8 MB, free: 10.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.1925, allocations: 1.296 MB / 345.1 MB, free: 9.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009587/0.1935, allocations: 373.8 kB / 345.5 MB, free: 9.223 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00428/0.1978, allocations: 3.507 MB / 349 MB, free: 5.648 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/0.1982, allocations: 496 kB / 349.5 MB, free: 5.141 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000461/0.1986, allocations: 255 kB / 349.7 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001846/0.1988, allocations: 92.48 kB / 349.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of SimCode: time 1.113e-06/0.1988, allocations: 0 / 349.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of Templates: time 0.02593/0.2247, allocations: 22.86 MB / 372.7 MB, free: 14.31 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.3837637559045106]