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.0007922/0.0007922, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001129/0.001921, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0006512/0.0006512, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009188/0.00157, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8028/0.8028, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1362/0.9389, allocations: 52.5 MB / 238.5 MB, free: 7.617 MB / 234.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.473e-06/1.473e-06, allocations: 0 / 239.7 MB, free: 6.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.194e-05, allocations: 2.312 kB / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.008918/0.00894, allocations: 7.855 MB / 247.6 MB, free: 14.47 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00405/0.01299, allocations: 2.672 MB / 250.3 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.01335, allocations: 23.94 kB / 250.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007727/0.01412, allocations: 0.4963 MB / 250.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.01461, allocations: 451.3 kB / 251.2 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.01487, allocations: 219.6 kB / 251.4 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007527/0.01562, allocations: 1.295 MB / 252.7 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.01595, allocations: 354.4 kB / 253.1 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006097/0.01656, allocations: 0.8485 MB / 253.9 MB, free: 8.113 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.01692, allocations: 418.8 kB / 254.3 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.577e-05/0.017, allocations: 112 kB / 254.5 MB, free: 7.594 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001963/0.0172, allocations: 159.9 kB / 254.6 MB, free: 7.438 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.683e-05/0.0173, allocations: 179.4 kB / 254.8 MB, free: 7.262 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002213/0.01752, allocations: 339.4 kB / 255.1 MB, free: 6.93 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005961/0.01812, allocations: 0.7511 MB / 255.9 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.01813, allocations: 0 / 255.9 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01813, allocations: 0 / 255.9 MB, free: 6.176 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.01814, allocations: 0 / 255.9 MB, free: 6.176 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.001171/0.01931, allocations: 1.434 MB / 257.3 MB, free: 4.711 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.01934, allocations: 8.031 kB / 257.3 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.01967, allocations: 269.9 kB / 257.6 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.02015, allocations: 456.6 kB / 258 MB, free: 3.945 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.02018, allocations: 66.38 kB / 258.1 MB, free: 3.883 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-05/0.02025, allocations: 88.36 kB / 258.2 MB, free: 3.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005148/0.02077, allocations: 0.646 MB / 258.8 MB, free: 3.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.02079, allocations: 7.953 kB / 258.8 MB, free: 3.098 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.504e-05/0.02082, allocations: 32 kB / 258.9 MB, free: 3.066 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.02084, allocations: 24 kB / 258.9 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.02106, allocations: 217.7 kB / 259.1 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.02299, allocations: 2.614 MB / 261.7 MB, free: 48 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.02318, allocations: 122.5 kB / 261.8 MB, free: 15.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.02323, allocations: 56.75 kB / 261.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.02325, allocations: 4 kB / 261.9 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.02328, allocations: 50.44 kB / 261.9 MB, free: 15.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.303e-06/0.02328, allocations: 4 kB / 261.9 MB, free: 15.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.000703/0.02398, allocations: 0.5486 MB / 262.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.024, allocations: 59.34 kB / 262.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000376/0.02438, allocations: 0.6105 MB / 263.2 MB, free: 14.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.0244, allocations: 29.7 kB / 263.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.02457, allocations: 484.3 kB / 263.7 MB, free: 14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.02462, allocations: 111.1 kB / 263.8 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.02471, allocations: 122.2 kB / 263.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.02481, allocations: 386.5 kB / 264.3 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.02e-05/0.02486, allocations: 49.28 kB / 264.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.02505, allocations: 392.2 kB / 264.7 MB, free: 12.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.02537, allocations: 0.5091 MB / 265.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.02537, allocations: 0 / 265.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0003598/0.02573, allocations: 434.6 kB / 265.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.02574, allocations: 8 kB / 265.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.02575, allocations: 12 kB / 265.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.703e-05/0.02584, allocations: 32.84 kB / 265.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.02611, allocations: 167.7 kB / 265.8 MB, free: 11.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005181/0.02663, allocations: 1.186 MB / 267 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.02682, allocations: 35.94 kB / 267.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.02684, allocations: 24 kB / 267.1 MB, free: 10.15 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.0001166/0.02696, allocations: 161.7 kB / 267.2 MB, free: 9.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.02701, allocations: 51.94 kB / 267.3 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.0272, allocations: 197 kB / 267.5 MB, free: 9.723 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.0272, allocations: 4 kB / 267.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.0272, allocations: 0 / 267.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.0272, allocations: 0 / 267.5 MB, free: 9.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.02776, allocations: 0.6081 MB / 268.1 MB, free: 9.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.02776, allocations: 8.219 kB / 268.1 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.02791, allocations: 59.97 kB / 268.2 MB, free: 8.996 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.02799, allocations: 63.56 kB / 268.2 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.007e-05/0.02804, allocations: 24.78 kB / 268.3 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.02805, allocations: 11.94 kB / 268.3 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004244/0.02848, allocations: 1.17 MB / 269.4 MB, free: 7.637 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.02848, allocations: 4 kB / 269.4 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.02872, allocations: 354.6 kB / 269.8 MB, free: 7.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.02876, allocations: 11.94 kB / 269.8 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.0289, allocations: 19.98 kB / 269.8 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.02893, allocations: 19.97 kB / 269.8 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.02894, allocations: 11.98 kB / 269.8 MB, free: 7.184 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001917/0.02913, allocations: 279.5 kB / 270.1 MB, free: 6.914 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02913, allocations: 4 kB / 270.1 MB, free: 6.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003345/0.02947, allocations: 171.9 kB / 270.3 MB, free: 6.742 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.0001278/0.0296, allocations: 92.41 kB / 270.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.02991, allocations: 377.4 kB / 270.8 MB, free: 6.266 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.002e-05/0.02993, allocations: 16.48 kB / 270.8 MB, free: 6.25 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.03007, allocations: 207.5 kB / 271 MB, free: 6.031 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/0.03092, allocations: 1.801 MB / 272.8 MB, free: 3.871 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009897/0.04081, allocations: 1.427 MB / 274.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.04094, allocations: 153.8 kB / 274.3 MB, free: 2.207 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002639/0.04121, allocations: 85.66 kB / 274.4 MB, free: 2.121 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.04156, allocations: 201.2 kB / 274.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.04156, allocations: 0 / 274.6 MB, free: 1.926 MB / 266.7 MB Notification: Performance of Templates: time 0.0125/0.05406, allocations: 9.004 MB / 283.6 MB, free: 9.133 MB / 282.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.654446439817548]