Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.267/1.267, allocations: 225.6 MB / 234.8 MB, free: 3.242 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008191/0.0008192, allocations: 99.27 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.278e-05/1.28e-05, allocations: 4 kB / 343.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.08877, allocations: 51.48 MB / 395.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3063/0.3951, allocations: 95.13 MB / 490.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.3953, allocations: 85.33 kB / 490.4 MB, free: 14.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05812/0.4535, allocations: 23.66 MB / 0.502 GB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.4535, allocations: 0 / 0.502 GB, free: 11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.027e-05/0.4535, allocations: 23.98 kB / 0.502 GB, free: 10.97 MB / 378.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.001378/0.4549, allocations: 1.001 MB / 0.503 GB, free: 9.988 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.455, allocations: 12.97 kB / 0.503 GB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006337/0.4556, allocations: 182 kB / 0.5032 GB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.4566, allocations: 0.6771 MB / 0.5038 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.4567, allocations: 24 kB / 0.5039 GB, free: 9.195 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-05/0.4568, allocations: 55.94 kB / 0.5039 GB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007206/0.4575, allocations: 452.1 kB / 0.5043 GB, free: 8.879 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.4585, allocations: 0.6621 MB / 0.505 GB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-05/0.4586, allocations: 11.91 kB / 0.505 GB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.4587, allocations: 0 / 0.505 GB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.4587, allocations: 20 kB / 0.505 GB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003947/0.4626, allocations: 3.475 MB / 0.5084 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.463, allocations: 204.8 kB / 0.5086 GB, free: 4.422 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.4632, allocations: 96.78 kB / 0.5087 GB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/0.4632, allocations: 4 kB / 0.5087 GB, free: 4.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.4632, allocations: 38.56 kB / 0.5087 GB, free: 4.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.4632, allocations: 0 / 0.5087 GB, free: 4.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001207/0.4645, allocations: 0.7814 MB / 0.5095 GB, free: 3.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.4645, allocations: 81.09 kB / 0.5096 GB, free: 3.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.4651, allocations: 0.519 MB / 0.5101 GB, free: 2.812 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.4652, allocations: 25.7 kB / 0.5101 GB, free: 2.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/0.4655, allocations: 0.5132 MB / 0.5106 GB, free: 2.262 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/0.4655, allocations: 102.6 kB / 0.5107 GB, free: 2.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.4656, allocations: 0 / 0.5107 GB, free: 2.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.4657, allocations: 374.8 kB / 0.5111 GB, free: 1.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.4659, allocations: 93.56 kB / 0.5112 GB, free: 1.691 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.4662, allocations: 389 kB / 0.5115 GB, free: 1.176 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.4665, allocations: 164.6 kB / 0.5117 GB, free: 1.016 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4665, allocations: 7.938 kB / 0.5117 GB, free: 1.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007864/0.4673, allocations: 0.5018 MB / 0.5122 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.4673, allocations: 12 kB / 0.5122 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.4673, allocations: 8.781 kB / 0.5122 GB, free: 488 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/0.4675, allocations: 36.86 kB / 0.5122 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.4679, allocations: 147.7 kB / 0.5124 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008854/0.4688, allocations: 1.24 MB / 0.5136 GB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.4692, allocations: 27.89 kB / 0.5136 GB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.4693, allocations: 32 kB / 0.5137 GB, free: 14.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.4694, allocations: 132.8 kB / 0.5138 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.182e-05/0.4695, allocations: 67.2 kB / 0.5138 GB, free: 14.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004508/0.47, allocations: 261.4 kB / 0.5141 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.47, allocations: 4 kB / 0.5141 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.47, allocations: 4 kB / 0.5141 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.47, allocations: 3.984 kB / 0.5141 GB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.4713, allocations: 0.9408 MB / 0.515 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4713, allocations: 0 / 0.515 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.4716, allocations: 68.17 kB / 0.5151 GB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.873e-05/0.4717, allocations: 24.8 kB / 0.5151 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.4717, allocations: 0 / 0.5151 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007623/0.4725, allocations: 1.236 MB / 0.5163 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4725, allocations: 7.938 kB / 0.5163 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006105/0.4731, allocations: 0.5727 MB / 0.5169 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.4733, allocations: 164.3 kB / 0.517 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.666e-05/0.4734, allocations: 4 kB / 0.517 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.4737, allocations: 23.92 kB / 0.5171 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.344e-05/0.4738, allocations: 31.91 kB / 0.5171 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.4738, allocations: 8 kB / 0.5171 GB, free: 11.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004427/0.4743, allocations: 391.2 kB / 0.5175 GB, free: 10.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4743, allocations: 4 kB / 0.5175 GB, free: 10.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006521/0.4749, allocations: 159.9 kB / 0.5176 GB, free: 10.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000394/0.4753, allocations: 289.2 kB / 0.5179 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006381/0.476, allocations: 385.8 kB / 0.5183 GB, free: 9.816 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.476, allocations: 2.25 kB / 0.5183 GB, free: 9.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002754/0.4763, allocations: 221.5 kB / 0.5185 GB, free: 9.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007718/0.4771, allocations: 156.2 kB / 0.5186 GB, free: 9.441 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.4789, allocations: 1.032 MB / 0.5197 GB, free: 8.363 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005817/0.4795, allocations: 0.9717 MB / 0.5206 GB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003375/0.4798, allocations: 85.44 kB / 0.5207 GB, free: 7.277 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.483e-05/0.4799, allocations: 47.38 kB / 0.5207 GB, free: 7.23 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4799, allocations: 0 / 0.5207 GB, free: 7.23 MB / 394.7 MB Notification: Performance of Templates: time 0.01435/0.4943, allocations: 7.34 MB / 0.5279 GB, free: 4 kB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches