Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") translateModel(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake") [: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 4.0.0+maint.om/package.mo): time 0.0009955/0.0009955, allocations: 182 kB / 8.134 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.164/1.164, allocations: 221.4 MB / 229.9 MB, free: 3.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009622/0.0009623, allocations: 113.6 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.451e-06/5.501e-06, allocations: 0 / 336.5 MB, free: 9.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2111/0.2111, allocations: 50.4 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08166/0.2928, allocations: 77.18 MB / 464.1 MB, free: 9.637 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001941/0.293, allocations: 67.91 kB / 464.2 MB, free: 9.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0067/0.2997, allocations: 2.291 MB / 466.4 MB, free: 7.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2998, allocations: 4 kB / 466.4 MB, free: 7.289 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004158/0.3002, allocations: 382.8 kB / 466.8 MB, free: 6.867 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.3002, allocations: 8.031 kB / 466.8 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001901/0.3004, allocations: 31.78 kB / 466.9 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.3006, allocations: 186.8 kB / 467 MB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3006, allocations: 4 kB / 467 MB, free: 6.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3007, allocations: 13.78 kB / 467.1 MB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001501/0.3008, allocations: 52.36 kB / 467.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.301, allocations: 74.98 kB / 467.2 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.301, allocations: 0 / 467.2 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.301, allocations: 0 / 467.2 MB, free: 6.461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.301, allocations: 7.938 kB / 467.2 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.3016, allocations: 414.2 kB / 467.6 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.3019, allocations: 77.73 kB / 467.7 MB, free: 5.922 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.227e-05/0.3019, allocations: 34.27 kB / 467.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.3019, allocations: 224 / 467.7 MB, free: 5.887 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.302, allocations: 38.41 kB / 467.7 MB, free: 5.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.042e-06/0.302, allocations: 4 kB / 467.7 MB, free: 5.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005484/0.3025, allocations: 343.6 kB / 468.1 MB, free: 5.449 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.3026, allocations: 59.3 kB / 468.1 MB, free: 5.379 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.3026, allocations: 105.2 kB / 468.2 MB, free: 5.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3027, allocations: 25.7 kB / 468.3 MB, free: 5.234 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.336e-05/0.3027, allocations: 107.7 kB / 468.4 MB, free: 5.125 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.3027, allocations: 36.67 kB / 468.4 MB, free: 5.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.3028, allocations: 0 / 468.4 MB, free: 5.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.3028, allocations: 334.7 kB / 468.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.701e-05/0.3029, allocations: 24 kB / 468.8 MB, free: 4.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.24e-05/0.303, allocations: 47.44 kB / 468.8 MB, free: 4.672 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.084e-05/0.303, allocations: 31.98 kB / 468.8 MB, free: 4.641 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.303, allocations: 0 / 468.8 MB, free: 4.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001764/0.3032, allocations: 124.7 kB / 469 MB, free: 4.516 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3032, allocations: 7.938 kB / 469 MB, free: 4.508 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3033, allocations: 4 kB / 469 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.3033, allocations: 0 / 469 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.3034, allocations: 35.98 kB / 469 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.3034, allocations: 2.422 kB / 469 MB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.099e-05/0.3035, allocations: 17.89 kB / 469 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.3035, allocations: 4 kB / 469 MB, free: 4.449 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.858e-05/0.3036, allocations: 109 kB / 469.1 MB, free: 4.336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.3036, allocations: 7.906 kB / 469.1 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.3037, allocations: 12.38 kB / 469.2 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3037, allocations: 4 kB / 469.2 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3037, allocations: 1 kB / 469.2 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3037, allocations: 0 / 469.2 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004439/0.3041, allocations: 384.7 kB / 469.5 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3042, allocations: 3.906 kB / 469.5 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.3043, allocations: 35.92 kB / 469.6 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3044, allocations: 0 / 469.6 MB, free: 3.848 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.3044, allocations: 4.625 kB / 469.6 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3044, allocations: 0 / 469.6 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3044, allocations: 0 / 469.6 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002508/0.3046, allocations: 269.5 kB / 469.8 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.3047, allocations: 81.02 kB / 469.9 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.3047, allocations: 5.562 kB / 469.9 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.828e-05/0.3048, allocations: 3.984 kB / 469.9 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.3049, allocations: 4 kB / 469.9 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.3049, allocations: 8 kB / 469.9 MB, free: 3.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.601e-05/0.3049, allocations: 100.5 kB / 470 MB, free: 3.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.3052, allocations: 24 kB / 470.1 MB, free: 3.309 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001103/0.3053, allocations: 99.25 kB / 470.2 MB, free: 3.203 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001517/0.3055, allocations: 67.94 kB / 470.2 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3055, allocations: 4.688 kB / 470.2 MB, free: 3.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.271e-05/0.3055, allocations: 35.98 kB / 470.3 MB, free: 3.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.3058, allocations: 19.83 kB / 470.3 MB, free: 3.082 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005559/0.3063, allocations: 322.5 kB / 470.6 MB, free: 2.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.3066, allocations: 0.727 MB / 471.3 MB, free: 1.996 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3066, allocations: 0 / 471.3 MB, free: 1.996 MB / 346.7 MB Notification: Performance of Templates: time 0.003078/0.3097, allocations: 1.123 MB / 472.5 MB, free: 0.9023 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches