Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") [: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.001387/0.001387, allocations: 183.2 kB / 8.136 MB, free: 2.215 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.184/1.184, allocations: 221.4 MB / 230 MB, free: 3.23 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.0008915/0.0008915, allocations: 98.95 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.292e-06/6.322e-06, allocations: 0 / 336.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.196, allocations: 50.38 MB / 386.9 MB, free: 38.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07826/0.2743, allocations: 75.52 MB / 462.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001773/0.2745, allocations: 67.89 kB / 462.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003548/0.2781, allocations: 1.047 MB / 463.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.2781, allocations: 0 / 463.5 MB, free: 10.18 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002955/0.2784, allocations: 344.3 kB / 463.9 MB, free: 9.801 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.2785, allocations: 12.03 kB / 463.9 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.2785, allocations: 4.719 kB / 463.9 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.2787, allocations: 186.9 kB / 464.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.725e-06/0.2787, allocations: 1.094 kB / 464.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.249e-05/0.2787, allocations: 5.438 kB / 464.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.853e-05/0.2788, allocations: 31.98 kB / 464.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.279, allocations: 58.88 kB / 464.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.279, allocations: 0.6875 kB / 464.2 MB, free: 9.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.279, allocations: 4 kB / 464.2 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.279, allocations: 4.734 kB / 464.2 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.2796, allocations: 353 kB / 464.5 MB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.57e-05/0.2797, allocations: 41.72 kB / 464.6 MB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.2797, allocations: 17.02 kB / 464.6 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2797, allocations: 1.031 kB / 464.6 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.2798, allocations: 38.48 kB / 464.6 MB, free: 8.953 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.2798, allocations: 0 / 464.6 MB, free: 8.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006235/0.2804, allocations: 482 kB / 465.1 MB, free: 8.391 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.2804, allocations: 51.41 kB / 465.1 MB, free: 8.328 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.2805, allocations: 103.6 kB / 465.2 MB, free: 8.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.2805, allocations: 25.7 kB / 465.3 MB, free: 8.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.2806, allocations: 96.11 kB / 465.4 MB, free: 8.094 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.2806, allocations: 35.55 kB / 465.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.2806, allocations: 0 / 465.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2807, allocations: 318.8 kB / 465.7 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.237e-05/0.2808, allocations: 20.88 kB / 465.7 MB, free: 7.719 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.365e-05/0.2808, allocations: 57.14 kB / 465.8 MB, free: 7.645 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/0.2809, allocations: 23.98 kB / 465.8 MB, free: 7.621 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2809, allocations: 0 / 465.8 MB, free: 7.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001555/0.2811, allocations: 97.45 kB / 465.9 MB, free: 7.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.2811, allocations: 8 kB / 465.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2811, allocations: 0 / 465.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.2811, allocations: 7.938 kB / 465.9 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.2812, allocations: 20.48 kB / 465.9 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2812, allocations: 4 kB / 465.9 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.2813, allocations: 4.656 kB / 465.9 MB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.2813, allocations: 4 kB / 465.9 MB, free: 7.473 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.06e-05/0.2814, allocations: 111.8 kB / 466.1 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.2814, allocations: 5.297 kB / 466.1 MB, free: 7.355 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.2814, allocations: 16.36 kB / 466.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.2814, allocations: 0 / 466.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2814, allocations: 96 / 466.1 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.2815, allocations: 7.922 kB / 466.1 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.2819, allocations: 379 kB / 466.5 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.2819, allocations: 4 kB / 466.5 MB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.282, allocations: 19.94 kB / 466.5 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2821, allocations: 0 / 466.5 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.2821, allocations: 7.984 kB / 466.5 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2821, allocations: 5.906 kB / 466.5 MB, free: 6.863 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.2821, allocations: 4 kB / 466.5 MB, free: 6.859 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000235/0.2823, allocations: 272.2 kB / 466.8 MB, free: 6.531 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.2824, allocations: 89 kB / 466.8 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.2824, allocations: 0 / 466.8 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.2825, allocations: 0 / 466.8 MB, free: 6.426 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.753e-05/0.2825, allocations: 11.91 kB / 466.9 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.2825, allocations: 8.062 kB / 466.9 MB, free: 6.406 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.59e-05/0.2826, allocations: 87.27 kB / 467 MB, free: 6.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.2828, allocations: 16 kB / 467 MB, free: 6.305 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001078/0.2829, allocations: 99.28 kB / 467.1 MB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.2831, allocations: 47.94 kB / 467.1 MB, free: 6.152 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2831, allocations: 0 / 467.1 MB, free: 6.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.649e-05/0.2831, allocations: 28.36 kB / 467.1 MB, free: 6.125 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.2833, allocations: 8.062 kB / 467.1 MB, free: 6.117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004345/0.2838, allocations: 253.8 kB / 467.4 MB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002797/0.2841, allocations: 0.7113 MB / 468.1 MB, free: 5.098 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2841, allocations: 0 / 468.1 MB, free: 5.098 MB / 346.7 MB Notification: Performance of Templates: time 0.002338/0.2864, allocations: 0.6175 MB / 468.7 MB, free: 4.484 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches