Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") [: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.0009665/0.0009665, allocations: 182.8 kB / 8.137 MB, free: 2.184 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.148/1.148, allocations: 221.4 MB / 229.9 MB, free: 3.02 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.0009471/0.0009472, allocations: 100 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.11e-06/5.14e-06, allocations: 0 / 336.5 MB, free: 9.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1909, allocations: 50.4 MB / 386.9 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07706/0.268, allocations: 76.27 MB / 463.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.2682, allocations: 77.05 kB / 463.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.005284/0.2735, allocations: 1.779 MB / 465 MB, free: 8.723 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.2736, allocations: 0 / 465 MB, free: 8.723 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000319/0.2739, allocations: 352.2 kB / 465.4 MB, free: 8.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2739, allocations: 8.031 kB / 465.4 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.514e-05/0.274, allocations: 8.469 kB / 465.4 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/0.2742, allocations: 197.8 kB / 465.6 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.2742, allocations: 4.75 kB / 465.6 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2742, allocations: 4 kB / 465.6 MB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.766e-05/0.2743, allocations: 20 kB / 465.6 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.2745, allocations: 89.67 kB / 465.7 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2745, allocations: 0 / 465.7 MB, free: 7.957 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.2745, allocations: 7.938 kB / 465.7 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.2745, allocations: 0 / 465.7 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.2748, allocations: 259.6 kB / 466 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.891e-05/0.2749, allocations: 37.22 kB / 466 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.2749, allocations: 13.78 kB / 466 MB, free: 7.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.275, allocations: 4 kB / 466 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.275, allocations: 34.5 kB / 466 MB, free: 7.535 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.275, allocations: 0 / 466 MB, free: 7.535 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001441/0.2751, allocations: 49.59 kB / 466.1 MB, free: 7.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2752, allocations: 77.11 kB / 466.2 MB, free: 7.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.637e-05/0.2753, allocations: 127.1 kB / 466.3 MB, free: 7.254 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.2753, allocations: 29.77 kB / 466.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.333e-05/0.2753, allocations: 88.12 kB / 466.4 MB, free: 7.129 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.2754, allocations: 3.906 kB / 466.4 MB, free: 7.125 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/0.2754, allocations: 0 / 466.4 MB, free: 7.125 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.031e-05/0.2755, allocations: 316.2 kB / 466.7 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.281e-05/0.2755, allocations: 4 kB / 466.7 MB, free: 6.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.2755, allocations: 17.72 kB / 466.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.794e-05/0.2755, allocations: 11.98 kB / 466.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2755, allocations: 0 / 466.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.495e-05/0.2756, allocations: 50.39 kB / 466.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.2756, allocations: 4 kB / 466.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2756, allocations: 0 / 466.8 MB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2757, allocations: 4 kB / 466.8 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.2757, allocations: 7.984 kB / 466.8 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-06/0.2757, allocations: 0 / 466.8 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.2758, allocations: 8.062 kB / 466.8 MB, free: 6.691 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.2758, allocations: 0 / 466.8 MB, free: 6.691 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.232e-05/0.2759, allocations: 105 kB / 466.9 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.333e-05/0.2759, allocations: 38.44 kB / 467 MB, free: 6.539 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.276, allocations: 15.5 kB / 467 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.276, allocations: 0 / 467 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.276, allocations: 0.5625 kB / 467 MB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.276, allocations: 4 kB / 467 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.2761, allocations: 146.2 kB / 467.1 MB, free: 6.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2761, allocations: 5.484 kB / 467.1 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.2762, allocations: 4 kB / 467.1 MB, free: 6.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2762, allocations: 11.92 kB / 467.2 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/0.2762, allocations: 0.75 kB / 467.2 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2762, allocations: 0 / 467.2 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.2762, allocations: 3.906 kB / 467.2 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001151/0.2763, allocations: 162 kB / 467.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.2764, allocations: 85.02 kB / 467.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.2764, allocations: 7.984 kB / 467.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.2765, allocations: 0 / 467.4 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.2765, allocations: 8 kB / 467.4 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.2765, allocations: 1.406 kB / 467.4 MB, free: 6.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.248e-05/0.2766, allocations: 110.4 kB / 467.5 MB, free: 5.914 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.2768, allocations: 4 kB / 467.5 MB, free: 5.91 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.014e-05/0.2769, allocations: 95.25 kB / 467.6 MB, free: 5.805 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.659e-05/0.2769, allocations: 15.92 kB / 467.6 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.277, allocations: 0 / 467.6 MB, free: 5.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.435e-05/0.277, allocations: 8 kB / 467.6 MB, free: 5.781 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.2772, allocations: 19.81 kB / 467.7 MB, free: 5.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002287/0.2774, allocations: 96.89 kB / 467.8 MB, free: 5.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.2777, allocations: 0.7098 MB / 468.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.2777, allocations: 0 / 468.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of Templates: time 0.002018/0.2797, allocations: 490.5 kB / 468.9 MB, free: 4.441 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches