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.001536/0.001536, allocations: 80.81 kB / 21.5 MB, free: 2.828 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.001987/0.001987, allocations: 164.3 kB / 24.91 MB, free: 9.258 MB / 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.9998/0.9998, allocations: 177 MB / 205.2 MB, free: 5.145 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 1.833e-06/1.833e-06, allocations: 0 / 273.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.285e-05, allocations: 2.312 kB / 273.4 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009794/0.009827, allocations: 7.837 MB / 281.3 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006302/0.01613, allocations: 2.671 MB / 283.9 MB, free: 6.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.01726, allocations: 23.94 kB / 284 MB, free: 6.395 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.01879, allocations: 0.4967 MB / 284.5 MB, free: 5.895 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.02112, allocations: 456.4 kB / 284.9 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.02191, allocations: 215.6 kB / 285.1 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.02365, allocations: 1.283 MB / 286.4 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006916/0.02434, allocations: 362.4 kB / 286.8 MB, free: 3.562 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.02568, allocations: 0.7443 MB / 287.5 MB, free: 2.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008875/0.02657, allocations: 422.8 kB / 287.9 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002791/0.02684, allocations: 116 kB / 288 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004206/0.02726, allocations: 156 kB / 288.2 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.02746, allocations: 235.1 kB / 288.4 MB, free: 1.906 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005611/0.02802, allocations: 395.1 kB / 288.8 MB, free: 1.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.02926, allocations: 0.8055 MB / 289.6 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.02927, allocations: 0 / 289.6 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.02927, allocations: 0 / 289.6 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.464e-05/0.0293, allocations: 0 / 289.6 MB, free: 0.7109 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.1206/0.1499, allocations: 1.205 MB / 290.8 MB, free: 24.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1499, allocations: 13.73 kB / 290.8 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005215/0.1504, allocations: 207.6 kB / 291 MB, free: 24.61 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007345/0.1512, allocations: 456.7 kB / 291.5 MB, free: 24.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.784e-05/0.1512, allocations: 63.34 kB / 291.5 MB, free: 24.41 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.663e-05/0.1513, allocations: 84.52 kB / 291.6 MB, free: 24.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007143/0.152, allocations: 0.6528 MB / 292.3 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.152, allocations: 6.953 kB / 292.3 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.54e-05/0.1521, allocations: 32.84 kB / 292.3 MB, free: 24.22 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.1521, allocations: 24.84 kB / 292.3 MB, free: 24.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003492/0.1524, allocations: 210.8 kB / 292.5 MB, free: 24.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.155, allocations: 2.61 MB / 295.1 MB, free: 22.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.1553, allocations: 135.5 kB / 295.3 MB, free: 22.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.1553, allocations: 42.64 kB / 295.3 MB, free: 22.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1554, allocations: 5.297 kB / 295.3 MB, free: 22.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.1554, allocations: 44.05 kB / 295.4 MB, free: 22.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 2.866e-06/0.1554, allocations: 1.281 kB / 295.4 MB, free: 22.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.000968/0.1564, allocations: 0.5548 MB / 295.9 MB, free: 22.47 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.1564, allocations: 81.2 kB / 296 MB, free: 22.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005452/0.1569, allocations: 0.6066 MB / 296.6 MB, free: 22.22 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.157, allocations: 30.27 kB / 296.6 MB, free: 22.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.1571, allocations: 485 kB / 297.1 MB, free: 21.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.1572, allocations: 108.3 kB / 297.2 MB, free: 21.81 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1573, allocations: 130.7 kB / 297.3 MB, free: 21.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.754e-05/0.1574, allocations: 380.4 kB / 297.7 MB, free: 21.47 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.714e-05/0.1575, allocations: 47.78 kB / 297.8 MB, free: 21.47 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.1576, allocations: 399.8 kB / 298.2 MB, free: 21.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.158, allocations: 493.5 kB / 298.6 MB, free: 20.66 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.158, allocations: 3.344 kB / 298.6 MB, free: 20.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0005145/0.1585, allocations: 427.2 kB / 299.1 MB, free: 20.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1585, allocations: 9.031 kB / 299.1 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.1585, allocations: 10.62 kB / 299.1 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001299/0.1587, allocations: 30.56 kB / 299.1 MB, free: 20.61 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.159, allocations: 162.7 kB / 299.3 MB, free: 20.6 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005473/0.1596, allocations: 1.178 MB / 300.4 MB, free: 19.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.1599, allocations: 40.58 kB / 300.5 MB, free: 19.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.071e-05/0.1599, allocations: 27.08 kB / 300.5 MB, free: 19.46 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.0001431/0.16, allocations: 157.8 kB / 300.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.1601, allocations: 48.7 kB / 300.7 MB, free: 19.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000256/0.1604, allocations: 200.7 kB / 300.9 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1604, allocations: 7.625 kB / 300.9 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1604, allocations: 0 / 300.9 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.1604, allocations: 1.453 kB / 300.9 MB, free: 19.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008946/0.1613, allocations: 0.5956 MB / 301.5 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1613, allocations: 1.875 kB / 301.5 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/0.1615, allocations: 70.42 kB / 301.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.529e-05/0.1616, allocations: 18.08 kB / 301.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1616, allocations: 7.594 kB / 301.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003915/0.162, allocations: 1.163 MB / 302.8 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.162, allocations: 2.594 kB / 302.8 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.1623, allocations: 363.2 kB / 303.1 MB, free: 17.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.1624, allocations: 67.11 kB / 303.2 MB, free: 17.58 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.742e-05/0.1624, allocations: 8.062 kB / 303.2 MB, free: 17.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.1626, allocations: 21.12 kB / 303.2 MB, free: 17.58 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/0.1627, allocations: 32.11 kB / 303.2 MB, free: 17.57 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.1627, allocations: 5.234 kB / 303.3 MB, free: 17.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003118/0.163, allocations: 282.9 kB / 303.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.163, allocations: 0 / 303.5 MB, free: 17.54 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005365/0.1635, allocations: 171.8 kB / 303.7 MB, free: 17.54 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.0002034/0.1637, allocations: 106 kB / 303.8 MB, free: 17.46 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004837/0.1642, allocations: 358.1 kB / 304.2 MB, free: 17.31 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.907e-05/0.1642, allocations: 13.56 kB / 304.2 MB, free: 17.31 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1644, allocations: 190.5 kB / 304.4 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.0005559/0.1649, allocations: 183.7 kB / 304.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.1669, allocations: 1.332 MB / 305.9 MB, free: 16.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.167, allocations: 148.1 kB / 306 MB, free: 16.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002801/0.1673, allocations: 87.11 kB / 306.1 MB, free: 16.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.1676, allocations: 200.3 kB / 306.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of SimCode: time 1.684e-06/0.1676, allocations: 1.5 kB / 306.3 MB, free: 16.25 MB / 266.7 MB Notification: Performance of Templates: time 0.01253/0.1801, allocations: 8.952 MB / 315.2 MB, free: 9.953 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 -s gbode -gbm=radauIIA3 -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.0908079599030316]