Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001689/0.001689, allocations: 195.8 kB / 8.531 MB, free: 496 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 225.5 MB / 234.4 MB, free: 9.465 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 91.78 kB / 286.3 MB, free: 5.855 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/6.953e-06, allocations: 0 / 343.1 MB, free: 13.05 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2727, allocations: 51.46 MB / 394.6 MB, free: 47.64 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09642/0.3691, allocations: 78.55 MB / 473.1 MB, free: 13.44 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.3694, allocations: 76.7 kB / 473.2 MB, free: 13.36 MB / 354.8 MB Notification: Performance of FrontEnd: time 0.00795/0.3773, allocations: 2.704 MB / 475.9 MB, free: 10.73 MB / 354.8 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.3774, allocations: 0 / 475.9 MB, free: 10.73 MB / 354.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005232/0.3779, allocations: 425 kB / 476.3 MB, free: 10.27 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3779, allocations: 8.031 kB / 476.3 MB, free: 10.26 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001869/0.3781, allocations: 30.23 kB / 476.4 MB, free: 10.23 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.3784, allocations: 201.5 kB / 476.6 MB, free: 10 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3784, allocations: 4 kB / 476.6 MB, free: 9.996 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.3784, allocations: 8 kB / 476.6 MB, free: 9.988 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000169/0.3786, allocations: 59.98 kB / 476.6 MB, free: 9.93 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.3787, allocations: 85.67 kB / 476.7 MB, free: 9.84 MB / 354.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3788, allocations: 0 / 476.7 MB, free: 9.84 MB / 354.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.3788, allocations: 3.906 kB / 476.7 MB, free: 9.836 MB / 354.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3788, allocations: 4 kB / 476.7 MB, free: 9.832 MB / 354.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007842/0.3796, allocations: 463.9 kB / 477.2 MB, free: 9.336 MB / 354.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.3798, allocations: 82.22 kB / 477.3 MB, free: 9.25 MB / 354.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.033e-05/0.3799, allocations: 28.86 kB / 477.3 MB, free: 9.219 MB / 354.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.3799, allocations: 3.828 kB / 477.3 MB, free: 9.219 MB / 354.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.3799, allocations: 34.56 kB / 477.3 MB, free: 9.176 MB / 354.8 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.3799, allocations: 4 kB / 477.3 MB, free: 9.172 MB / 354.8 MB Notification: Performance of matching and sorting (n=13): time 0.0006021/0.3805, allocations: 371.9 kB / 477.7 MB, free: 8.758 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.3806, allocations: 55.41 kB / 477.7 MB, free: 8.691 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.768e-05/0.3807, allocations: 122.7 kB / 477.9 MB, free: 8.562 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3807, allocations: 25.7 kB / 477.9 MB, free: 8.531 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.31e-05/0.3807, allocations: 104.2 kB / 478 MB, free: 8.426 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.908e-05/0.3808, allocations: 47.27 kB / 478 MB, free: 8.379 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.3808, allocations: 0 / 478 MB, free: 8.379 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 9.927e-05/0.3809, allocations: 326.8 kB / 478.4 MB, free: 8.051 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.371e-05/0.381, allocations: 24 kB / 478.4 MB, free: 8.027 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.64e-05/0.3811, allocations: 65.92 kB / 478.4 MB, free: 7.953 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.904e-05/0.3811, allocations: 31.98 kB / 478.5 MB, free: 7.922 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3811, allocations: 0 / 478.5 MB, free: 7.922 MB / 354.8 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001903/0.3813, allocations: 133.2 kB / 478.6 MB, free: 7.789 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.3813, allocations: 8 kB / 478.6 MB, free: 7.781 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3814, allocations: 224 / 478.6 MB, free: 7.781 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3814, allocations: 0 / 478.6 MB, free: 7.781 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.3816, allocations: 51.92 kB / 478.7 MB, free: 7.73 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3816, allocations: 2.438 kB / 478.7 MB, free: 7.73 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.3817, allocations: 11.98 kB / 478.7 MB, free: 7.719 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3817, allocations: 4 kB / 478.7 MB, free: 7.715 MB / 354.8 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 (18): * Single equations (assignments): 18 * 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 7.046e-05/0.3818, allocations: 112.9 kB / 478.8 MB, free: 7.598 MB / 354.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.632e-05/0.3819, allocations: 11.81 kB / 478.8 MB, free: 7.586 MB / 354.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.51e-05/0.3819, allocations: 20.55 kB / 478.8 MB, free: 7.566 MB / 354.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3819, allocations: 0 / 478.8 MB, free: 7.566 MB / 354.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3819, allocations: 2.938 kB / 478.8 MB, free: 7.566 MB / 354.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3819, allocations: 0 / 478.8 MB, free: 7.566 MB / 354.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004908/0.3824, allocations: 404.6 kB / 479.2 MB, free: 7.121 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3824, allocations: 4 kB / 479.2 MB, free: 7.117 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.3827, allocations: 42.22 kB / 479.3 MB, free: 7.078 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3827, allocations: 4 kB / 479.3 MB, free: 7.074 MB / 354.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3827, allocations: 0 / 479.3 MB, free: 7.074 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.3827, allocations: 7.844 kB / 479.3 MB, free: 7.066 MB / 354.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3827, allocations: 0 / 479.3 MB, free: 7.066 MB / 354.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000287/0.383, allocations: 284.5 kB / 479.6 MB, free: 6.754 MB / 354.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.882e-05/0.3831, allocations: 85.02 kB / 479.6 MB, free: 6.652 MB / 354.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.3831, allocations: 0 / 479.6 MB, free: 6.652 MB / 354.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.3833, allocations: 19.89 kB / 479.7 MB, free: 6.633 MB / 354.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.3833, allocations: 7.984 kB / 479.7 MB, free: 6.625 MB / 354.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3833, allocations: 8 kB / 479.7 MB, free: 6.617 MB / 354.8 MB Notification: Performance of sort global known variables: time 5.576e-05/0.3834, allocations: 100.6 kB / 479.8 MB, free: 6.52 MB / 354.8 MB Notification: Performance of remove unused functions: time 0.0002453/0.3836, allocations: 24 kB / 479.8 MB, free: 6.496 MB / 354.8 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 (13): * Single equations (assignments): 13 * 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.0001104/0.3837, allocations: 99.19 kB / 479.9 MB, free: 6.387 MB / 354.8 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.3839, allocations: 79.94 kB / 480 MB, free: 6.309 MB / 354.8 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3839, allocations: 0 / 480 MB, free: 6.309 MB / 354.8 MB Notification: Performance of simCode: created simulation system equations: time 9.282e-05/0.384, allocations: 43.94 kB / 480 MB, free: 6.266 MB / 354.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.3843, allocations: 15.98 kB / 480 MB, free: 6.25 MB / 354.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.3849, allocations: 354.2 kB / 480.4 MB, free: 5.887 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002969/0.3852, allocations: 0.7425 MB / 481.1 MB, free: 5.117 MB / 354.8 MB Notification: Performance of SimCode: time 2.8e-07/0.3852, allocations: 4 kB / 481.1 MB, free: 5.113 MB / 354.8 MB Notification: Performance of Templates: time 0.003555/0.3888, allocations: 1.35 MB / 482.5 MB, free: 3.816 MB / 354.8 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mass.s,heatCapacitor.T,eddyCurrentForce.lossPower Variables in the result:eddyCurrentForce.T,eddyCurrentForce.TRef,eddyCurrentForce.alpha20,eddyCurrentForce.constantExcitation,eddyCurrentForce.f_nominal,eddyCurrentForce.lossPower,eddyCurrentForce.useExcitationInput,eddyCurrentForce.v_nominal,heatCapacitor.C,heatCapacitor.T,mass.L,mass.m,mass.s,mass.stateSelect,ramp.duration,ramp.height,ramp.offset,ramp.startTime,time