Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [: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.0009926/0.0009925, allocations: 186.1 kB / 8.136 MB, free: 2.199 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.192/1.192, allocations: 221.4 MB / 229.9 MB, free: 3.254 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.0009014/0.0009014, allocations: 96.64 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/7.935e-06, allocations: 4 kB / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1931, allocations: 50.39 MB / 386.9 MB, free: 38.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07872/0.2719, allocations: 76.1 MB / 463 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.2722, allocations: 75.89 kB / 463.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.003607/0.2758, allocations: 1.083 MB / 464.2 MB, free: 9.633 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.2759, allocations: 1.125 kB / 464.2 MB, free: 9.633 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003224/0.2762, allocations: 355.2 kB / 464.5 MB, free: 9.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.2762, allocations: 8.031 kB / 464.5 MB, free: 9.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.2763, allocations: 11.89 kB / 464.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.2765, allocations: 186.8 kB / 464.7 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.2765, allocations: 0 / 464.7 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.2765, allocations: 7.938 kB / 464.7 MB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.077e-05/0.2766, allocations: 13.12 kB / 464.7 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.2767, allocations: 88.97 kB / 464.8 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.2768, allocations: 3.984 kB / 464.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.2768, allocations: 0 / 464.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2768, allocations: 0 / 464.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000302/0.2771, allocations: 247.3 kB / 465.1 MB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.617e-05/0.2772, allocations: 41.09 kB / 465.1 MB, free: 8.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.2772, allocations: 13.84 kB / 465.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.2772, allocations: 3.984 kB / 465.1 MB, free: 8.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.2772, allocations: 36.12 kB / 465.2 MB, free: 8.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2772, allocations: 4 kB / 465.2 MB, free: 8.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001399/0.2774, allocations: 49.53 kB / 465.2 MB, free: 8.406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.2774, allocations: 81.11 kB / 465.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.595e-05/0.2775, allocations: 124.5 kB / 465.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.2776, allocations: 25.7 kB / 465.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.2776, allocations: 80.14 kB / 465.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.2776, allocations: 1.594 kB / 465.5 MB, free: 8.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.2776, allocations: 4.062 kB / 465.5 MB, free: 8.062 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.2777, allocations: 326.7 kB / 465.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.106e-05/0.2777, allocations: 0 / 465.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.678e-05/0.2778, allocations: 17.72 kB / 465.9 MB, free: 7.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.716e-05/0.2778, allocations: 4 kB / 465.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.2778, allocations: 0 / 465.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.228e-05/0.2779, allocations: 49.69 kB / 465.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.2779, allocations: 8 kB / 465.9 MB, free: 7.645 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2779, allocations: 3.906 kB / 465.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.2779, allocations: 0 / 465.9 MB, free: 7.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.945e-05/0.278, allocations: 4 kB / 465.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-06/0.278, allocations: 0 / 465.9 MB, free: 7.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.278, allocations: 7.984 kB / 465.9 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.278, allocations: 4 kB / 465.9 MB, free: 7.625 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.815e-05/0.2781, allocations: 105 kB / 466 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.2782, allocations: 37.55 kB / 466.1 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.2782, allocations: 17.27 kB / 466.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.2782, allocations: 0 / 466.1 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.2782, allocations: 7.938 kB / 466.1 MB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2782, allocations: 3.906 kB / 466.1 MB, free: 7.449 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.2784, allocations: 142.2 kB / 466.2 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.2784, allocations: 1.188 kB / 466.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.994e-05/0.2784, allocations: 8.031 kB / 466.3 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2785, allocations: 4 kB / 466.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-06/0.2785, allocations: 0 / 466.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2785, allocations: 0 / 466.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2785, allocations: 0 / 466.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001131/0.2786, allocations: 161.9 kB / 466.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.2787, allocations: 97.03 kB / 466.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2787, allocations: 0.875 kB / 466.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.2788, allocations: 4 kB / 466.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.2788, allocations: 3.984 kB / 466.5 MB, free: 6.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.2788, allocations: 7.938 kB / 466.5 MB, free: 6.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.186e-05/0.2789, allocations: 99.27 kB / 466.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002163/0.2791, allocations: 7.938 kB / 466.6 MB, free: 6.844 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 8.801e-05/0.2792, allocations: 103.2 kB / 466.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.857e-05/0.2793, allocations: 8 kB / 466.7 MB, free: 6.723 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.2793, allocations: 0 / 466.7 MB, free: 6.723 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.526e-05/0.2793, allocations: 8 kB / 466.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.2795, allocations: 18.8 kB / 466.8 MB, free: 6.699 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002244/0.2797, allocations: 92.62 kB / 466.9 MB, free: 6.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.28, allocations: 0.7092 MB / 467.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.28, allocations: 0 / 467.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of Templates: time 0.002061/0.2821, allocations: 452.5 kB / 468 MB, free: 5.422 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches