Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009269/0.0009269, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009848/0.0009848, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9078/0.9078, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 273.5 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.61e-05, allocations: 2.312 kB / 273.5 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007689/0.007715, allocations: 9.209 MB / 282.7 MB, free: 8.004 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.01304, allocations: 3.092 MB / 285.8 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.01433, allocations: 59.62 kB / 285.9 MB, free: 4.844 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.01576, allocations: 0.652 MB / 286.5 MB, free: 4.188 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.01784, allocations: 0.8421 MB / 287.4 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007241/0.01856, allocations: 367.3 kB / 287.7 MB, free: 2.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002671/0.02123, allocations: 2.769 MB / 290.5 MB, free: 204 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1133/0.1346, allocations: 1.153 MB / 291.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003144/0.1377, allocations: 1.935 MB / 293.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.1399, allocations: 1.367 MB / 294.9 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007372/0.1406, allocations: 300.2 kB / 295.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000816/0.1414, allocations: 399 kB / 295.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006692/0.1421, allocations: 0.8998 MB / 296.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.1433, allocations: 0.9613 MB / 297.5 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002333/0.1457, allocations: 2.28 MB / 299.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1457, allocations: 2.938 kB / 299.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1457, allocations: 0 / 299.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.822e-05/0.1457, allocations: 0 / 299.8 MB, free: 15.54 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003126/0.1489, allocations: 2.642 MB / 302.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.1489, allocations: 9.625 kB / 302.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000822/0.1497, allocations: 398.2 kB / 302.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.1511, allocations: 1.032 MB / 303.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.764e-05/0.1512, allocations: 162.8 kB / 304 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.1514, allocations: 203.1 kB / 304.2 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.1531, allocations: 1.573 MB / 305.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.1531, allocations: 10.2 kB / 305.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001193/0.1532, allocations: 88.03 kB / 305.9 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.69e-05/0.1533, allocations: 91.53 kB / 305.9 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008453/0.1541, allocations: 0.603 MB / 306.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005408/0.1595, allocations: 5.393 MB / 311.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006076/0.1602, allocations: 0.6593 MB / 312.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005353/0.1607, allocations: 480.5 kB / 313.1 MB, free: 8.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001323/0.1608, allocations: 48.97 kB / 313.1 MB, free: 8.406 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1608, allocations: 50.31 kB / 313.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.514e-06/0.1608, allocations: 0 / 313.2 MB, free: 8.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.004037/0.1649, allocations: 2.497 MB / 315.7 MB, free: 5.867 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.1649, allocations: 64.41 kB / 315.7 MB, free: 5.789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006016/0.1655, allocations: 0.9889 MB / 316.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.421e-05/0.1656, allocations: 49.7 kB / 316.8 MB, free: 4.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002269/0.1658, allocations: 0.8286 MB / 317.6 MB, free: 4.129 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.1659, allocations: 431.2 kB / 318 MB, free: 3.734 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002094/0.1662, allocations: 242 kB / 318.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.259e-05/0.1662, allocations: 363.5 kB / 318.6 MB, free: 3.188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.1664, allocations: 170.8 kB / 318.8 MB, free: 3.02 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.1667, allocations: 480 kB / 319.2 MB, free: 2.453 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.1673, allocations: 0.7947 MB / 320 MB, free: 1.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.1673, allocations: 8 kB / 320 MB, free: 1.594 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.001003/0.1683, allocations: 0.9144 MB / 321 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1683, allocations: 8 kB / 321 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.1683, allocations: 8 kB / 321 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004254/0.1687, allocations: 220.4 kB / 321.2 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/0.1694, allocations: 321.7 kB / 321.5 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.1715, allocations: 3.162 MB / 324.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006684/0.1722, allocations: 43.98 kB / 324.7 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.639e-05/0.1723, allocations: 52.02 kB / 324.8 MB, free: 12.82 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006046/0.1729, allocations: 199.5 kB / 325 MB, free: 12.63 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.1731, allocations: 131.9 kB / 325.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.1742, allocations: 0.8268 MB / 325.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.1742, allocations: 12 kB / 325.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1742, allocations: 0 / 325.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.1742, allocations: 3.984 kB / 325.9 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002929/0.1771, allocations: 2.077 MB / 328 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.1771, allocations: 3.75 kB / 328 MB, free: 9.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000645/0.1778, allocations: 267.5 kB / 328.3 MB, free: 9.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005494/0.1783, allocations: 266.1 kB / 328.5 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/0.1784, allocations: 31.92 kB / 328.6 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002641/0.181, allocations: 4.372 MB / 332.9 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.181, allocations: 0 / 332.9 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/0.1827, allocations: 1.21 MB / 334.1 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004214/0.1831, allocations: 198.9 kB / 334.3 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.1832, allocations: 27.98 kB / 334.4 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.1836, allocations: 43.98 kB / 334.4 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.1838, allocations: 104 kB / 334.5 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.1838, allocations: 31.98 kB / 334.5 MB, free: 2.898 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005421/0.1844, allocations: 492.4 kB / 335 MB, free: 2.469 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1844, allocations: 0 / 335 MB, free: 2.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00121/0.1856, allocations: 459.9 kB / 335.5 MB, free: 2.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (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) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 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): 3 systems {(2,12,100.0%), (1,1,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.0002896/0.1859, allocations: 163.7 kB / 335.6 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.1871, allocations: 0.9746 MB / 336.6 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.105e-05/0.1871, allocations: 24.62 kB / 336.6 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007336/0.1878, allocations: 0.7842 MB / 337.4 MB, free: 108 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.1888, allocations: 406.4 kB / 337.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004869/0.1937, allocations: 3.57 MB / 341.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/0.1941, allocations: 0.497 MB / 341.9 MB, free: 11.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006587/0.1948, allocations: 192.7 kB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006606/0.1954, allocations: 389.1 kB / 342.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of SimCode: time 2.064e-06/0.1954, allocations: 0 / 342.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of Templates: time 0.03428/0.2297, allocations: 25.44 MB / 367.9 MB, free: 2.059 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.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.219669626094401]