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.00131/0.00131, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.001364/0.001364, allocations: 143.4 kB / 24.89 MB, free: 8.777 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.8823/0.8823, allocations: 173.4 MB / 201.5 MB, free: 8.762 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.794e-06/1.794e-06, allocations: 0 / 268.5 MB, free: 6.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.478e-05/1.657e-05, allocations: 2.312 kB / 268.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.007708/0.007725, allocations: 9.426 MB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00473/0.01245, allocations: 3.053 MB / 281 MB, free: 9.484 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007411/0.0132, allocations: 63.62 kB / 281 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.01431, allocations: 0.6324 MB / 281.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.01579, allocations: 0.8186 MB / 282.5 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005731/0.01636, allocations: 387.3 kB / 282.9 MB, free: 7.582 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.01821, allocations: 2.509 MB / 285.4 MB, free: 5.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.01924, allocations: 1.033 MB / 286.4 MB, free: 3.961 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.02107, allocations: 1.762 MB / 288.2 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.02219, allocations: 1.153 MB / 289.3 MB, free: 1.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000273/0.02246, allocations: 268 kB / 289.6 MB, free: 0.7773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004071/0.02287, allocations: 355.8 kB / 289.9 MB, free: 440 kB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1164/0.1393, allocations: 0.7737 MB / 290.7 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00476/0.144, allocations: 0.8638 MB / 291.6 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00576/0.1498, allocations: 1.982 MB / 293.5 MB, free: 18.97 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1498, allocations: 0.5 kB / 293.5 MB, free: 18.97 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1498, allocations: 0.5312 kB / 293.5 MB, free: 18.97 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.17e-05/0.1499, allocations: 1.562 kB / 293.5 MB, free: 18.97 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.00794/0.1578, allocations: 2.388 MB / 295.9 MB, free: 17.93 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.1578, allocations: 14.27 kB / 295.9 MB, free: 17.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007488/0.1586, allocations: 344.1 kB / 296.3 MB, free: 17.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.16, allocations: 0.9288 MB / 297.2 MB, free: 17.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.931e-05/0.1601, allocations: 141.5 kB / 297.3 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000249/0.1604, allocations: 196 kB / 297.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.1624, allocations: 1.454 MB / 299 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.992e-05/0.1624, allocations: 7.234 kB / 299 MB, free: 17.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.1626, allocations: 83.19 kB / 299.1 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.998e-05/0.1627, allocations: 92.22 kB / 299.2 MB, free: 17.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.1638, allocations: 0.5569 MB / 299.7 MB, free: 17.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005974/0.1698, allocations: 5.204 MB / 304.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006146/0.1704, allocations: 0.5727 MB / 305.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007312/0.1711, allocations: 0.5098 MB / 306 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.1713, allocations: 44.09 kB / 306.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.1713, allocations: 48.89 kB / 306.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=95): time 2.755e-06/0.1713, allocations: 0 / 306.1 MB, free: 14.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=111): time 0.004118/0.1754, allocations: 2.567 MB / 308.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.1754, allocations: 66.88 kB / 308.7 MB, free: 13.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004722/0.1759, allocations: 0.8847 MB / 309.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.036e-05/0.1759, allocations: 44.7 kB / 309.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.1761, allocations: 0.7929 MB / 310.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.1763, allocations: 409.1 kB / 310.9 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/0.1765, allocations: 237.5 kB / 311.1 MB, free: 12.65 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.1765, allocations: 362.8 kB / 311.4 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.1767, allocations: 162.5 kB / 311.6 MB, free: 12.33 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.177, allocations: 0.5113 MB / 312.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/0.1775, allocations: 0.8146 MB / 312.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1775, allocations: 2.906 kB / 312.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001011/0.1785, allocations: 0.9758 MB / 313.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1785, allocations: 11.98 kB / 313.9 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.1786, allocations: 12 kB / 313.9 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000513/0.1791, allocations: 276 kB / 314.2 MB, free: 10.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.1795, allocations: 270.9 kB / 314.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/0.1816, allocations: 4.797 MB / 319.3 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.182, allocations: 47.94 kB / 319.3 MB, free: 5.348 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-05/0.1821, allocations: 44 kB / 319.4 MB, free: 5.305 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.0002749/0.1823, allocations: 195.1 kB / 319.5 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.1825, allocations: 129.9 kB / 319.7 MB, free: 4.996 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009199/0.1834, allocations: 0.8197 MB / 320.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.1834, allocations: 11.94 kB / 320.5 MB, free: 4.152 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.1834, allocations: 15.72 kB / 320.5 MB, free: 4.141 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1834, allocations: 6.422 kB / 320.5 MB, free: 4.137 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.1856, allocations: 1.97 MB / 322.5 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.1856, allocations: 3.562 kB / 322.5 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.186, allocations: 170.8 kB / 322.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006873/0.1866, allocations: 365.6 kB / 323 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.608e-05/0.1867, allocations: 27.98 kB / 323 MB, free: 1.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003343/0.19, allocations: 5.997 MB / 329 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.19, allocations: 0 / 329 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.1913, allocations: 1.212 MB / 330.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.1916, allocations: 175 kB / 330.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.1917, allocations: 31.98 kB / 330.5 MB, free: 10.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.192, allocations: 39.92 kB / 330.5 MB, free: 9.973 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.1921, allocations: 92.67 kB / 330.6 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.1922, allocations: 23.98 kB / 330.6 MB, free: 9.859 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003296/0.1925, allocations: 431.1 kB / 331 MB, free: 9.48 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1925, allocations: 0 / 331 MB, free: 9.48 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000897/0.1934, allocations: 439.9 kB / 331.5 MB, free: 9.051 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.0002278/0.1936, allocations: 166.2 kB / 331.6 MB, free: 8.891 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1947, allocations: 1.128 MB / 332.8 MB, free: 7.781 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-05/0.1947, allocations: 18.44 kB / 332.8 MB, free: 7.762 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007448/0.1954, allocations: 0.9296 MB / 333.7 MB, free: 6.812 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008044/0.1962, allocations: 360.1 kB / 334.1 MB, free: 6.469 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.1999, allocations: 3.257 MB / 337.3 MB, free: 3.176 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003424/0.2002, allocations: 444 kB / 337.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003822/0.2006, allocations: 173.5 kB / 337.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/0.2012, allocations: 353.1 kB / 338.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2012, allocations: 0 / 338.3 MB, free: 2.195 MB / 282.7 MB Notification: Performance of Templates: time 0.02654/0.2277, allocations: 23.57 MB / 361.8 MB, free: 11.07 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 -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.1359190391376615]