Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001535/0.001535, allocations: 179.8 kB / 8.151 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.2 MB / 213.8 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00128/0.001279, allocations: 86 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.134e-06/7.163e-06, allocations: 0 / 314.3 MB, free: 9.039 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2285, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.367, allocations: 93.03 MB / 454.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.3673, allocations: 80.45 kB / 455 MB, free: 8.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.09595/0.4633, allocations: 23.5 MB / 478.5 MB, free: 1.367 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.072e-05/0.4634, allocations: 20 kB / 478.5 MB, free: 1.348 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.002323/0.4657, allocations: 1.021 MB / 479.5 MB, free: 288 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4658, allocations: 8.031 kB / 479.5 MB, free: 280 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007602/0.4665, allocations: 159.2 kB / 479.7 MB, free: 120 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.4684, allocations: 0.6719 MB / 480.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.4684, allocations: 35.94 kB / 480.4 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.4686, allocations: 55.84 kB / 480.4 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001456/0.4701, allocations: 456 kB / 480.9 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.4719, allocations: 0.6584 MB / 481.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.472, allocations: 11.91 kB / 481.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/0.4721, allocations: 0 / 481.5 MB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.4721, allocations: 20 kB / 481.6 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006468/0.4786, allocations: 3.48 MB / 485 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004042/0.479, allocations: 137.8 kB / 485.2 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.4793, allocations: 93.03 kB / 485.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.4793, allocations: 0 / 485.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.4794, allocations: 38.56 kB / 485.3 MB, free: 10.15 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.853e-06/0.4794, allocations: 4 kB / 485.3 MB, free: 10.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001936/0.4813, allocations: 0.7807 MB / 486.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.4814, allocations: 77.11 kB / 486.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.4824, allocations: 0.519 MB / 486.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.4824, allocations: 25.7 kB / 486.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003088/0.4828, allocations: 472 kB / 487.2 MB, free: 8.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.4829, allocations: 114.4 kB / 487.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.58e-05/0.483, allocations: 4 kB / 487.3 MB, free: 8.082 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4831, allocations: 326.8 kB / 487.6 MB, free: 7.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.4834, allocations: 101.3 kB / 487.7 MB, free: 7.656 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005133/0.4839, allocations: 377 kB / 488.1 MB, free: 7.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/0.4844, allocations: 159.8 kB / 488.2 MB, free: 6.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.4844, allocations: 4 kB / 488.2 MB, free: 6.988 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001197/0.4856, allocations: 466 kB / 488.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.4856, allocations: 4 kB / 488.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.4856, allocations: 11.98 kB / 488.7 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.4858, allocations: 37.45 kB / 488.7 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009685/0.4868, allocations: 155.7 kB / 488.9 MB, free: 6.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.488, allocations: 1.224 MB / 490.1 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.4885, allocations: 36.02 kB / 490.1 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/0.4886, allocations: 28 kB / 490.2 MB, free: 4.914 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 () * 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.0001236/0.4888, allocations: 53.45 kB / 490.2 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.4889, allocations: 67.14 kB / 490.3 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007647/0.4897, allocations: 265.5 kB / 490.6 MB, free: 4.516 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.4897, allocations: 4 kB / 490.6 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4897, allocations: 8.047 kB / 490.6 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.4898, allocations: 3.984 kB / 490.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.4918, allocations: 0.942 MB / 491.5 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4918, allocations: 4 kB / 491.5 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005665/0.4924, allocations: 63.91 kB / 491.6 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001375/0.4925, allocations: 24.84 kB / 491.6 MB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.4926, allocations: 8.219 kB / 491.6 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/0.4937, allocations: 1.223 MB / 492.8 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.4937, allocations: 4.031 kB / 492.8 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009911/0.4947, allocations: 0.5682 MB / 493.4 MB, free: 1.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/0.495, allocations: 164.2 kB / 493.6 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.4952, allocations: 4 kB / 493.6 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/0.4957, allocations: 27.88 kB / 493.6 MB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.774e-05/0.4958, allocations: 23.98 kB / 493.6 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.4959, allocations: 11.98 kB / 493.6 MB, free: 1.148 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0007281/0.4966, allocations: 387.2 kB / 494 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009044/0.4975, allocations: 160 kB / 494.2 MB, free: 0.6211 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 () * 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.0005074/0.498, allocations: 289.5 kB / 494.4 MB, free: 336 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009788/0.499, allocations: 394.5 kB / 494.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4991, allocations: 0 / 494.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004347/0.4995, allocations: 211.8 kB / 495 MB, free: 15.72 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.5008, allocations: 153.5 kB / 495.2 MB, free: 15.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.5038, allocations: 1.078 MB / 496.3 MB, free: 14.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008721/0.5047, allocations: 1.021 MB / 497.3 MB, free: 13.39 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5047, allocations: 0 / 497.3 MB, free: 13.39 MB / 394.7 MB Notification: Performance of Templates: time 0.1412/0.6459, allocations: 13.68 MB / 0.499 GB, free: 154.1 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches