Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.0009984/0.0009985, allocations: 183.5 kB / 8.134 MB, free: 2.223 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.195/1.195, allocations: 221.4 MB / 229.9 MB, free: 3.078 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.0008734/0.0008734, allocations: 97.17 kB / 280.8 MB, free: 1.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.322e-06/6.432e-06, allocations: 0 / 336.5 MB, free: 9.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1993/0.1993, allocations: 50.41 MB / 386.9 MB, free: 38.03 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08137/0.2807, allocations: 76.28 MB / 463.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001923/0.281, allocations: 83.89 kB / 463.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.005789/0.2868, allocations: 1.783 MB / 465.1 MB, free: 8.777 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.2868, allocations: 4.562 kB / 465.1 MB, free: 8.773 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.0004276/0.2873, allocations: 351.7 kB / 465.4 MB, free: 8.387 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2873, allocations: 8.75 kB / 465.4 MB, free: 8.379 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/0.2874, allocations: 7.906 kB / 465.4 MB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.2876, allocations: 210.4 kB / 465.6 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.2876, allocations: 0 / 465.6 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.282e-05/0.2876, allocations: 4.75 kB / 465.6 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.833e-05/0.2877, allocations: 16 kB / 465.7 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.2879, allocations: 105.9 kB / 465.8 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.288, allocations: 0 / 465.8 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.288, allocations: 0 / 465.8 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.288, allocations: 0 / 465.8 MB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.2883, allocations: 263.1 kB / 466 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.633e-05/0.2884, allocations: 60.64 kB / 466.1 MB, free: 7.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.2885, allocations: 26.64 kB / 466.1 MB, free: 7.562 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.2885, allocations: 4 kB / 466.1 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.2885, allocations: 34.5 kB / 466.1 MB, free: 7.516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.2885, allocations: 0 / 466.1 MB, free: 7.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002008/0.2888, allocations: 53.59 kB / 466.2 MB, free: 7.457 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.2888, allocations: 116.1 kB / 466.3 MB, free: 7.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.2889, allocations: 125 kB / 466.4 MB, free: 7.191 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.289, allocations: 25.7 kB / 466.5 MB, free: 7.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.289, allocations: 94.02 kB / 466.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.276e-05/0.289, allocations: 0 / 466.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.289, allocations: 0 / 466.5 MB, free: 7.066 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.2891, allocations: 318.8 kB / 466.9 MB, free: 6.746 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.2892, allocations: 8 kB / 466.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.349e-05/0.2892, allocations: 27.44 kB / 466.9 MB, free: 6.699 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.852e-05/0.2893, allocations: 11.92 kB / 466.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2893, allocations: 0 / 466.9 MB, free: 6.688 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000107/0.2894, allocations: 57.58 kB / 467 MB, free: 6.625 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2894, allocations: 8 kB / 467 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2894, allocations: 0 / 467 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2894, allocations: 3.984 kB / 467 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.047e-05/0.2895, allocations: 11.94 kB / 467 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2895, allocations: 5.797 kB / 467 MB, free: 6.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.2896, allocations: 7.906 kB / 467 MB, free: 6.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2896, allocations: 0 / 467 MB, free: 6.59 MB / 346.7 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 (4): * Single equations (assignments): 4 * 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 7.788e-05/0.2897, allocations: 113.1 kB / 467.1 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.2898, allocations: 49.55 kB / 467.2 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.2898, allocations: 7.75 kB / 467.2 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.2898, allocations: 7.984 kB / 467.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2899, allocations: 1.125 kB / 467.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.2899, allocations: 0.75 kB / 467.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001668/0.29, allocations: 154.1 kB / 467.3 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.29, allocations: 0 / 467.3 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.2901, allocations: 12.06 kB / 467.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2901, allocations: 0 / 467.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2902, allocations: 11.98 kB / 467.3 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.2902, allocations: 0.75 kB / 467.3 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2902, allocations: 0 / 467.3 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001582/0.2903, allocations: 193.5 kB / 467.5 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.074e-05/0.2904, allocations: 93 kB / 467.6 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.2904, allocations: 0 / 467.6 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.2905, allocations: 5.375 kB / 467.6 MB, free: 5.855 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/0.2906, allocations: 7.984 kB / 467.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.2906, allocations: 144 / 467.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.408e-05/0.2907, allocations: 106.4 kB / 467.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.2909, allocations: 15.91 kB / 467.8 MB, free: 5.73 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001022/0.291, allocations: 95.25 kB / 467.9 MB, free: 5.625 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.982e-05/0.2911, allocations: 23.92 kB / 467.9 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2911, allocations: 0 / 467.9 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.2912, allocations: 11.94 kB / 467.9 MB, free: 5.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.2914, allocations: 20.02 kB / 467.9 MB, free: 5.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002774/0.2917, allocations: 113.8 kB / 468 MB, free: 5.426 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.2921, allocations: 0.7114 MB / 468.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2921, allocations: 0 / 468.7 MB, free: 4.688 MB / 346.7 MB Notification: Performance of Templates: time 0.002448/0.2945, allocations: 0.5341 MB / 469.3 MB, free: 4.164 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches