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.001538/0.001539, allocations: 197.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 226.5 MB / 245.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007669/0.0007669, allocations: 101.2 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002422/0.0002423, allocations: 8 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2384, allocations: 51.28 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1377/0.3762, allocations: 95.86 MB / 0.4934 GB, free: 11.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.3765, allocations: 79.95 kB / 0.4935 GB, free: 11.56 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.269/0.6454, allocations: 23.87 MB / 0.5168 GB, free: 90.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6455, allocations: 0 / 0.5168 GB, free: 90.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.481e-05/0.6456, allocations: 17.38 kB / 0.5168 GB, free: 90.95 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.002248/0.6478, allocations: 1.124 MB / 0.5179 GB, free: 90.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.6479, allocations: 13.75 kB / 0.5179 GB, free: 90.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007516/0.6486, allocations: 184 kB / 0.5181 GB, free: 90.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/0.6499, allocations: 0.6915 MB / 0.5188 GB, free: 89.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.478e-05/0.65, allocations: 66.03 kB / 0.5188 GB, free: 89.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.6501, allocations: 86.78 kB / 0.5189 GB, free: 89.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.6515, allocations: 0.8209 MB / 0.5197 GB, free: 89.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/0.6515, allocations: 15.58 kB / 0.5197 GB, free: 89.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.77e-05/0.6516, allocations: 35.81 kB / 0.5198 GB, free: 89.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.6516, allocations: 18.12 kB / 0.5198 GB, free: 89.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.6526, allocations: 0.5526 MB / 0.5203 GB, free: 88.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0041/0.6568, allocations: 3.658 MB / 0.5239 GB, free: 86.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004789/0.6573, allocations: 249.4 kB / 0.5241 GB, free: 86.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.6575, allocations: 124.4 kB / 0.5242 GB, free: 86.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.6576, allocations: 7.812 kB / 0.5243 GB, free: 86.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.6576, allocations: 38.5 kB / 0.5243 GB, free: 86.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.785e-06/0.6576, allocations: 0 / 0.5243 GB, free: 86.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.002231/0.6598, allocations: 1.108 MB / 0.5254 GB, free: 85.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.6599, allocations: 80.83 kB / 0.5255 GB, free: 85.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.6609, allocations: 0.7765 MB / 0.5262 GB, free: 84.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.661, allocations: 29.7 kB / 0.5262 GB, free: 84.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.6612, allocations: 0.5062 MB / 0.5267 GB, free: 84.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.358e-05/0.6613, allocations: 107.4 kB / 0.5268 GB, free: 84.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.713e-05/0.6613, allocations: 8 kB / 0.5268 GB, free: 84.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.6614, allocations: 337.7 kB / 0.5272 GB, free: 84.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.6617, allocations: 131.7 kB / 0.5273 GB, free: 83.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.662, allocations: 427.5 kB / 0.5277 GB, free: 83.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007205/0.6628, allocations: 0.5999 MB / 0.5283 GB, free: 82.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.6628, allocations: 0 / 0.5283 GB, free: 82.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001045/0.6638, allocations: 0.6423 MB / 0.5289 GB, free: 82.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.6639, allocations: 12 kB / 0.5289 GB, free: 82.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.6639, allocations: 8 kB / 0.5289 GB, free: 82.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.6641, allocations: 32.84 kB / 0.529 GB, free: 82.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004076/0.6645, allocations: 147.8 kB / 0.5291 GB, free: 82.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007717/0.6653, allocations: 1.303 MB / 0.5304 GB, free: 80.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.6659, allocations: 48.05 kB / 0.5304 GB, free: 80.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-05/0.6659, allocations: 28 kB / 0.5304 GB, free: 80.52 MB / 378.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 () * Number of clocked 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.000461/0.6664, allocations: 241.5 kB / 0.5307 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.6665, allocations: 79.06 kB / 0.5308 GB, free: 80.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006475/0.6672, allocations: 350.7 kB / 0.5311 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.6672, allocations: 4 kB / 0.5311 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.6672, allocations: 0 / 0.5311 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.6672, allocations: 0 / 0.5311 GB, free: 79.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.6688, allocations: 1.127 MB / 0.5322 GB, free: 78.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6688, allocations: 4 kB / 0.5322 GB, free: 78.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.6691, allocations: 63.89 kB / 0.5323 GB, free: 78.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.028e-05/0.6692, allocations: 25.08 kB / 0.5323 GB, free: 78.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.6692, allocations: 15.92 kB / 0.5323 GB, free: 78.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005953/0.6698, allocations: 1.28 MB / 0.5335 GB, free: 77.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.6698, allocations: 0 / 0.5335 GB, free: 77.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007805/0.6706, allocations: 0.6037 MB / 0.5341 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.6708, allocations: 180.1 kB / 0.5343 GB, free: 76.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.671, allocations: 12.08 kB / 0.5343 GB, free: 76.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003343/0.6713, allocations: 27.98 kB / 0.5343 GB, free: 76.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.6714, allocations: 35.83 kB / 0.5344 GB, free: 76.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.6714, allocations: 12 kB / 0.5344 GB, free: 76.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005794/0.672, allocations: 0.5186 MB / 0.5349 GB, free: 75.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.672, allocations: 0 / 0.5349 GB, free: 75.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007853/0.6728, allocations: 215.9 kB / 0.5351 GB, free: 75.47 MB / 378.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 () * 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 (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.0004418/0.6732, allocations: 322.9 kB / 0.5354 GB, free: 75.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007785/0.674, allocations: 474.8 kB / 0.5359 GB, free: 74.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.674, allocations: 6 kB / 0.5359 GB, free: 74.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003312/0.6744, allocations: 258.9 kB / 0.5361 GB, free: 74.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6756, allocations: 216.5 kB / 0.5363 GB, free: 74.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00227/0.6778, allocations: 1.793 MB / 0.5381 GB, free: 72.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.6783, allocations: 0.9529 MB / 0.539 GB, free: 71.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004179/0.6787, allocations: 106.7 kB / 0.5391 GB, free: 71.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.695e-05/0.6788, allocations: 51.44 kB / 0.5392 GB, free: 71.23 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.6788, allocations: 0 / 0.5392 GB, free: 71.23 MB / 378.7 MB Notification: Performance of Templates: time 0.01842/0.6972, allocations: 11.47 MB / 0.5504 GB, free: 59.88 MB / 378.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/jenkins1/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