Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") [: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.001036/0.001036, allocations: 208.6 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 225.5 MB / 234.4 MB, free: 3.414 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008451/0.0008451, allocations: 98.77 kB / 286.3 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.746e-06/8.786e-06, allocations: 4 kB / 343.1 MB, free: 8.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0888/0.08883, allocations: 51.48 MB / 394.6 MB, free: 5.191 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.3161, allocations: 76.11 MB / 470.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.3163, allocations: 70.88 kB / 470.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.001384/0.3177, allocations: 396.9 kB / 471.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.3177, allocations: 3.391 kB / 471.2 MB, free: 14.94 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002124/0.3179, allocations: 330.4 kB / 471.5 MB, free: 14.58 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.318, allocations: 12.03 kB / 471.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.318, allocations: 8.125 kB / 471.5 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3182, allocations: 178.4 kB / 471.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.3182, allocations: 4 kB / 471.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.3182, allocations: 0 / 471.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.62e-05/0.3183, allocations: 11.44 kB / 471.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3184, allocations: 84.53 kB / 471.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3185, allocations: 0 / 471.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3185, allocations: 0 / 471.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3185, allocations: 5.312 kB / 471.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.383e-05/0.3186, allocations: 134.3 kB / 471.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.042e-05/0.3186, allocations: 47.44 kB / 472 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.955e-05/0.3187, allocations: 24.75 kB / 472 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.3187, allocations: 0 / 472 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.518e-05/0.3187, allocations: 34 kB / 472.1 MB, free: 14 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3187, allocations: 0 / 472.1 MB, free: 14 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000101/0.3188, allocations: 48.06 kB / 472.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.3189, allocations: 51.41 kB / 472.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.352e-05/0.3189, allocations: 100.4 kB / 472.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.372e-06/0.3189, allocations: 25.7 kB / 472.3 MB, free: 13.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.2e-05/0.3189, allocations: 84.14 kB / 472.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.619e-06/0.3189, allocations: 0 / 472.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.883e-06/0.319, allocations: 0 / 472.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.469e-05/0.319, allocations: 321.3 kB / 472.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-06/0.319, allocations: 3.328 kB / 472.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.319, allocations: 27.38 kB / 472.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.406e-05/0.3191, allocations: 11.5 kB / 472.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3191, allocations: 0 / 472.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.904e-05/0.3191, allocations: 52.83 kB / 472.8 MB, free: 13.26 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.3191, allocations: 7.391 kB / 472.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.3191, allocations: 0 / 472.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.3192, allocations: 0 / 472.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.906e-05/0.3192, allocations: 11.44 kB / 472.8 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.3192, allocations: 8.156 kB / 472.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/0.3192, allocations: 7.938 kB / 472.8 MB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-06/0.3193, allocations: 0 / 472.8 MB, free: 13.23 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 3.564e-05/0.3193, allocations: 108.1 kB / 472.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.3193, allocations: 47.81 kB / 472.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.3194, allocations: 8 kB / 473 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3194, allocations: 0 / 473 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.3194, allocations: 0 / 473 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3194, allocations: 0 / 473 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.627e-05/0.3194, allocations: 137.2 kB / 473.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3195, allocations: 4 kB / 473.1 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.3195, allocations: 11.33 kB / 473.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3195, allocations: 0 / 473.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.3195, allocations: 0 / 473.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.3195, allocations: 0 / 473.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3195, allocations: 0 / 473.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.143e-05/0.3196, allocations: 79.23 kB / 473.2 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.03e-05/0.3196, allocations: 88.06 kB / 473.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.3197, allocations: 0 / 473.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.975e-05/0.3197, allocations: 5.406 kB / 473.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-06/0.3197, allocations: 0 / 473.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.3197, allocations: 0 / 473.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.093e-05/0.3197, allocations: 86.17 kB / 473.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001801/0.3199, allocations: 4 kB / 473.4 MB, free: 12.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 6.607e-05/0.32, allocations: 99.25 kB / 473.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 5.526e-05/0.32, allocations: 19.31 kB / 473.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3201, allocations: 0 / 473.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.11e-07/0.3201, allocations: 3.828 kB / 473.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.3202, allocations: 13.14 kB / 473.5 MB, free: 12.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001257/0.3203, allocations: 61.62 kB / 473.6 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.3204, allocations: 0.6944 MB / 474.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3204, allocations: 256 / 474.2 MB, free: 11.71 MB / 346.7 MB Notification: Performance of Templates: time 0.001546/0.322, allocations: 293.5 kB / 474.5 MB, free: 11.55 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches