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.0009521/0.0009521, allocations: 78.28 kB / 21.42 MB, free: 3.078 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.0009532/0.0009532, allocations: 150.3 kB / 24.81 MB, free: 9.285 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.005/1.005, allocations: 173.3 MB / 201.4 MB, free: 9.191 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.954e-06/1.954e-06, allocations: 0 / 268.4 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.16e-05/3.355e-05, allocations: 6.312 kB / 268.4 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.006453/0.006486, allocations: 7.766 MB / 276.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.009589, allocations: 2.559 MB / 278.7 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.009968, allocations: 27.88 kB / 278.8 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008873/0.01086, allocations: 488.8 kB / 279.2 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005808/0.01144, allocations: 452.4 kB / 279.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.0117, allocations: 223.6 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008332/0.01254, allocations: 1.279 MB / 281.2 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003806/0.01292, allocations: 346.5 kB / 281.5 MB, free: 8.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005938/0.01351, allocations: 0.7405 MB / 282.3 MB, free: 8.227 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003758/0.01389, allocations: 406.8 kB / 282.7 MB, free: 7.828 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.954e-05/0.01399, allocations: 112 kB / 282.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001827/0.01417, allocations: 151.9 kB / 282.9 MB, free: 7.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.01429, allocations: 243 kB / 283.2 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.01454, allocations: 403 kB / 283.5 MB, free: 6.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006687/0.01521, allocations: 0.79 MB / 284.3 MB, free: 6.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.01522, allocations: 0 / 284.3 MB, free: 6.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.01522, allocations: 0 / 284.3 MB, free: 6.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.01522, allocations: 0 / 284.3 MB, free: 6.145 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.00124/0.01646, allocations: 1.371 MB / 285.7 MB, free: 4.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.0165, allocations: 12.03 kB / 285.7 MB, free: 4.723 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.0168, allocations: 216.2 kB / 285.9 MB, free: 4.512 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005692/0.01736, allocations: 0.5539 MB / 286.5 MB, free: 3.926 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.01741, allocations: 66.38 kB / 286.6 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.213e-05/0.01749, allocations: 92.31 kB / 286.6 MB, free: 3.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/0.01812, allocations: 0.6487 MB / 287.3 MB, free: 3.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.01814, allocations: 4 kB / 287.3 MB, free: 3.066 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.01818, allocations: 39.98 kB / 287.3 MB, free: 3.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.0182, allocations: 20 kB / 287.4 MB, free: 3.008 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.01848, allocations: 241.6 kB / 287.6 MB, free: 2.77 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1128/0.1313, allocations: 3.284 MB / 290.9 MB, free: 27.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.1316, allocations: 148.1 kB / 291 MB, free: 27.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.683e-05/0.1317, allocations: 55.08 kB / 291.1 MB, free: 27.27 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1317, allocations: 7.969 kB / 291.1 MB, free: 27.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.1317, allocations: 40.33 kB / 291.1 MB, free: 27.22 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.205e-06/0.1317, allocations: 6.828 kB / 291.1 MB, free: 27.22 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001028/0.1328, allocations: 0.5877 MB / 291.7 MB, free: 27.03 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.1328, allocations: 84.62 kB / 291.8 MB, free: 26.94 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005984/0.1334, allocations: 0.6774 MB / 292.5 MB, free: 26.74 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.1334, allocations: 32.14 kB / 292.5 MB, free: 26.71 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.1337, allocations: 0.5976 MB / 293.1 MB, free: 26.42 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.243e-05/0.1337, allocations: 123.8 kB / 293.2 MB, free: 26.36 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.1339, allocations: 128.3 kB / 293.3 MB, free: 26.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001227/0.134, allocations: 0.5649 MB / 293.9 MB, free: 25.84 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.1341, allocations: 50.06 kB / 294 MB, free: 25.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002325/0.1343, allocations: 0.52 MB / 294.5 MB, free: 25.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.1347, allocations: 0.601 MB / 295.1 MB, free: 24.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.1347, allocations: 2.562 kB / 295.1 MB, free: 24.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00064/0.1353, allocations: 0.5156 MB / 295.6 MB, free: 24.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1354, allocations: 10.22 kB / 295.6 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.1354, allocations: 12.19 kB / 295.6 MB, free: 24.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001116/0.1355, allocations: 35.17 kB / 295.7 MB, free: 24.56 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.1358, allocations: 146.8 kB / 295.8 MB, free: 24.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005456/0.1364, allocations: 1.727 MB / 297.5 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.1367, allocations: 38.81 kB / 297.6 MB, free: 22.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.1367, allocations: 28 kB / 297.6 MB, free: 22.86 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.0001389/0.1369, allocations: 203.4 kB / 297.8 MB, free: 22.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/0.137, allocations: 80.52 kB / 297.9 MB, free: 22.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.1372, allocations: 225.4 kB / 298.1 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1372, allocations: 3.594 kB / 298.1 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1372, allocations: 1.812 kB / 298.1 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1372, allocations: 6.125 kB / 298.1 MB, free: 22.6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008557/0.1381, allocations: 0.8085 MB / 298.9 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1381, allocations: 4.375 kB / 298.9 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.1383, allocations: 56.08 kB / 299 MB, free: 22.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-05/0.1383, allocations: 25.3 kB / 299 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1384, allocations: 12.81 kB / 299 MB, free: 22.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003949/0.1387, allocations: 1.706 MB / 300.7 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1387, allocations: 2.75 kB / 300.7 MB, free: 20.5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.1391, allocations: 491.9 kB / 301.2 MB, free: 20.16 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.1392, allocations: 93.95 kB / 301.3 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.1392, allocations: 11.36 kB / 301.3 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.1394, allocations: 19.59 kB / 301.3 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1394, allocations: 33.47 kB / 301.3 MB, free: 20.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.1394, allocations: 6.469 kB / 301.4 MB, free: 20.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002792/0.1397, allocations: 402.2 kB / 301.7 MB, free: 19.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1397, allocations: 1.062 kB / 301.7 MB, free: 19.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004168/0.1401, allocations: 170 kB / 301.9 MB, free: 19.98 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.0001237/0.1402, allocations: 119.4 kB / 302 MB, free: 19.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003601/0.1406, allocations: 422.7 kB / 302.4 MB, free: 19.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1406, allocations: 4.062 kB / 302.4 MB, free: 19.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.1407, allocations: 252.7 kB / 302.7 MB, free: 19.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005054/0.1412, allocations: 185.6 kB / 302.9 MB, free: 19.48 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.1428, allocations: 1.386 MB / 304.3 MB, free: 18.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.1429, allocations: 147.5 kB / 304.4 MB, free: 18.6 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001994/0.1431, allocations: 84.61 kB / 304.5 MB, free: 18.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.1434, allocations: 240.3 kB / 304.7 MB, free: 18.52 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1434, allocations: 4 kB / 304.7 MB, free: 18.51 MB / 266.7 MB Notification: Performance of Templates: time 0.01103/0.1544, allocations: 8.966 MB / 313.7 MB, free: 14.69 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.0110923922620714]