Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0009061/0.0009061, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001094/0.001094, allocations: 166.2 kB / 25.69 MB, free: 8.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8593/0.8593, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 251.6 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.255e-05/2.431e-05, allocations: 6.25 kB / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009304/0.009328, allocations: 7.777 MB / 259.4 MB, free: 15.4 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004575/0.0139, allocations: 2.649 MB / 262 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005303/0.01443, allocations: 27.88 kB / 262 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.01567, allocations: 496.8 kB / 262.5 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008485/0.01651, allocations: 456.4 kB / 263 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.01693, allocations: 215.6 kB / 263.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.01817, allocations: 1.287 MB / 264.5 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008001/0.01897, allocations: 354.5 kB / 264.8 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009095/0.01988, allocations: 0.7365 MB / 265.5 MB, free: 9.148 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006012/0.02049, allocations: 414.8 kB / 266 MB, free: 8.742 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.02063, allocations: 116 kB / 266.1 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002109/0.02084, allocations: 155.9 kB / 266.2 MB, free: 8.477 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.02095, allocations: 239.1 kB / 266.5 MB, free: 8.242 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002484/0.0212, allocations: 395 kB / 266.8 MB, free: 7.855 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006691/0.02186, allocations: 0.8017 MB / 267.6 MB, free: 7.051 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.02187, allocations: 0 / 267.6 MB, free: 7.051 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02187, allocations: 0 / 267.6 MB, free: 7.051 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.02188, allocations: 0 / 267.6 MB, free: 7.051 MB / 250.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.00112/0.023, allocations: 1.211 MB / 268.8 MB, free: 5.812 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.02303, allocations: 15.98 kB / 268.9 MB, free: 5.797 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.02333, allocations: 188.8 kB / 269 MB, free: 5.613 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005144/0.02384, allocations: 456.6 kB / 269.5 MB, free: 5.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.744e-05/0.02388, allocations: 70.38 kB / 269.6 MB, free: 5.066 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.02395, allocations: 84.33 kB / 269.6 MB, free: 4.984 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.02449, allocations: 0.6499 MB / 270.3 MB, free: 4.293 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.02451, allocations: 4 kB / 270.3 MB, free: 4.289 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.559e-05/0.02455, allocations: 36 kB / 270.3 MB, free: 4.254 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.02456, allocations: 23.94 kB / 270.4 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.02481, allocations: 201.8 kB / 270.6 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.02723, allocations: 2.618 MB / 273.2 MB, free: 1.242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.02744, allocations: 126.5 kB / 273.3 MB, free: 1.109 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.434e-05/0.02749, allocations: 48.81 kB / 273.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.02751, allocations: 4 kB / 273.3 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.02754, allocations: 42.94 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.02754, allocations: 0 / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007769/0.02831, allocations: 0.5476 MB / 273.9 MB, free: 428 kB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.02835, allocations: 81.11 kB / 274 MB, free: 328 kB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.02879, allocations: 0.6106 MB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.0288, allocations: 29.7 kB / 274.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.02898, allocations: 476.2 kB / 275.1 MB, free: 15.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.416e-05/0.02903, allocations: 119 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.445e-05/0.02913, allocations: 126.2 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.02923, allocations: 386.6 kB / 275.7 MB, free: 14.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.127e-05/0.02928, allocations: 45.28 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.02948, allocations: 396.2 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.0298, allocations: 0.4888 MB / 276.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.02981, allocations: 4 kB / 276.7 MB, free: 13.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003851/0.03019, allocations: 417.7 kB / 277.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.03021, allocations: 8.938 kB / 277.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.03021, allocations: 12 kB / 277.1 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.587e-05/0.03031, allocations: 40.83 kB / 277.1 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.03059, allocations: 159.7 kB / 277.3 MB, free: 12.69 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005505/0.03114, allocations: 1.174 MB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.03135, allocations: 36.08 kB / 278.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/0.03163, allocations: 31.98 kB / 278.5 MB, free: 11.37 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.0001256/0.03175, allocations: 153.5 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.03181, allocations: 51.95 kB / 278.7 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.03201, allocations: 201 kB / 278.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.03201, allocations: 4 kB / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.03201, allocations: 0 / 278.9 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.03202, allocations: 7.984 kB / 278.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005879/0.03261, allocations: 0.5984 MB / 279.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.03261, allocations: 0 / 279.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.03276, allocations: 67.89 kB / 279.6 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.994e-05/0.03281, allocations: 12.86 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.03282, allocations: 12.22 kB / 279.6 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004613/0.03329, allocations: 1.158 MB / 280.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.03329, allocations: 0 / 280.8 MB, free: 8.945 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002833/0.03357, allocations: 367 kB / 281.1 MB, free: 8.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.384e-05/0.03366, allocations: 67.67 kB / 281.2 MB, free: 8.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.0337, allocations: 15.94 kB / 281.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.03384, allocations: 15.98 kB / 281.2 MB, free: 8.449 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.03389, allocations: 31.89 kB / 281.3 MB, free: 8.418 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.0339, allocations: 4 kB / 281.3 MB, free: 8.414 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002124/0.03411, allocations: 279.4 kB / 281.5 MB, free: 8.141 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03411, allocations: 0 / 281.5 MB, free: 8.141 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003669/0.03448, allocations: 171.9 kB / 281.7 MB, free: 7.973 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.0001316/0.03461, allocations: 104.3 kB / 281.8 MB, free: 7.863 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003445/0.03495, allocations: 361.6 kB / 282.2 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.782e-05/0.03497, allocations: 12.5 kB / 282.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.0351, allocations: 196.8 kB / 282.4 MB, free: 7.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.03555, allocations: 186.5 kB / 282.6 MB, free: 7.109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.03711, allocations: 1.326 MB / 283.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.444e-05/0.0372, allocations: 149.8 kB / 284 MB, free: 5.555 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.0374, allocations: 85.66 kB / 284.1 MB, free: 5.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.03766, allocations: 205.2 kB / 284.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.03766, allocations: 0 / 284.3 MB, free: 5.27 MB / 266.7 MB Notification: Performance of Templates: time 0.01225/0.04992, allocations: 8.928 MB / 293.2 MB, free: 12.38 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.8194078532978892]