Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_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 trunk/package.mo): time 0.001784/0.001784, allocations: 195.2 kB / 8.535 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 225.5 MB / 234.4 MB, free: 3.418 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008328/0.0008328, allocations: 90.41 kB / 286.3 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.294e-06/7.334e-06, allocations: 4 kB / 343.1 MB, free: 8.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09514/0.09516, allocations: 51.48 MB / 394.6 MB, free: 5.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2419/0.3371, allocations: 77.08 MB / 471.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.3374, allocations: 79.62 kB / 471.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.005245/0.3426, allocations: 1.878 MB / 473.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3427, allocations: 0 / 473.6 MB, free: 13.3 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.0002657/0.3429, allocations: 354.5 kB / 474 MB, free: 12.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.343, allocations: 12.03 kB / 474 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.3431, allocations: 23.28 kB / 474 MB, free: 12.89 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.3433, allocations: 192.8 kB / 474.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.3433, allocations: 4 kB / 474.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.3433, allocations: 0.75 kB / 474.2 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.399e-05/0.3434, allocations: 18.69 kB / 474.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.3436, allocations: 94.47 kB / 474.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3436, allocations: 0 / 474.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.3436, allocations: 3.328 kB / 474.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3436, allocations: 0 / 474.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.344, allocations: 242 kB / 474.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.975e-05/0.344, allocations: 44.03 kB / 474.6 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.527e-05/0.3441, allocations: 20.28 kB / 474.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.3441, allocations: 3.328 kB / 474.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.3441, allocations: 31.88 kB / 474.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.392e-06/0.3441, allocations: 0 / 474.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001593/0.3443, allocations: 52.11 kB / 474.7 MB, free: 12.14 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.3443, allocations: 84.47 kB / 474.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/0.3444, allocations: 128.1 kB / 474.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.834e-06/0.3444, allocations: 25.7 kB / 475 MB, free: 11.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.117e-05/0.3445, allocations: 83.42 kB / 475 MB, free: 11.81 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.3445, allocations: 3.906 kB / 475 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-06/0.3445, allocations: 0 / 475 MB, free: 11.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.472e-05/0.3445, allocations: 318.2 kB / 475.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.3446, allocations: 4.062 kB / 475.4 MB, free: 11.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.3446, allocations: 20.23 kB / 475.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.951e-05/0.3446, allocations: 7.938 kB / 475.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3446, allocations: 0 / 475.4 MB, free: 11.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.282e-05/0.3447, allocations: 40.67 kB / 475.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.3447, allocations: 11.23 kB / 475.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3447, allocations: 4.125 kB / 475.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3447, allocations: 0 / 475.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.3448, allocations: 4 kB / 475.4 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3448, allocations: 4 kB / 475.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.3449, allocations: 3.141 kB / 475.4 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.3449, allocations: 4.875 kB / 475.4 MB, free: 11.39 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 4.238e-05/0.345, allocations: 108.9 kB / 475.6 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.345, allocations: 49.02 kB / 475.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.712e-05/0.3451, allocations: 6.828 kB / 475.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3451, allocations: 0 / 475.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3451, allocations: 4 kB / 475.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3451, allocations: 0 / 475.6 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.3452, allocations: 143.4 kB / 475.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3452, allocations: 1.5 kB / 475.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.3453, allocations: 11.14 kB / 475.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3453, allocations: 0 / 475.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.3453, allocations: 0 / 475.8 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3453, allocations: 9.109 kB / 475.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3453, allocations: 0 / 475.8 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001024/0.3455, allocations: 164.7 kB / 475.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.3455, allocations: 93.31 kB / 476 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.3455, allocations: 0 / 476 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.294e-05/0.3456, allocations: 11.41 kB / 476 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.3457, allocations: 3.938 kB / 476 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.3457, allocations: 1.625 kB / 476 MB, free: 10.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.681e-05/0.3458, allocations: 104.4 kB / 476.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.346, allocations: 8 kB / 476.2 MB, free: 10.65 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 0.0001255/0.3462, allocations: 102 kB / 476.3 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.599e-05/0.3463, allocations: 11.44 kB / 476.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3463, allocations: 4.062 kB / 476.3 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.605e-05/0.3463, allocations: 11.25 kB / 476.3 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.3466, allocations: 14.53 kB / 476.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.3468, allocations: 86.8 kB / 476.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.347, allocations: 0.7013 MB / 477.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.3471, allocations: 0 / 477.1 MB, free: 9.699 MB / 346.7 MB Notification: Performance of Templates: time 0.002546/0.3496, allocations: 0.4986 MB / 477.6 MB, free: 9.438 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches