Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.0009635/0.0009636, allocations: 178.7 kB / 8.477 MB, free: 1.824 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.093/1.093, allocations: 205.2 MB / 214.1 MB, free: 5.172 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.0008174/0.0008174, allocations: 93.91 kB / 262.1 MB, free: 5.211 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.09e-06/5.12e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05935/0.05937, allocations: 47.57 MB / 362.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.2573, allocations: 93.02 MB / 455.6 MB, free: 8.359 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.2575, allocations: 82.3 kB / 455.6 MB, free: 8.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.05674/0.3143, allocations: 23.51 MB / 479.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.123e-05/0.3143, allocations: 16 kB / 479.2 MB, free: 12.35 MB / 330.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.001507/0.3158, allocations: 1.033 MB / 480.2 MB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.3159, allocations: 8.031 kB / 480.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005102/0.3164, allocations: 159.2 kB / 480.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.3175, allocations: 0.6679 MB / 481 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.3175, allocations: 28 kB / 481.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.245e-05/0.3176, allocations: 58.97 kB / 481.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007674/0.3184, allocations: 452.2 kB / 481.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.3195, allocations: 0.6599 MB / 482.2 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.3195, allocations: 6.469 kB / 482.2 MB, free: 9.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/0.3196, allocations: 4 kB / 482.2 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.3196, allocations: 23.98 kB / 482.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003858/0.3234, allocations: 3.469 MB / 485.7 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.3237, allocations: 139.3 kB / 485.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.3238, allocations: 100.5 kB / 486 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.3239, allocations: 0 / 486 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.3239, allocations: 38.56 kB / 486 MB, free: 6.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.172e-06/0.3239, allocations: 0 / 486 MB, free: 6.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001197/0.3251, allocations: 0.7833 MB / 486.8 MB, free: 5.727 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.3251, allocations: 81.11 kB / 486.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005858/0.3257, allocations: 0.5125 MB / 487.4 MB, free: 5.242 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.3258, allocations: 25.7 kB / 487.4 MB, free: 5.211 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.326, allocations: 446.9 kB / 487.8 MB, free: 4.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.863e-05/0.3261, allocations: 110 kB / 487.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.3261, allocations: 0 / 487.9 MB, free: 4.723 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3262, allocations: 373.5 kB / 488.3 MB, free: 4.379 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.3264, allocations: 95.69 kB / 488.4 MB, free: 4.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.3267, allocations: 386.2 kB / 488.8 MB, free: 3.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.3269, allocations: 153.7 kB / 488.9 MB, free: 3.762 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3269, allocations: 4 kB / 488.9 MB, free: 3.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007914/0.3277, allocations: 0.5037 MB / 489.4 MB, free: 3.332 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3278, allocations: 4 kB / 489.4 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3278, allocations: 11.94 kB / 489.4 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.3279, allocations: 40.66 kB / 489.5 MB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.3284, allocations: 155.2 kB / 489.6 MB, free: 3.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008332/0.3293, allocations: 1.227 MB / 490.9 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.3297, allocations: 36.05 kB / 490.9 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.3298, allocations: 27.69 kB / 490.9 MB, free: 1.762 MB / 330.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.0001029/0.3299, allocations: 128.4 kB / 491.1 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.434e-05/0.33, allocations: 67.16 kB / 491.1 MB, free: 1.566 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.3305, allocations: 274.4 kB / 491.4 MB, free: 1.355 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3305, allocations: 7.906 kB / 491.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3305, allocations: 0 / 491.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3305, allocations: 0 / 491.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.3317, allocations: 0.9387 MB / 492.3 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3317, allocations: 7.984 kB / 492.3 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.332, allocations: 60.17 kB / 492.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.127e-05/0.3321, allocations: 32.64 kB / 492.4 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.3322, allocations: 4 kB / 492.4 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007575/0.3329, allocations: 1.22 MB / 493.7 MB, free: 15.17 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.3329, allocations: 7.969 kB / 493.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005969/0.3336, allocations: 0.5733 MB / 494.2 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.3337, allocations: 163.8 kB / 494.4 MB, free: 14.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.3338, allocations: 3.906 kB / 494.4 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000346/0.3342, allocations: 23.98 kB / 494.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.3343, allocations: 23.34 kB / 494.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.3343, allocations: 8 kB / 494.5 MB, free: 14.39 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0004195/0.3347, allocations: 394.9 kB / 494.8 MB, free: 14.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006235/0.3353, allocations: 159.6 kB / 495 MB, free: 13.96 MB / 346.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.0003539/0.3357, allocations: 286.8 kB / 495.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.3362, allocations: 392.8 kB / 495.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3363, allocations: 2.25 kB / 495.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002555/0.3365, allocations: 208.5 kB / 495.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/0.3372, allocations: 160.8 kB / 496 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001826/0.3391, allocations: 1.046 MB / 497.1 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000587/0.3397, allocations: 1.017 MB / 498.1 MB, free: 11.02 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3397, allocations: 7.938 kB / 498.1 MB, free: 11.01 MB / 346.7 MB Notification: Performance of Templates: time 0.01387/0.3536, allocations: 7.487 MB / 0.4937 GB, free: 3.582 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_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_Temperature/DCPM_Temperature.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches