Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") [: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.001399/0.001399, allocations: 185.5 kB / 8.135 MB, free: 2.211 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.196/1.196, allocations: 221.4 MB / 229.9 MB, free: 3.281 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.0008414/0.0008414, allocations: 92.08 kB / 280.8 MB, free: 1.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.665e-06/7.684e-06, allocations: 0 / 336.5 MB, free: 9.492 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2144, allocations: 50.4 MB / 386.9 MB, free: 38.11 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07627/0.2907, allocations: 75.27 MB / 462.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001847/0.2909, allocations: 82.89 kB / 462.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.00176/0.2927, allocations: 471.5 kB / 462.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.2927, allocations: 0 / 462.7 MB, free: 11.05 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.0002702/0.293, allocations: 337.5 kB / 463.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.2931, allocations: 8.031 kB / 463.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.2931, allocations: 4.75 kB / 463.1 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.2932, allocations: 175 kB / 463.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2933, allocations: 4 kB / 463.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.2933, allocations: 0.875 kB / 463.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.487e-05/0.2934, allocations: 15.94 kB / 463.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.2935, allocations: 89.52 kB / 463.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.062e-06/0.2935, allocations: 0 / 463.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.2935, allocations: 0 / 463.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2936, allocations: 0 / 463.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00011/0.2937, allocations: 143 kB / 463.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.2938, allocations: 38.56 kB / 463.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.2938, allocations: 16.89 kB / 463.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.974e-06/0.2938, allocations: 0 / 463.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.2938, allocations: 39.56 kB / 463.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.2938, allocations: 0 / 463.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000135/0.294, allocations: 49.83 kB / 463.6 MB, free: 9.996 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.294, allocations: 59.25 kB / 463.7 MB, free: 9.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.111e-05/0.2941, allocations: 97 kB / 463.8 MB, free: 9.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2941, allocations: 26.64 kB / 463.8 MB, free: 9.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.2942, allocations: 82.95 kB / 463.9 MB, free: 9.711 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.307e-05/0.2942, allocations: 7.984 kB / 463.9 MB, free: 9.703 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.2942, allocations: 0 / 463.9 MB, free: 9.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.06e-05/0.2943, allocations: 310.8 kB / 464.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.183e-05/0.2943, allocations: 12 kB / 464.2 MB, free: 9.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.2943, allocations: 23.44 kB / 464.2 MB, free: 9.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.56e-05/0.2943, allocations: 11.94 kB / 464.2 MB, free: 9.332 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2944, allocations: 0 / 464.2 MB, free: 9.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.52e-05/0.2944, allocations: 65.62 kB / 464.3 MB, free: 9.262 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.839e-06/0.2945, allocations: 4.562 kB / 464.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2945, allocations: 1.125 kB / 464.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.2945, allocations: 0 / 464.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.009e-05/0.2945, allocations: 12.03 kB / 464.3 MB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2945, allocations: 4 kB / 464.3 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.2946, allocations: 3.984 kB / 464.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.2946, allocations: 7.938 kB / 464.3 MB, free: 9.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: 2 (step.counter,$CLKPRE.step.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.916e-05/0.2946, allocations: 111.8 kB / 464.4 MB, free: 9.117 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.2947, allocations: 49.66 kB / 464.5 MB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.2947, allocations: 8 kB / 464.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.2947, allocations: 0.625 kB / 464.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2948, allocations: 0 / 464.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.2948, allocations: 3.906 kB / 464.5 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.379e-05/0.2948, allocations: 134.2 kB / 464.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2948, allocations: 0.9375 kB / 464.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-05/0.2949, allocations: 11.98 kB / 464.7 MB, free: 8.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2949, allocations: 4 kB / 464.7 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-06/0.2949, allocations: 0 / 464.7 MB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2949, allocations: 7.938 kB / 464.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2949, allocations: 0 / 464.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.039e-05/0.295, allocations: 76.97 kB / 464.7 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.328e-05/0.2951, allocations: 90.06 kB / 464.8 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2951, allocations: 0 / 464.8 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.785e-05/0.2951, allocations: 4 kB / 464.8 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-06/0.2951, allocations: 0 / 464.8 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.2952, allocations: 4 kB / 464.8 MB, free: 8.648 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.609e-05/0.2952, allocations: 84.84 kB / 464.9 MB, free: 8.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001733/0.2954, allocations: 4 kB / 464.9 MB, free: 8.562 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: 1 (step.counter) * 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 8.247e-05/0.2955, allocations: 101.8 kB / 465 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 6.292e-05/0.2955, allocations: 20 kB / 465 MB, free: 8.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2955, allocations: 3.938 kB / 465 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.2955, allocations: 0 / 465 MB, free: 8.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.2957, allocations: 16.25 kB / 465.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001806/0.2959, allocations: 71.72 kB / 465.1 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.2962, allocations: 0.6954 MB / 465.8 MB, free: 7.605 MB / 346.7 MB Notification: Performance of SimCode: time 2.11e-07/0.2962, allocations: 0 / 465.8 MB, free: 7.605 MB / 346.7 MB Notification: Performance of Templates: time 0.001887/0.2981, allocations: 387.6 kB / 466.2 MB, free: 7.238 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches