Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.00147/0.00147, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.001116/0.001116, allocations: 143.7 kB / 24.97 MB, free: 8.387 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 1.037/1.037, allocations: 173.4 MB / 201.5 MB, free: 9.359 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.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 268.1 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.353e-05/3.517e-05, allocations: 6.25 kB / 268.1 MB, free: 6.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007394/0.00743, allocations: 7.938 MB / 276 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00398/0.01141, allocations: 2.567 MB / 278.6 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.01212, allocations: 23.94 kB / 278.6 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.01336, allocations: 496.8 kB / 279.1 MB, free: 11.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008744/0.01423, allocations: 448.5 kB / 279.5 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.01462, allocations: 219.5 kB / 279.7 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.01606, allocations: 1.283 MB / 281 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000501/0.01656, allocations: 342.5 kB / 281.4 MB, free: 9.379 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007898/0.01735, allocations: 0.7404 MB / 282.1 MB, free: 8.637 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004802/0.01783, allocations: 410.8 kB / 282.5 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.01794, allocations: 116 kB / 282.6 MB, free: 8.121 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002345/0.01818, allocations: 151.9 kB / 282.8 MB, free: 7.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.0183, allocations: 247 kB / 283 MB, free: 7.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.01861, allocations: 399 kB / 283.4 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009139/0.01952, allocations: 0.8017 MB / 284.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.01952, allocations: 3.938 kB / 284.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01953, allocations: 0 / 284.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.01955, allocations: 0 / 284.2 MB, free: 6.531 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00158/0.02113, allocations: 1.36 MB / 285.6 MB, free: 5.133 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.02116, allocations: 16.03 kB / 285.6 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003782/0.02154, allocations: 216.2 kB / 285.8 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/0.02226, allocations: 0.5948 MB / 286.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.668e-05/0.0223, allocations: 58.38 kB / 286.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-05/0.02239, allocations: 84.38 kB / 286.5 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008059/0.02319, allocations: 0.7035 MB / 287.2 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.02322, allocations: 7.953 kB / 287.2 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.02327, allocations: 36 kB / 287.3 MB, free: 3.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.02328, allocations: 20 kB / 287.3 MB, free: 3.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.02394, allocations: 303.7 kB / 287.6 MB, free: 3.023 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1237/0.1476, allocations: 3.266 MB / 290.8 MB, free: 32.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004552/0.148, allocations: 158.3 kB / 291 MB, free: 32.04 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.1482, allocations: 60.97 kB / 291.1 MB, free: 32.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.1482, allocations: 8.188 kB / 291.1 MB, free: 32.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.1482, allocations: 36.81 kB / 291.1 MB, free: 31.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 3.237e-06/0.1482, allocations: 0 / 291.1 MB, free: 31.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001433/0.1497, allocations: 0.7304 MB / 291.8 MB, free: 31.72 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.1497, allocations: 82.23 kB / 291.9 MB, free: 31.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007987/0.1505, allocations: 0.6961 MB / 292.6 MB, free: 31.42 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.1505, allocations: 31.7 kB / 292.6 MB, free: 31.39 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003052/0.1508, allocations: 0.591 MB / 293.2 MB, free: 31.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.905e-05/0.1509, allocations: 117.8 kB / 293.4 MB, free: 31.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.151, allocations: 127.9 kB / 293.5 MB, free: 30.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1512, allocations: 0.5545 MB / 294 MB, free: 30.46 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.1513, allocations: 65.16 kB / 294.1 MB, free: 30.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.1516, allocations: 0.5355 MB / 294.6 MB, free: 29.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.1521, allocations: 0.6178 MB / 295.2 MB, free: 29.19 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.1521, allocations: 2.812 kB / 295.2 MB, free: 29.19 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007673/0.1528, allocations: 0.5522 MB / 295.8 MB, free: 28.96 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.831e-05/0.1529, allocations: 13.7 kB / 295.8 MB, free: 28.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.1529, allocations: 10.91 kB / 295.8 MB, free: 28.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.1531, allocations: 41.78 kB / 295.9 MB, free: 28.94 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003404/0.1534, allocations: 146.2 kB / 296 MB, free: 28.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007423/0.1541, allocations: 1.748 MB / 297.8 MB, free: 27.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.1545, allocations: 39.7 kB / 297.8 MB, free: 27.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.1546, allocations: 35.86 kB / 297.8 MB, free: 27.14 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001959/0.1548, allocations: 198.8 kB / 298 MB, free: 26.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-05/0.1549, allocations: 81.88 kB / 298.1 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000384/0.1553, allocations: 243.9 kB / 298.3 MB, free: 26.8 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.613e-06/0.1553, allocations: 3.469 kB / 298.3 MB, free: 26.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.1553, allocations: 0.6094 kB / 298.3 MB, free: 26.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.1553, allocations: 6.203 kB / 298.4 MB, free: 26.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.1564, allocations: 0.9236 MB / 299.3 MB, free: 26.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.1564, allocations: 6.453 kB / 299.3 MB, free: 26.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.1566, allocations: 60.2 kB / 299.3 MB, free: 26.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-05/0.1566, allocations: 21.89 kB / 299.4 MB, free: 26.18 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.1567, allocations: 8.016 kB / 299.4 MB, free: 26.17 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004676/0.1571, allocations: 1.729 MB / 301.1 MB, free: 24.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1571, allocations: 7.469 kB / 301.1 MB, free: 24.4 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004204/0.1576, allocations: 0.5071 MB / 301.6 MB, free: 24.02 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.1577, allocations: 92.89 kB / 301.7 MB, free: 23.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.1578, allocations: 9.234 kB / 301.7 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1579, allocations: 17.48 kB / 301.7 MB, free: 23.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/0.158, allocations: 27.59 kB / 301.8 MB, free: 23.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.158, allocations: 14.44 kB / 301.8 MB, free: 23.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004275/0.1584, allocations: 435.3 kB / 302.2 MB, free: 23.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1584, allocations: 1.938 kB / 302.2 MB, free: 23.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005792/0.159, allocations: 170 kB / 302.4 MB, free: 23.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.0001917/0.1592, allocations: 126.7 kB / 302.5 MB, free: 23.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005931/0.1598, allocations: 443.9 kB / 302.9 MB, free: 23.37 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.1598, allocations: 0 / 302.9 MB, free: 23.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.16, allocations: 253.7 kB / 303.2 MB, free: 23.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006261/0.1606, allocations: 184.2 kB / 303.4 MB, free: 23.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.1628, allocations: 1.376 MB / 304.7 MB, free: 22.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.163, allocations: 150.7 kB / 304.9 MB, free: 22.19 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002861/0.1632, allocations: 89.45 kB / 305 MB, free: 22.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/0.1633, allocations: 47.45 kB / 305 MB, free: 22.15 MB / 266.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1633, allocations: 3.938 kB / 305 MB, free: 22.15 MB / 266.7 MB Notification: Performance of Templates: time 0.01179/0.1751, allocations: 8.299 MB / 313.3 MB, free: 17.36 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.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.153990595135838]