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.0009204/0.0009204, allocations: 85.17 kB / 21.5 MB, free: 2.988 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.0009361/0.0009361, allocations: 142.2 kB / 24.89 MB, free: 8.785 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 0.872/0.872, allocations: 173.4 MB / 201.5 MB, free: 8.25 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.623e-06/1.623e-06, allocations: 0 / 268.5 MB, free: 9.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/2.115e-05, allocations: 6.25 kB / 268.5 MB, free: 9.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.00904/0.009062, allocations: 7.816 MB / 276.3 MB, free: 1.887 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004799/0.01386, allocations: 2.644 MB / 279 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000675/0.01454, allocations: 27.94 kB / 279 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.01587, allocations: 0.4928 MB / 279.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.01695, allocations: 452.5 kB / 279.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.01731, allocations: 223.5 kB / 280.2 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007777/0.01809, allocations: 1.278 MB / 281.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003697/0.01846, allocations: 354.5 kB / 281.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005069/0.01897, allocations: 0.7521 MB / 282.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003839/0.01935, allocations: 402.8 kB / 282.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.824e-05/0.01944, allocations: 112 kB / 283 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.01964, allocations: 159.9 kB / 283.2 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.01974, allocations: 235.1 kB / 283.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.01997, allocations: 399 kB / 283.8 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006515/0.02062, allocations: 0.7978 MB / 284.6 MB, free: 9.555 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.02062, allocations: 4 kB / 284.6 MB, free: 9.551 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02062, allocations: 4 kB / 284.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.02063, allocations: 0 / 284.6 MB, free: 9.547 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.001022/0.02165, allocations: 1.208 MB / 285.8 MB, free: 8.312 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.02169, allocations: 12.03 kB / 285.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002835/0.02197, allocations: 180.8 kB / 286 MB, free: 8.125 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004716/0.02244, allocations: 468.6 kB / 286.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.02247, allocations: 66.31 kB / 286.5 MB, free: 7.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.02254, allocations: 92.34 kB / 286.6 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004966/0.02303, allocations: 0.646 MB / 287.3 MB, free: 6.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.02305, allocations: 3.953 kB / 287.3 MB, free: 6.789 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.02309, allocations: 36 kB / 287.3 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.0231, allocations: 24 kB / 287.3 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002356/0.02333, allocations: 217.8 kB / 287.6 MB, free: 6.516 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.02538, allocations: 2.598 MB / 290.2 MB, free: 3.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.02557, allocations: 133.4 kB / 290.3 MB, free: 3.613 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.621e-05/0.02563, allocations: 44.84 kB / 290.3 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.02565, allocations: 4 kB / 290.3 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.02567, allocations: 46.44 kB / 290.4 MB, free: 3.508 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.02567, allocations: 0 / 290.4 MB, free: 3.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007176/0.02639, allocations: 0.5492 MB / 290.9 MB, free: 2.926 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.02642, allocations: 85.05 kB / 291 MB, free: 2.824 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.02681, allocations: 0.6105 MB / 291.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.02683, allocations: 29.7 kB / 291.6 MB, free: 2.164 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.027, allocations: 480.3 kB / 292.1 MB, free: 1.688 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.02705, allocations: 111.1 kB / 292.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.02714, allocations: 134.1 kB / 292.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.817e-05/0.02724, allocations: 382.6 kB / 292.7 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-05/0.02729, allocations: 49.28 kB / 292.8 MB, free: 1.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.02749, allocations: 396.2 kB / 293.2 MB, free: 484 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.02778, allocations: 488.5 kB / 293.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.02779, allocations: 4 kB / 293.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003725/0.02816, allocations: 430.8 kB / 294.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.02817, allocations: 8 kB / 294.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.02818, allocations: 12 kB / 294.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.908e-05/0.02827, allocations: 28.84 kB / 294.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.02854, allocations: 155.7 kB / 294.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005287/0.02907, allocations: 1.179 MB / 295.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.02926, allocations: 39.94 kB / 295.5 MB, free: 13.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.02928, allocations: 35.94 kB / 295.5 MB, free: 13.87 MB / 282.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.0001203/0.0294, allocations: 157.5 kB / 295.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.02946, allocations: 56.03 kB / 295.7 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.02966, allocations: 201 kB / 295.9 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.02966, allocations: 4 kB / 295.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.02966, allocations: 0 / 295.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.02966, allocations: 0 / 295.9 MB, free: 13.44 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.03022, allocations: 0.6042 MB / 296.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.03022, allocations: 0 / 296.5 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.03037, allocations: 68.17 kB / 296.6 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.521e-05/0.03041, allocations: 24.78 kB / 296.6 MB, free: 12.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.03042, allocations: 8 kB / 296.6 MB, free: 12.69 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004405/0.03086, allocations: 1.154 MB / 297.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.03087, allocations: 8.125 kB / 297.8 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.03111, allocations: 358.6 kB / 298.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.933e-05/0.0312, allocations: 63.53 kB / 298.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.968e-05/0.03124, allocations: 15.92 kB / 298.2 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.03138, allocations: 12 kB / 298.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.249e-05/0.03142, allocations: 27.95 kB / 298.3 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-06/0.03143, allocations: 8 kB / 298.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002069/0.03164, allocations: 283.4 kB / 298.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03164, allocations: 4 kB / 298.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003355/0.03197, allocations: 167.9 kB / 298.7 MB, free: 10.47 MB / 282.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.0001204/0.03209, allocations: 100.3 kB / 298.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003176/0.03241, allocations: 363.5 kB / 299.2 MB, free: 9.996 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/0.03242, allocations: 12.5 kB / 299.2 MB, free: 9.984 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.03255, allocations: 192.4 kB / 299.4 MB, free: 9.781 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004123/0.03296, allocations: 182.5 kB / 299.5 MB, free: 9.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.03438, allocations: 1.326 MB / 300.9 MB, free: 8.219 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.785e-05/0.03447, allocations: 149.8 kB / 301 MB, free: 8.051 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001646/0.03463, allocations: 81.66 kB / 301.1 MB, free: 7.969 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.03488, allocations: 209.2 kB / 301.3 MB, free: 7.766 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.03488, allocations: 0 / 301.3 MB, free: 7.766 MB / 282.7 MB Notification: Performance of Templates: time 0.01085/0.04573, allocations: 8.926 MB / 310.2 MB, free: 15.05 MB / 298.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 -s gbode -gbm=radauIIA3 -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: 2.8085470688529313]