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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,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=500000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000919/0.000919, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007868/0.0007867, allocations: 86.72 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.7e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07255/0.07258, allocations: 47.59 MB / 363.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3128/0.3854, allocations: 99.5 MB / 462.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.3857, allocations: 87.72 kB / 462.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07891/0.4646, allocations: 30.44 MB / 493.1 MB, free: 3.477 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4647, allocations: 0 / 493.1 MB, free: 3.477 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.966e-05/0.4647, allocations: 32 kB / 493.1 MB, free: 3.445 MB / 362.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.00214/0.4669, allocations: 1.352 MB / 494.5 MB, free: 2.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.4669, allocations: 12.03 kB / 494.5 MB, free: 2.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005214/0.4675, allocations: 202.1 kB / 494.7 MB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.4688, allocations: 0.8519 MB / 495.6 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.469, allocations: 79.83 kB / 495.6 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.4691, allocations: 71.91 kB / 495.7 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001108/0.4702, allocations: 0.633 MB / 496.3 MB, free: 132 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.4717, allocations: 0.9276 MB / 497.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.4717, allocations: 7.984 kB / 497.3 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.026e-05/0.4718, allocations: 3.938 kB / 497.3 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.4718, allocations: 28 kB / 497.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005083/0.4769, allocations: 3.724 MB / 0.4893 GB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.4782, allocations: 0.5141 MB / 0.4898 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.4785, allocations: 219.9 kB / 0.49 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.4785, allocations: 12.5 kB / 0.49 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000406/0.479, allocations: 254 kB / 0.4902 GB, free: 10.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.634e-06/0.479, allocations: 0 / 0.4902 GB, free: 10.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002427/0.4814, allocations: 1.407 MB / 0.4916 GB, free: 8.684 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/0.4816, allocations: 487 kB / 0.4921 GB, free: 8.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009075/0.4825, allocations: 0.7402 MB / 0.4928 GB, free: 7.336 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.4826, allocations: 25.7 kB / 0.4928 GB, free: 7.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.483, allocations: 0.6578 MB / 0.4935 GB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.4832, allocations: 224.7 kB / 0.4937 GB, free: 6.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.4832, allocations: 0 / 0.4937 GB, free: 6.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4833, allocations: 341.9 kB / 0.494 GB, free: 6.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000324/0.4836, allocations: 206.5 kB / 0.4942 GB, free: 5.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/0.4842, allocations: 0.6444 MB / 0.4948 GB, free: 5.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004452/0.4847, allocations: 304.2 kB / 0.4951 GB, free: 4.723 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.4847, allocations: 0 / 0.4951 GB, free: 4.723 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001585/0.4863, allocations: 0.9462 MB / 0.4961 GB, free: 3.762 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.4864, allocations: 63.41 kB / 0.4961 GB, free: 3.688 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.4864, allocations: 12 kB / 0.4961 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006148/0.487, allocations: 185.6 kB / 0.4963 GB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006868/0.4877, allocations: 211.7 kB / 0.4965 GB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.4913, allocations: 3.41 MB / 0.4998 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007999/0.4921, allocations: 55.97 kB / 0.4999 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/0.4921, allocations: 52 kB / 0.4999 GB, free: 15.54 MB / 394.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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001679/0.4923, allocations: 144.7 kB / 0.5001 GB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4925, allocations: 106.7 kB / 0.5002 GB, free: 15.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001237/0.4937, allocations: 0.6283 MB / 0.5008 GB, free: 14.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4937, allocations: 8 kB / 0.5008 GB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.4937, allocations: 4 kB / 0.5008 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009961/0.4947, allocations: 0.8826 MB / 0.5017 GB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.4971, allocations: 1.591 MB / 0.5032 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.4971, allocations: 3.938 kB / 0.5032 GB, free: 11.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.4976, allocations: 120 kB / 0.5033 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003972/0.498, allocations: 125.6 kB / 0.5035 GB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.4981, allocations: 11.95 kB / 0.5035 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002687/0.5008, allocations: 3.154 MB / 0.5065 GB, free: 8.316 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5008, allocations: 3.984 kB / 0.5066 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/0.5024, allocations: 1.034 MB / 0.5076 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003836/0.5028, allocations: 231.8 kB / 0.5078 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001299/0.503, allocations: 4 kB / 0.5078 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/0.5035, allocations: 47.8 kB / 0.5078 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.5036, allocations: 60.41 kB / 0.5079 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.5037, allocations: 20 kB / 0.5079 GB, free: 6.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007889/0.5045, allocations: 0.545 MB / 0.5084 GB, free: 6.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5045, allocations: 0 / 0.5084 GB, free: 6.266 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001153/0.5056, allocations: 299.9 kB / 0.5087 GB, free: 5.973 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004296/0.5061, allocations: 303.2 kB / 0.509 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.5079, allocations: 0.9677 MB / 0.51 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5079, allocations: 0 / 0.51 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.5086, allocations: 0.4901 MB / 0.5104 GB, free: 4.148 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.5099, allocations: 256.4 kB / 0.5107 GB, free: 3.898 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.5133, allocations: 1.569 MB / 0.5122 GB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/0.514, allocations: 1.108 MB / 0.5133 GB, free: 1.141 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000627/0.5146, allocations: 128.6 kB / 0.5134 GB, free: 1.012 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.5148, allocations: 67.44 kB / 0.5135 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5148, allocations: 0 / 0.5135 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of Templates: time 0.02623/0.5411, allocations: 14.36 MB / 0.5275 GB, free: 2.562 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches