Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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.001026/0.001026, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001083/0.001083, allocations: 167.3 kB / 24.99 MB, free: 8.746 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 1.031/1.031, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.753e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006769/0.006796, allocations: 7.941 MB / 281 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00417/0.01097, allocations: 2.598 MB / 283.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007046/0.01167, allocations: 27.88 kB / 283.6 MB, free: 7.215 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.01277, allocations: 496.8 kB / 284.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008495/0.01362, allocations: 444.5 kB / 284.6 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000386/0.01401, allocations: 219.6 kB / 284.8 MB, free: 6.074 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009873/0.015, allocations: 1.291 MB / 286.1 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.01544, allocations: 342.5 kB / 286.4 MB, free: 4.414 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007114/0.01615, allocations: 0.7443 MB / 287.1 MB, free: 3.668 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004091/0.01656, allocations: 414.8 kB / 287.5 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.871e-05/0.01666, allocations: 112 kB / 287.7 MB, free: 3.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002135/0.01687, allocations: 156 kB / 287.8 MB, free: 3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.01699, allocations: 243.1 kB / 288 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.01728, allocations: 399 kB / 288.4 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008132/0.01809, allocations: 0.8133 MB / 289.3 MB, free: 1.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.0181, allocations: 0 / 289.3 MB, free: 1.555 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.0181, allocations: 0 / 289.3 MB, free: 1.555 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.01811, allocations: 0 / 289.3 MB, free: 1.555 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.001437/0.01955, allocations: 1.356 MB / 290.6 MB, free: 164 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.01959, allocations: 8.031 kB / 290.6 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1205/0.1401, allocations: 239.4 kB / 290.8 MB, free: 29.68 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.1412, allocations: 0.581 MB / 291.4 MB, free: 29.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.137e-05/0.1413, allocations: 64.33 kB / 291.5 MB, free: 29.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.1414, allocations: 86.59 kB / 291.6 MB, free: 29.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.1424, allocations: 0.6983 MB / 292.3 MB, free: 29.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.1424, allocations: 6.109 kB / 292.3 MB, free: 29.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.547e-05/0.1424, allocations: 36.16 kB / 292.3 MB, free: 29.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.1425, allocations: 22.19 kB / 292.3 MB, free: 29.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006267/0.1431, allocations: 303.8 kB / 292.6 MB, free: 29.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/0.1462, allocations: 3.264 MB / 295.9 MB, free: 26.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.1465, allocations: 166 kB / 296.1 MB, free: 26.66 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.1467, allocations: 58.14 kB / 296.1 MB, free: 26.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.432e-05/0.1467, allocations: 6.312 kB / 296.1 MB, free: 26.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1467, allocations: 41.84 kB / 296.2 MB, free: 26.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.584e-06/0.1467, allocations: 0.6562 kB / 296.2 MB, free: 26.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.00127/0.148, allocations: 0.739 MB / 296.9 MB, free: 26.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.148, allocations: 82.11 kB / 297 MB, free: 26.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009434/0.149, allocations: 0.6969 MB / 297.7 MB, free: 25.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.149, allocations: 31.11 kB / 297.7 MB, free: 25.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003925/0.1494, allocations: 0.5925 MB / 298.3 MB, free: 25.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.1495, allocations: 114.2 kB / 298.4 MB, free: 25.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001629/0.1496, allocations: 130.2 kB / 298.5 MB, free: 25.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1498, allocations: 0.5563 MB / 299.1 MB, free: 24.54 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.15, allocations: 64.7 kB / 299.2 MB, free: 24.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.1503, allocations: 0.53 MB / 299.7 MB, free: 23.89 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006515/0.1509, allocations: 0.6304 MB / 300.3 MB, free: 23.22 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.1509, allocations: 2.812 kB / 300.3 MB, free: 23.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0007674/0.1517, allocations: 0.5479 MB / 300.9 MB, free: 22.99 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.1517, allocations: 12.94 kB / 300.9 MB, free: 22.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.1517, allocations: 11.22 kB / 300.9 MB, free: 22.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.1519, allocations: 31.86 kB / 300.9 MB, free: 22.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003028/0.1522, allocations: 150.2 kB / 301.1 MB, free: 22.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007017/0.1529, allocations: 1.757 MB / 302.8 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.1532, allocations: 37.3 kB / 302.9 MB, free: 21.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.1533, allocations: 32.75 kB / 302.9 MB, free: 21.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.0001721/0.1535, allocations: 205.7 kB / 303.1 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.147e-05/0.1535, allocations: 77.02 kB / 303.2 MB, free: 20.94 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.1539, allocations: 246.9 kB / 303.4 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1539, allocations: 3.312 kB / 303.4 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1539, allocations: 0 / 303.4 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1539, allocations: 2.031 kB / 303.4 MB, free: 20.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.1551, allocations: 0.9245 MB / 304.3 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1551, allocations: 2 kB / 304.3 MB, free: 20.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.1553, allocations: 61.31 kB / 304.4 MB, free: 20.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.34e-05/0.1554, allocations: 21.38 kB / 304.4 MB, free: 20.19 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1554, allocations: 12.16 kB / 304.4 MB, free: 20.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004866/0.1559, allocations: 1.739 MB / 306.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1559, allocations: 1.75 kB / 306.2 MB, free: 18.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004491/0.1563, allocations: 0.5061 MB / 306.7 MB, free: 18.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.1564, allocations: 90.53 kB / 306.8 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.1565, allocations: 13.67 kB / 306.8 MB, free: 17.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.1567, allocations: 15.19 kB / 306.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.1567, allocations: 29.62 kB / 306.8 MB, free: 17.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.1567, allocations: 16.52 kB / 306.9 MB, free: 17.95 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004216/0.1572, allocations: 435.2 kB / 307.3 MB, free: 17.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1572, allocations: 0 / 307.3 MB, free: 17.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005771/0.1577, allocations: 169.3 kB / 307.4 MB, free: 17.74 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.0002029/0.1579, allocations: 119.6 kB / 307.6 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.1585, allocations: 442.5 kB / 308 MB, free: 17.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.1585, allocations: 1.375 kB / 308 MB, free: 17.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.1587, allocations: 258.4 kB / 308.2 MB, free: 17.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.1592, allocations: 181.2 kB / 308.4 MB, free: 17.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.1612, allocations: 1.393 MB / 309.8 MB, free: 16.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.702e-05/0.1613, allocations: 157 kB / 310 MB, free: 16.17 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002372/0.1616, allocations: 87.2 kB / 310.1 MB, free: 16.15 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.176e-05/0.1616, allocations: 46.95 kB / 310.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of SimCode: time 1.493e-06/0.1616, allocations: 0 / 310.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of Templates: time 0.01175/0.1734, allocations: 8.304 MB / 318.4 MB, free: 8.898 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.30182926193811]