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.0009895/0.0009895, allocations: 85.17 kB / 21.5 MB, free: 2.992 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.001394/0.001394, allocations: 148.6 kB / 24.9 MB, free: 8.727 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.9311/0.9311, allocations: 173.4 MB / 201.5 MB, free: 8.727 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.312e-06/1.312e-06, allocations: 0 / 268.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.978e-05, allocations: 10.05 kB / 268.5 MB, free: 6.012 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008555/0.008575, allocations: 7.774 MB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004408/0.01298, allocations: 2.64 MB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004788/0.01346, allocations: 31.88 kB / 278.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.01464, allocations: 492.8 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008759/0.01552, allocations: 456.4 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.01593, allocations: 219.7 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.01716, allocations: 1.28 MB / 281.3 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005427/0.0177, allocations: 354.5 kB / 281.7 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009475/0.01865, allocations: 0.7482 MB / 282.4 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005931/0.01924, allocations: 410.8 kB / 282.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.01938, allocations: 112 kB / 283 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.01963, allocations: 152 kB / 283.1 MB, free: 7.285 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.0198, allocations: 243 kB / 283.3 MB, free: 7.047 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003899/0.02019, allocations: 391.1 kB / 283.7 MB, free: 6.664 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009364/0.02112, allocations: 0.7978 MB / 284.5 MB, free: 5.863 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.02113, allocations: 7.938 kB / 284.5 MB, free: 5.855 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.02113, allocations: 0 / 284.5 MB, free: 5.855 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.02114, allocations: 0 / 284.5 MB, free: 5.855 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.001656/0.0228, allocations: 1.215 MB / 285.7 MB, free: 4.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.02283, allocations: 8.031 kB / 285.8 MB, free: 4.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000439/0.02327, allocations: 184.8 kB / 285.9 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007521/0.02402, allocations: 460.6 kB / 286.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.295e-05/0.02407, allocations: 66.38 kB / 286.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.02419, allocations: 88.36 kB / 286.5 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008296/0.02502, allocations: 0.6421 MB / 287.2 MB, free: 3.109 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.02505, allocations: 11.94 kB / 287.2 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.02511, allocations: 32 kB / 287.2 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.02513, allocations: 23.98 kB / 287.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.02553, allocations: 217.8 kB / 287.5 MB, free: 2.828 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/0.02865, allocations: 2.606 MB / 290.1 MB, free: 56 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1015/0.1301, allocations: 127.2 kB / 290.2 MB, free: 23.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.1302, allocations: 44.94 kB / 290.2 MB, free: 23.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1302, allocations: 7.031 kB / 290.2 MB, free: 23.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1302, allocations: 40.27 kB / 290.3 MB, free: 23.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.715e-06/0.1302, allocations: 0 / 290.3 MB, free: 23.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001098/0.1313, allocations: 0.5483 MB / 290.8 MB, free: 23.42 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.448e-05/0.1314, allocations: 81.92 kB / 290.9 MB, free: 23.33 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.1319, allocations: 0.6079 MB / 291.5 MB, free: 23.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1319, allocations: 32.36 kB / 291.5 MB, free: 23.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.1321, allocations: 477 kB / 292 MB, free: 22.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.1322, allocations: 117.6 kB / 292.1 MB, free: 22.9 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.1323, allocations: 122.2 kB / 292.2 MB, free: 22.88 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.1324, allocations: 383.5 kB / 292.6 MB, free: 22.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.256e-05/0.1324, allocations: 46.59 kB / 292.7 MB, free: 22.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.1326, allocations: 398.2 kB / 293.1 MB, free: 22.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003332/0.1329, allocations: 483.9 kB / 293.5 MB, free: 21.77 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.1329, allocations: 2.625 kB / 293.5 MB, free: 21.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0004678/0.1334, allocations: 429.4 kB / 293.9 MB, free: 21.72 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1334, allocations: 13.56 kB / 294 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.1334, allocations: 10.19 kB / 294 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001044/0.1335, allocations: 37.11 kB / 294 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.1338, allocations: 156.5 kB / 294.2 MB, free: 21.71 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004533/0.1343, allocations: 1.169 MB / 295.3 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.1345, allocations: 37.34 kB / 295.4 MB, free: 20.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.1345, allocations: 28.34 kB / 295.4 MB, free: 20.58 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.0001397/0.1347, allocations: 161.8 kB / 295.5 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.1347, allocations: 48.55 kB / 295.6 MB, free: 20.46 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.135, allocations: 199.7 kB / 295.8 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.135, allocations: 2.594 kB / 295.8 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.135, allocations: 1.25 kB / 295.8 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.135, allocations: 1.453 kB / 295.8 MB, free: 20.4 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006925/0.1357, allocations: 0.6013 MB / 296.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1357, allocations: 2.219 kB / 296.4 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.1358, allocations: 59.86 kB / 296.5 MB, free: 20.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.793e-05/0.1359, allocations: 22.25 kB / 296.5 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.1359, allocations: 7.5 kB / 296.5 MB, free: 20.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004074/0.1363, allocations: 1.154 MB / 297.6 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1363, allocations: 2.344 kB / 297.6 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.1367, allocations: 377.9 kB / 298 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.1368, allocations: 63.02 kB / 298.1 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.391e-05/0.1369, allocations: 14.77 kB / 298.1 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.137, allocations: 14.47 kB / 298.1 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.1371, allocations: 27.31 kB / 298.1 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.1371, allocations: 14.08 kB / 298.1 MB, free: 18.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003648/0.1375, allocations: 280.9 kB / 298.4 MB, free: 18.71 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1375, allocations: 4 kB / 298.4 MB, free: 18.71 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005727/0.138, allocations: 170.8 kB / 298.6 MB, free: 18.71 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.0001718/0.1382, allocations: 102.5 kB / 298.7 MB, free: 18.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004536/0.1387, allocations: 357.9 kB / 299 MB, free: 18.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.831e-05/0.1387, allocations: 10.16 kB / 299 MB, free: 18.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00015/0.1388, allocations: 198.5 kB / 299.2 MB, free: 18.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005354/0.1394, allocations: 175.1 kB / 299.4 MB, free: 18.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.1414, allocations: 1.327 MB / 300.7 MB, free: 17.66 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.1415, allocations: 158 kB / 300.9 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.1417, allocations: 87.09 kB / 301 MB, free: 17.55 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.142, allocations: 202 kB / 301.2 MB, free: 17.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.292e-06/0.142, allocations: 0 / 301.2 MB, free: 17.5 MB / 266.7 MB Notification: Performance of Templates: time 0.01235/0.1544, allocations: 8.879 MB / 310.1 MB, free: 14.8 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: 2.894535197876394]