Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.002531/0.002531, allocations: 95.55 kB / 21.73 MB, free: 2.684 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.002722/0.002722, allocations: 165 kB / 25.03 MB, free: 8.934 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 1.378/1.378, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] 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_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 250.4 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.159e-05, allocations: 6.312 kB / 250.4 MB, free: 7.805 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01414/0.01417, allocations: 9.459 MB / 259.8 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006371/0.02055, allocations: 3.058 MB / 262.9 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009541/0.0215, allocations: 35.81 kB / 262.9 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.02307, allocations: 0.5664 MB / 263.5 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.02445, allocations: 0.5968 MB / 264.1 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.02512, allocations: 331.4 kB / 264.4 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.0275, allocations: 1.835 MB / 266.3 MB, free: 7.848 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00075/0.02825, allocations: 421.3 kB / 266.7 MB, free: 7.414 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001462/0.02971, allocations: 1.041 MB / 267.7 MB, free: 6.371 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009112/0.03062, allocations: 0.5686 MB / 268.3 MB, free: 5.801 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000264/0.03089, allocations: 156 kB / 268.4 MB, free: 5.648 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.0313, allocations: 204 kB / 268.6 MB, free: 5.449 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003443/0.03165, allocations: 346.6 kB / 269 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007205/0.03237, allocations: 0.5612 MB / 269.5 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002507/0.03488, allocations: 2.017 MB / 271.5 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.03488, allocations: 0 / 271.5 MB, free: 2.523 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.03488, allocations: 0 / 271.5 MB, free: 2.523 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.161e-05/0.0349, allocations: 4 kB / 271.6 MB, free: 2.52 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003809/0.03871, allocations: 1.96 MB / 273.5 MB, free: 0.5 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.03875, allocations: 11.98 kB / 273.5 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007209/0.03948, allocations: 299.9 kB / 273.8 MB, free: 200 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001496/0.04097, allocations: 0.7895 MB / 274.6 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.04116, allocations: 159.8 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.04135, allocations: 124.3 kB / 274.9 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002505/0.04385, allocations: 1.664 MB / 276.5 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.04389, allocations: 3.938 kB / 276.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.044, allocations: 51.94 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.382e-05/0.04403, allocations: 31.98 kB / 276.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.04564, allocations: 0.7219 MB / 277.4 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007321/0.05297, allocations: 4.116 MB / 281.5 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.05464, allocations: 0.5551 MB / 282 MB, free: 7.523 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000511/0.05515, allocations: 241.5 kB / 282.3 MB, free: 7.281 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.853e-05/0.05521, allocations: 16.48 kB / 282.3 MB, free: 7.262 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006607/0.05587, allocations: 325.6 kB / 282.6 MB, free: 6.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 2.435e-06/0.05588, allocations: 0 / 282.6 MB, free: 6.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.005086/0.06096, allocations: 1.844 MB / 284.4 MB, free: 5.039 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003369/0.0613, allocations: 479.3 kB / 284.9 MB, free: 4.461 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001857/0.06316, allocations: 1.224 MB / 286.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.06322, allocations: 49.64 kB / 286.2 MB, free: 3.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000996/0.06422, allocations: 0.7794 MB / 287 MB, free: 2.371 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/0.06447, allocations: 254 kB / 287.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.06483, allocations: 236.5 kB / 287.4 MB, free: 1.883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003213/0.06515, allocations: 0.5394 MB / 288 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.06574, allocations: 289.9 kB / 288.3 MB, free: 1.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001587/0.06733, allocations: 1.376 MB / 289.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.069, allocations: 1.12 MB / 290.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.06901, allocations: 0 / 290.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002286/0.07129, allocations: 1.229 MB / 292 MB, free: 12.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.979e-05/0.07136, allocations: 59.41 kB / 292 MB, free: 12.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.07138, allocations: 12 kB / 292.1 MB, free: 12.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006277/0.07201, allocations: 187.3 kB / 292.2 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006905/0.0727, allocations: 199.7 kB / 292.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/0.07844, allocations: 4.759 MB / 297.2 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008503/0.07929, allocations: 55.92 kB / 297.2 MB, free: 7.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.07936, allocations: 48 kB / 297.3 MB, free: 7.078 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0005614/0.07992, allocations: 344.4 kB / 297.6 MB, free: 6.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.08014, allocations: 139.3 kB / 297.8 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001568/0.08171, allocations: 0.6789 MB / 298.4 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.08171, allocations: 7.938 kB / 298.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.08171, allocations: 0 / 298.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001522/0.08324, allocations: 0.945 MB / 299.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/0.08694, allocations: 1.825 MB / 301.2 MB, free: 2.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.08695, allocations: 8.281 kB / 301.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004923/0.08744, allocations: 103.8 kB / 301.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004859/0.08792, allocations: 139.2 kB / 301.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/0.08797, allocations: 20 kB / 301.5 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00473/0.0927, allocations: 4.467 MB / 306 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.0927, allocations: 0 / 306 MB, free: 13.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.09473, allocations: 1.109 MB / 307.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007489/0.09548, allocations: 159.2 kB / 307.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.09562, allocations: 28.05 kB / 307.2 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.09618, allocations: 31.92 kB / 307.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.09634, allocations: 64.33 kB / 307.3 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.09638, allocations: 20 kB / 307.4 MB, free: 12.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001131/0.09751, allocations: 0.7399 MB / 308.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09751, allocations: 0 / 308.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001147/0.09866, allocations: 307.9 kB / 308.4 MB, free: 11.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.09893, allocations: 135.1 kB / 308.5 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.1013, allocations: 1.298 MB / 309.8 MB, free: 9.918 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.1013, allocations: 4 kB / 309.8 MB, free: 9.914 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.1024, allocations: 0.6595 MB / 310.5 MB, free: 9.219 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.1038, allocations: 305 kB / 310.8 MB, free: 8.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/0.1077, allocations: 2.137 MB / 312.9 MB, free: 6.715 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006076/0.1083, allocations: 0.4969 MB / 313.4 MB, free: 6.184 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004989/0.1088, allocations: 132.6 kB / 313.6 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.109, allocations: 72.5 kB / 313.6 MB, free: 5.98 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.109, allocations: 0 / 313.6 MB, free: 5.98 MB / 298.7 MB Notification: Performance of Templates: time 0.03392/0.143, allocations: 17.18 MB / 330.8 MB, free: 4.801 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_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_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 8.546567513025366]