Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 87.67 kB / 21.19 MB, free: 3.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9992/0.9992, allocations: 177 MB / 204.8 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 272.9 MB, free: 1.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.399e-05/3.63e-05, allocations: 2.312 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01053/0.01057, allocations: 7.988 MB / 280.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005629/0.0162, allocations: 2.602 MB / 283.5 MB, free: 6.816 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001064/0.01726, allocations: 27.88 kB / 283.5 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.01896, allocations: 492.8 kB / 284 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001347/0.0203, allocations: 448.5 kB / 284.5 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.02076, allocations: 227.5 kB / 284.7 MB, free: 5.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.02202, allocations: 1.28 MB / 286 MB, free: 4.355 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004933/0.02251, allocations: 350.5 kB / 286.3 MB, free: 3.988 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008835/0.02339, allocations: 0.7481 MB / 287 MB, free: 3.238 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005215/0.02391, allocations: 410.8 kB / 287.4 MB, free: 2.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.02404, allocations: 112 kB / 287.6 MB, free: 2.727 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.02428, allocations: 152 kB / 287.7 MB, free: 2.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.02441, allocations: 247 kB / 287.9 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002932/0.02471, allocations: 395 kB / 288.3 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008953/0.0256, allocations: 0.7978 MB / 289.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.02561, allocations: 0 / 289.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.02561, allocations: 0 / 289.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.108e-05/0.02563, allocations: 0 / 289.1 MB, free: 1.148 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.1234/0.149, allocations: 1.351 MB / 290.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.149, allocations: 13.27 kB / 290.5 MB, free: 24.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005562/0.1496, allocations: 244.8 kB / 290.7 MB, free: 24.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008432/0.1504, allocations: 0.5584 MB / 291.3 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.1505, allocations: 66.16 kB / 291.4 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.377e-05/0.1506, allocations: 89.09 kB / 291.4 MB, free: 24.59 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009146/0.1515, allocations: 0.6968 MB / 292.1 MB, free: 24.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.1515, allocations: 11.52 kB / 292.2 MB, free: 24.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.1516, allocations: 32.66 kB / 292.2 MB, free: 24.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.1516, allocations: 25.06 kB / 292.2 MB, free: 24.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005444/0.1521, allocations: 301.3 kB / 292.5 MB, free: 24.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.1552, allocations: 3.262 MB / 295.8 MB, free: 22.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.1555, allocations: 160.6 kB / 295.9 MB, free: 22.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.267e-05/0.1556, allocations: 62.62 kB / 296 MB, free: 22.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1556, allocations: 4.188 kB / 296 MB, free: 22.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1557, allocations: 40.89 kB / 296 MB, free: 22.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.1557, allocations: 0 / 296 MB, free: 22.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001125/0.1568, allocations: 0.7408 MB / 296.8 MB, free: 22.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.1568, allocations: 81.61 kB / 296.8 MB, free: 21.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006431/0.1575, allocations: 0.6947 MB / 297.5 MB, free: 21.66 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1575, allocations: 31.23 kB / 297.6 MB, free: 21.62 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.1577, allocations: 0.5913 MB / 298.2 MB, free: 21.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.1578, allocations: 116 kB / 298.3 MB, free: 21.06 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1579, allocations: 134.1 kB / 298.4 MB, free: 20.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.158, allocations: 0.5518 MB / 299 MB, free: 20.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1581, allocations: 63.88 kB / 299 MB, free: 20.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.1583, allocations: 0.5401 MB / 299.6 MB, free: 19.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.1587, allocations: 0.6298 MB / 300.2 MB, free: 19.17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1587, allocations: 4.281 kB / 300.2 MB, free: 19.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0006439/0.1594, allocations: 0.5489 MB / 300.7 MB, free: 19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1594, allocations: 11.14 kB / 300.8 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1594, allocations: 10.19 kB / 300.8 MB, free: 19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001432/0.1595, allocations: 36.27 kB / 300.8 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000286/0.1598, allocations: 146.7 kB / 300.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006206/0.1605, allocations: 1.755 MB / 302.7 MB, free: 17.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.1607, allocations: 33.84 kB / 302.7 MB, free: 17.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.1608, allocations: 35.78 kB / 302.8 MB, free: 17.18 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.0001419/0.1609, allocations: 198.4 kB / 303 MB, free: 16.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.161, allocations: 77.66 kB / 303 MB, free: 16.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.1613, allocations: 254.1 kB / 303.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1613, allocations: 2.031 kB / 303.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1613, allocations: 2.938 kB / 303.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1613, allocations: 1.594 kB / 303.3 MB, free: 16.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009779/0.1623, allocations: 0.9242 MB / 304.2 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1623, allocations: 1.438 kB / 304.2 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.1624, allocations: 60.7 kB / 304.3 MB, free: 16.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-05/0.1625, allocations: 21.8 kB / 304.3 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1625, allocations: 8.469 kB / 304.3 MB, free: 16.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004183/0.1629, allocations: 1.732 MB / 306 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.1629, allocations: 7.547 kB / 306 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.1633, allocations: 0.5049 MB / 306.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.1634, allocations: 89.5 kB / 306.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.1635, allocations: 12.16 kB / 306.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001491/0.1636, allocations: 15.91 kB / 306.7 MB, free: 13.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.1637, allocations: 33.7 kB / 306.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.1637, allocations: 8.281 kB / 306.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000385/0.1641, allocations: 434.1 kB / 307.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1641, allocations: 4 kB / 307.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004806/0.1646, allocations: 169.5 kB / 307.3 MB, free: 13.75 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.0001684/0.1647, allocations: 117.9 kB / 307.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005157/0.1653, allocations: 449.9 kB / 307.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1653, allocations: 1.188 kB / 307.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.1654, allocations: 258.5 kB / 308.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.166, allocations: 180.9 kB / 308.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.1678, allocations: 1.381 MB / 309.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.1679, allocations: 150.6 kB / 309.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.1681, allocations: 87.8 kB / 309.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.848e-05/0.1682, allocations: 51.38 kB / 309.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of SimCode: time 7.82e-07/0.1682, allocations: 1.625 kB / 309.9 MB, free: 12.16 MB / 266.7 MB Notification: Performance of Templates: time 0.01104/0.1792, allocations: 8.84 MB / 318.8 MB, free: 5.457 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.0750754065811634]