Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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 trunk/package.mo): time 0.001389/0.001389, allocations: 200.1 kB / 8.541 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.201/1.201, allocations: 225.5 MB / 234.4 MB, free: 3.359 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008708/0.0008707, allocations: 89.48 kB / 286.3 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.636e-06, allocations: 0 / 343.1 MB, free: 8.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 51.48 MB / 394.6 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2347/0.3401, allocations: 76.34 MB / 471 MB, free: 14.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001912/0.3403, allocations: 69.97 kB / 471 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.002468/0.3428, allocations: 0.7859 MB / 471.8 MB, free: 14.53 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.3428, allocations: 4 kB / 471.8 MB, free: 14.53 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.0002587/0.3431, allocations: 344.3 kB / 472.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3431, allocations: 8.969 kB / 472.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3432, allocations: 13.97 kB / 472.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.3433, allocations: 181.4 kB / 472.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3433, allocations: 0 / 472.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.3433, allocations: 0 / 472.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.141e-05/0.3434, allocations: 15.38 kB / 472.4 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.3436, allocations: 82.06 kB / 472.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.3436, allocations: 0 / 472.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3436, allocations: 4 kB / 472.5 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3436, allocations: 3.906 kB / 472.5 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002453/0.3439, allocations: 249.6 kB / 472.7 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.3439, allocations: 32.66 kB / 472.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.3439, allocations: 13.84 kB / 472.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.887e-05/0.344, allocations: 0 / 472.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.344, allocations: 41.75 kB / 472.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.344, allocations: 4 kB / 472.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001311/0.3441, allocations: 40.28 kB / 472.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.3442, allocations: 77.11 kB / 472.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.63e-05/0.3442, allocations: 124.6 kB / 473 MB, free: 13.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.723e-06/0.3443, allocations: 25.7 kB / 473.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.073e-05/0.3443, allocations: 84.02 kB / 473.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.3443, allocations: 2.859 kB / 473.1 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.3443, allocations: 8 kB / 473.1 MB, free: 13.07 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.723e-05/0.3443, allocations: 314.8 kB / 473.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-06/0.3444, allocations: 3.25 kB / 473.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.08e-05/0.3444, allocations: 13.72 kB / 473.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.239e-05/0.3444, allocations: 0 / 473.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3444, allocations: 0 / 473.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.779e-05/0.3445, allocations: 55.97 kB / 473.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.3445, allocations: 4 kB / 473.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3445, allocations: 0 / 473.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3445, allocations: 0 / 473.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.3446, allocations: 15.17 kB / 473.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.3446, allocations: 0 / 473.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.3446, allocations: 4 kB / 473.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.3446, allocations: 0 / 473.5 MB, free: 12.66 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: 2 (sample1.u,sample1.y) * 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 3.897e-05/0.3447, allocations: 114.5 kB / 473.7 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.074e-05/0.3447, allocations: 33.7 kB / 473.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.3448, allocations: 13.92 kB / 473.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.3448, allocations: 5.125 kB / 473.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3448, allocations: 0 / 473.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3448, allocations: 0 / 473.7 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.3449, allocations: 140.4 kB / 473.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3449, allocations: 0 / 473.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.345, allocations: 10.5 kB / 473.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.345, allocations: 7.359 kB / 473.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.345, allocations: 0 / 473.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.345, allocations: 3.938 kB / 473.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.345, allocations: 3.906 kB / 473.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.34e-05/0.3451, allocations: 156 kB / 474 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.3451, allocations: 95.11 kB / 474.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3451, allocations: 2.344 kB / 474.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.814e-05/0.3452, allocations: 4 kB / 474.1 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-05/0.3452, allocations: 4 kB / 474.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3452, allocations: 2.672 kB / 474.1 MB, free: 12.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.778e-05/0.3453, allocations: 99.62 kB / 474.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002243/0.3455, allocations: 4 kB / 474.2 MB, free: 11.94 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: 2 (sample1.u,sample1.y) * 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 7.146e-05/0.3456, allocations: 103.2 kB / 474.3 MB, free: 11.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.878e-05/0.3457, allocations: 15.31 kB / 474.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3457, allocations: 0 / 474.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.3457, allocations: 0 / 474.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.3459, allocations: 18.11 kB / 474.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000187/0.3461, allocations: 88.7 kB / 474.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3462, allocations: 0.6949 MB / 475.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of SimCode: time 4.4e-07/0.3462, allocations: 4 kB / 475.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of Templates: time 0.002014/0.3483, allocations: 420.1 kB / 475.6 MB, free: 10.77 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches