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.0007752/0.0007752, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.001918, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0006981/0.0006981, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009728/0.001671, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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 1.022/1.022, allocations: 158.6 MB / 171.2 MB, free: 2.5 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1578/1.179, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.654e-06/1.654e-06, allocations: 0 / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.551e-05/1.716e-05, allocations: 2.312 kB / 222 MB, free: 48 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.009061/0.009078, allocations: 7.824 MB / 229.8 MB, free: 8.172 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004043/0.01312, allocations: 2.661 MB / 232.5 MB, free: 5.5 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000356/0.01348, allocations: 23.94 kB / 232.5 MB, free: 5.477 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008172/0.01429, allocations: 0.4929 MB / 233 MB, free: 4.98 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005581/0.01485, allocations: 452.4 kB / 233.4 MB, free: 4.535 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002807/0.01513, allocations: 219.6 kB / 233.7 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008276/0.01596, allocations: 1.291 MB / 234.9 MB, free: 3.023 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.01634, allocations: 362.4 kB / 235.3 MB, free: 2.641 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006793/0.01702, allocations: 0.8486 MB / 236.2 MB, free: 1.789 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003993/0.01742, allocations: 402.9 kB / 236.5 MB, free: 1.395 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.01753, allocations: 119.9 kB / 236.7 MB, free: 1.277 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.01776, allocations: 159.9 kB / 236.8 MB, free: 1.121 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.01786, allocations: 179.4 kB / 237 MB, free: 0.9453 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.01809, allocations: 331.4 kB / 237.3 MB, free: 0.6211 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006804/0.01877, allocations: 0.755 MB / 238.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.4e-05/0.01878, allocations: 0 / 238.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01878, allocations: 0 / 238.1 MB, free: 15.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.0188, allocations: 3.938 kB / 238.1 MB, free: 15.86 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.001305/0.0201, allocations: 1.43 MB / 239.5 MB, free: 14.4 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.02014, allocations: 12.03 kB / 239.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.02047, allocations: 261.9 kB / 239.8 MB, free: 14.11 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005841/0.02105, allocations: 456.6 kB / 240.2 MB, free: 13.64 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.734e-05/0.02109, allocations: 62.38 kB / 240.3 MB, free: 13.58 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/0.02117, allocations: 96.31 kB / 240.4 MB, free: 13.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005737/0.02175, allocations: 0.646 MB / 241 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.02177, allocations: 7.984 kB / 241 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.02181, allocations: 36 kB / 241.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.02183, allocations: 24 kB / 241.1 MB, free: 12.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.02208, allocations: 209.8 kB / 241.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00217/0.02425, allocations: 2.618 MB / 243.9 MB, free: 9.734 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.02447, allocations: 134.4 kB / 244 MB, free: 9.594 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.793e-05/0.02453, allocations: 44.84 kB / 244.1 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.02455, allocations: 4 kB / 244.1 MB, free: 9.543 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.02459, allocations: 42.94 kB / 244.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of pre-optimization done (n=26): time 2.004e-06/0.02459, allocations: 0 / 244.1 MB, free: 9.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008805/0.02547, allocations: 0.5521 MB / 244.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.0255, allocations: 55.41 kB / 244.7 MB, free: 8.836 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.02594, allocations: 0.6106 MB / 245.3 MB, free: 8.215 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.02596, allocations: 29.7 kB / 245.4 MB, free: 8.18 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.02617, allocations: 480.2 kB / 245.8 MB, free: 7.707 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.02623, allocations: 123 kB / 246 MB, free: 7.586 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.02634, allocations: 118.2 kB / 246.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.02646, allocations: 386.6 kB / 246.5 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.523e-05/0.02651, allocations: 53.28 kB / 246.5 MB, free: 7.023 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.02674, allocations: 396.2 kB / 246.9 MB, free: 6.484 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.0271, allocations: 0.5172 MB / 247.4 MB, free: 5.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.0271, allocations: 0 / 247.4 MB, free: 5.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000411/0.02752, allocations: 425.9 kB / 247.8 MB, free: 5.395 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.02753, allocations: 8 kB / 247.8 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.02754, allocations: 12 kB / 247.8 MB, free: 5.375 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.02766, allocations: 29.64 kB / 247.9 MB, free: 5.344 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/0.02797, allocations: 171.7 kB / 248 MB, free: 5.176 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006428/0.02862, allocations: 1.181 MB / 249.2 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.02882, allocations: 44.06 kB / 249.3 MB, free: 3.863 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.02885, allocations: 24 kB / 249.3 MB, free: 3.84 MB / 250.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.0001467/0.02899, allocations: 161.5 kB / 249.5 MB, free: 3.672 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.02904, allocations: 43.95 kB / 249.5 MB, free: 3.629 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.02927, allocations: 201 kB / 249.7 MB, free: 3.414 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.02927, allocations: 4 kB / 249.7 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.02927, allocations: 0 / 249.7 MB, free: 3.41 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.02928, allocations: 3.984 kB / 249.7 MB, free: 3.406 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.02991, allocations: 0.6021 MB / 250.3 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.02992, allocations: 4 kB / 250.3 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.03009, allocations: 71.89 kB / 250.4 MB, free: 2.68 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.82e-05/0.03019, allocations: 67.52 kB / 250.4 MB, free: 2.613 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.265e-05/0.03025, allocations: 16.86 kB / 250.5 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.03026, allocations: 16.2 kB / 250.5 MB, free: 2.578 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005094/0.03077, allocations: 1.154 MB / 251.6 MB, free: 1.34 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.03077, allocations: 4 kB / 251.6 MB, free: 1.336 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.03105, allocations: 367 kB / 252 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.253e-05/0.03109, allocations: 12.06 kB / 252 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.03123, allocations: 23.98 kB / 252 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/0.03128, allocations: 31.89 kB / 252.1 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.03129, allocations: 4 kB / 252.1 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.000217/0.03151, allocations: 287.4 kB / 252.3 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03151, allocations: 0 / 252.3 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003776/0.03188, allocations: 171.9 kB / 252.5 MB, free: 432 kB / 250.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.0001956/0.03208, allocations: 104.4 kB / 252.6 MB, free: 316 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003943/0.03247, allocations: 370.6 kB / 253 MB, free: 15.93 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.091e-05/0.0325, allocations: 12.5 kB / 253 MB, free: 15.92 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.03266, allocations: 213.2 kB / 253.2 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009923/0.03365, allocations: 1.808 MB / 255 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007977/0.04163, allocations: 1.411 MB / 256.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.04175, allocations: 153.8 kB / 256.6 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002096/0.04196, allocations: 89.64 kB / 256.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.04223, allocations: 201.2 kB / 256.8 MB, free: 11.61 MB / 266.7 MB Notification: Performance of SimCode: time 9.72e-07/0.04223, allocations: 4 kB / 256.8 MB, free: 11.6 MB / 266.7 MB Notification: Performance of Templates: time 0.0121/0.05433, allocations: 8.999 MB / 265.8 MB, free: 2.629 MB / 266.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.97283829189837]