Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.Mechanics.Translational.Examples.EddyCurrentBrake,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|mass.s|heatCapacitor.T|eddyCurrentForce.lossPower",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001941/0.001942, allocations: 175.9 kB / 8.471 MB, free: 0.5312 MB / 6.77 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 / 214.1 MB, free: 8.504 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009426/0.0009423, allocations: 92.05 kB / 262.1 MB, free: 5.129 MB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.352e-06, allocations: 0 / 315 MB, free: 1.988 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09136, allocations: 47.56 MB / 362.5 MB, free: 2.301 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.253/0.3444, allocations: 76.26 MB / 438.8 MB, free: 11.26 MB / 322.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.3447, allocations: 73.17 kB / 438.9 MB, free: 11.22 MB / 322.8 MB Notification: Performance of FrontEnd: time 0.006152/0.3508, allocations: 2.246 MB / 441.1 MB, free: 9.445 MB / 322.8 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.3509, allocations: 0 / 441.1 MB, free: 9.445 MB / 322.8 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.0003599/0.3512, allocations: 389.8 kB / 441.5 MB, free: 9.031 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3513, allocations: 8.031 kB / 441.5 MB, free: 9.023 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.3515, allocations: 32.11 kB / 441.5 MB, free: 8.992 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.3516, allocations: 190.6 kB / 441.7 MB, free: 8.77 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.3517, allocations: 0 / 441.7 MB, free: 8.77 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.3517, allocations: 11.69 kB / 441.7 MB, free: 8.762 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001338/0.3518, allocations: 50.98 kB / 441.8 MB, free: 8.727 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.352, allocations: 81.3 kB / 441.9 MB, free: 8.656 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.352, allocations: 1.031 kB / 441.9 MB, free: 8.656 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.352, allocations: 0 / 441.9 MB, free: 8.656 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.352, allocations: 8 kB / 441.9 MB, free: 8.648 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005392/0.3526, allocations: 413.2 kB / 442.3 MB, free: 8.254 MB / 322.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001852/0.3527, allocations: 71.98 kB / 442.3 MB, free: 8.195 MB / 322.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.815e-05/0.3528, allocations: 31.42 kB / 442.4 MB, free: 8.172 MB / 322.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.3528, allocations: 4 kB / 442.4 MB, free: 8.168 MB / 322.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.3528, allocations: 34.47 kB / 442.4 MB, free: 8.125 MB / 322.8 MB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.3529, allocations: 0 / 442.4 MB, free: 8.125 MB / 322.8 MB Notification: Performance of matching and sorting (n=12): time 0.0005313/0.3534, allocations: 351 kB / 442.8 MB, free: 7.77 MB / 322.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.3534, allocations: 59.16 kB / 442.8 MB, free: 7.703 MB / 322.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.331e-05/0.3535, allocations: 108.8 kB / 442.9 MB, free: 7.59 MB / 322.8 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.3535, allocations: 25.7 kB / 442.9 MB, free: 7.559 MB / 322.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.3535, allocations: 103.4 kB / 443 MB, free: 7.457 MB / 322.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.3536, allocations: 38.45 kB / 443.1 MB, free: 7.426 MB / 322.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/0.3536, allocations: 0 / 443.1 MB, free: 7.426 MB / 322.8 MB Notification: Performance of setup shared object (initialization): time 5.059e-05/0.3536, allocations: 322.2 kB / 443.4 MB, free: 7.105 MB / 322.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.948e-05/0.3537, allocations: 22.62 kB / 443.4 MB, free: 7.094 MB / 322.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.3537, allocations: 61.55 kB / 443.5 MB, free: 7.031 MB / 322.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.356e-05/0.3538, allocations: 35.14 kB / 443.5 MB, free: 7.012 MB / 322.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3538, allocations: 0 / 443.5 MB, free: 7.012 MB / 322.8 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000145/0.354, allocations: 116.7 kB / 443.6 MB, free: 6.91 MB / 322.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.354, allocations: 4 kB / 443.6 MB, free: 6.906 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.354, allocations: 0 / 443.6 MB, free: 6.906 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.354, allocations: 5.031 kB / 443.6 MB, free: 6.902 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3541, allocations: 27.98 kB / 443.7 MB, free: 6.875 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3542, allocations: 12 kB / 443.7 MB, free: 6.863 MB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.58e-05/0.3542, allocations: 6.719 kB / 443.7 MB, free: 6.859 MB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.3542, allocations: 4 kB / 443.7 MB, free: 6.855 MB / 322.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 (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 4.611e-05/0.3543, allocations: 104.9 kB / 443.8 MB, free: 6.746 MB / 322.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.3543, allocations: 14.84 kB / 443.8 MB, free: 6.734 MB / 322.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.3544, allocations: 14.8 kB / 443.8 MB, free: 6.73 MB / 322.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3544, allocations: 0 / 443.8 MB, free: 6.73 MB / 322.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3544, allocations: 4 kB / 443.8 MB, free: 6.727 MB / 322.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.3544, allocations: 4 kB / 443.8 MB, free: 6.723 MB / 322.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.3548, allocations: 386.8 kB / 444.2 MB, free: 6.332 MB / 322.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3548, allocations: 0 / 444.2 MB, free: 6.332 MB / 322.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.3549, allocations: 27.98 kB / 444.2 MB, free: 6.305 MB / 322.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.355, allocations: 0 / 444.2 MB, free: 6.305 MB / 322.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.355, allocations: 0 / 444.2 MB, free: 6.305 MB / 322.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.355, allocations: 12.05 kB / 444.2 MB, free: 6.293 MB / 322.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.355, allocations: 0 / 444.2 MB, free: 6.293 MB / 322.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002058/0.3552, allocations: 267.8 kB / 444.5 MB, free: 6.035 MB / 322.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.346e-05/0.3552, allocations: 87.36 kB / 444.6 MB, free: 5.934 MB / 322.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.3553, allocations: 4 kB / 444.6 MB, free: 5.93 MB / 322.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.163e-05/0.3554, allocations: 4 kB / 444.6 MB, free: 5.926 MB / 322.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.3554, allocations: 7.047 kB / 444.6 MB, free: 5.922 MB / 322.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3554, allocations: 7.906 kB / 444.6 MB, free: 5.914 MB / 322.8 MB Notification: Performance of sort global known variables: time 2.825e-05/0.3554, allocations: 87.91 kB / 444.7 MB, free: 5.832 MB / 322.8 MB Notification: Performance of remove unused functions: time 0.0002397/0.3557, allocations: 24 kB / 444.7 MB, free: 5.809 MB / 322.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 (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 9.133e-05/0.3558, allocations: 106.2 kB / 444.8 MB, free: 5.695 MB / 322.8 MB Notification: Performance of simCode: created initialization part: time 0.0001274/0.3559, allocations: 68.5 kB / 444.9 MB, free: 5.645 MB / 322.8 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3559, allocations: 0 / 444.9 MB, free: 5.645 MB / 322.8 MB Notification: Performance of simCode: created simulation system equations: time 4.115e-05/0.3559, allocations: 38.25 kB / 444.9 MB, free: 5.617 MB / 322.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.3562, allocations: 16.08 kB / 444.9 MB, free: 5.605 MB / 322.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.3567, allocations: 322.7 kB / 445.3 MB, free: 5.305 MB / 322.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.3569, allocations: 0.7417 MB / 446 MB, free: 4.539 MB / 322.8 MB Notification: Performance of SimCode: time 2.21e-07/0.3569, allocations: 0 / 446 MB, free: 4.539 MB / 322.8 MB Notification: Performance of Templates: time 0.003/0.3599, allocations: 1.107 MB / 447.1 MB, free: 3.484 MB / 322.8 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches