Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.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.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_cpp_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_3.2.3_cpp_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 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 180.6 kB / 8.151 MB, free: 2.188 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.689/1.689, allocations: 205.2 MB / 213.7 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001266/0.001266, allocations: 82.48 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.149e-05/1.179e-05, allocations: 4 kB / 314.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2567, allocations: 47.55 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.3716, allocations: 74.45 MB / 436.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.3719, allocations: 68.47 kB / 436.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005103/0.377, allocations: 1.02 MB / 437.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.3771, allocations: 0 / 437.4 MB, free: 10.55 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004508/0.3776, allocations: 346.5 kB / 437.7 MB, free: 10.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/0.3776, allocations: 13.45 kB / 437.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.3777, allocations: 7.906 kB / 437.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.3779, allocations: 175 kB / 437.9 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.3779, allocations: 0 / 437.9 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.378, allocations: 7.938 kB / 437.9 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001405/0.3781, allocations: 35.28 kB / 437.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.3783, allocations: 60.86 kB / 438 MB, free: 9.836 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.3783, allocations: 4 kB / 438 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3783, allocations: 0 / 438 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3783, allocations: 0 / 438 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.3792, allocations: 357.7 kB / 438.4 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.3793, allocations: 41.7 kB / 438.4 MB, free: 9.395 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.241e-05/0.3794, allocations: 16.86 kB / 438.4 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-06/0.3794, allocations: 3.391 kB / 438.4 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.3794, allocations: 35.56 kB / 438.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.3794, allocations: 0 / 438.5 MB, free: 9.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008765/0.3803, allocations: 480.1 kB / 438.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.3804, allocations: 51.41 kB / 439 MB, free: 8.711 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.59e-05/0.3805, allocations: 108.6 kB / 439.1 MB, free: 8.602 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.3805, allocations: 25.7 kB / 439.1 MB, free: 8.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.919e-05/0.3806, allocations: 164.9 kB / 439.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.3807, allocations: 31.55 kB / 439.3 MB, free: 8.379 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.611e-06/0.3807, allocations: 0 / 439.3 MB, free: 8.379 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3808, allocations: 318.8 kB / 439.6 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.228e-05/0.3809, allocations: 16.53 kB / 439.6 MB, free: 8.043 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.464e-05/0.381, allocations: 59.14 kB / 439.7 MB, free: 7.969 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.423e-05/0.3811, allocations: 27.92 kB / 439.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3811, allocations: 0 / 439.7 MB, free: 7.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002392/0.3813, allocations: 85.61 kB / 439.8 MB, free: 7.852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.3813, allocations: 4 kB / 439.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.3814, allocations: 7.906 kB / 439.8 MB, free: 7.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3814, allocations: 4.234 kB / 439.8 MB, free: 7.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.3816, allocations: 34.17 kB / 439.8 MB, free: 7.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.3816, allocations: 4 kB / 439.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.3817, allocations: 3.984 kB / 439.8 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.3817, allocations: 4 kB / 439.9 MB, free: 7.793 MB / 330.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.004e-05/0.3818, allocations: 25.7 kB / 439.9 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.3818, allocations: 11.84 kB / 439.9 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.3819, allocations: 8.375 kB / 439.9 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3819, allocations: 4 kB / 439.9 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3819, allocations: 4 kB / 439.9 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3819, allocations: 3.984 kB / 439.9 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.3826, allocations: 369 kB / 440.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.3826, allocations: 0 / 440.3 MB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.3828, allocations: 28.09 kB / 440.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.3828, allocations: 4 kB / 440.3 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3828, allocations: 3.984 kB / 440.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3828, allocations: 6.812 kB / 440.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.3829, allocations: 3.938 kB / 440.3 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003192/0.3832, allocations: 276.2 kB / 440.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.3832, allocations: 86.12 kB / 440.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.3833, allocations: 4 kB / 440.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3834, allocations: 4.062 kB / 440.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.3834, allocations: 11.91 kB / 440.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.3835, allocations: 4 kB / 440.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.083e-05/0.3835, allocations: 83.27 kB / 440.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003085/0.3838, allocations: 16 kB / 440.8 MB, free: 6.719 MB / 330.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.0001481/0.384, allocations: 95.25 kB / 440.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.3842, allocations: 52.16 kB / 440.9 MB, free: 6.562 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3842, allocations: 4 kB / 440.9 MB, free: 6.559 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.187e-05/0.3843, allocations: 29.33 kB / 441 MB, free: 6.531 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3846, allocations: 11.98 kB / 441 MB, free: 6.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.3853, allocations: 275.6 kB / 441.2 MB, free: 6.211 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/0.3856, allocations: 0.7114 MB / 442 MB, free: 5.473 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3856, allocations: 0 / 442 MB, free: 5.473 MB / 330.7 MB Notification: Performance of Templates: time 0.003027/0.3887, allocations: 0.9377 MB / 442.9 MB, free: 4.547 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches