Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001035/0.001035, allocations: 182.6 kB / 8.134 MB, free: 2.207 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.201/1.201, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0008925/0.0008925, allocations: 107.9 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.422e-06/6.452e-06, allocations: 4 kB / 336.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2034/0.2034, allocations: 50.4 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08063/0.2841, allocations: 75.26 MB / 462.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.2843, allocations: 75.95 kB / 462.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.001698/0.286, allocations: 447.2 kB / 462.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.286, allocations: 4 kB / 462.7 MB, free: 11.04 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.0002784/0.2863, allocations: 323.6 kB / 463 MB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2864, allocations: 8.031 kB / 463 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.2864, allocations: 8.438 kB / 463 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.2866, allocations: 177.1 kB / 463.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.2866, allocations: 0 / 463.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.2866, allocations: 4.562 kB / 463.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.592e-05/0.2867, allocations: 8.562 kB / 463.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.2869, allocations: 93.42 kB / 463.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.2869, allocations: 1.031 kB / 463.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2869, allocations: 0 / 463.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2869, allocations: 1.219 kB / 463.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001162/0.287, allocations: 130.2 kB / 463.4 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.537e-05/0.2871, allocations: 39.42 kB / 463.5 MB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.717e-05/0.2872, allocations: 31.03 kB / 463.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.2872, allocations: 0 / 463.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.2872, allocations: 35.41 kB / 463.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.943e-06/0.2872, allocations: 7.938 kB / 463.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001208/0.2873, allocations: 45.69 kB / 463.6 MB, free: 9.996 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.2874, allocations: 51.41 kB / 463.6 MB, free: 9.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.468e-05/0.2875, allocations: 94.97 kB / 463.7 MB, free: 9.836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.2875, allocations: 25.7 kB / 463.8 MB, free: 9.805 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.721e-05/0.2875, allocations: 94.89 kB / 463.9 MB, free: 9.711 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.07e-05/0.2875, allocations: 3.906 kB / 463.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.2875, allocations: 0 / 463.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.2876, allocations: 314.8 kB / 464.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.2877, allocations: 12 kB / 464.2 MB, free: 9.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.391e-05/0.2877, allocations: 24.56 kB / 464.2 MB, free: 9.344 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.945e-05/0.2877, allocations: 8 kB / 464.2 MB, free: 9.336 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2877, allocations: 0 / 464.2 MB, free: 9.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.926e-05/0.2878, allocations: 61.53 kB / 464.3 MB, free: 9.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.2878, allocations: 8 kB / 464.3 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.2878, allocations: 0 / 464.3 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.167e-06/0.2878, allocations: 0 / 464.3 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.2879, allocations: 4 kB / 464.3 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.2879, allocations: 3.938 kB / 464.3 MB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.2879, allocations: 7.984 kB / 464.3 MB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.2879, allocations: 0 / 464.3 MB, free: 9.242 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * 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 6.4e-05/0.288, allocations: 109.7 kB / 464.4 MB, free: 9.129 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.2881, allocations: 45.61 kB / 464.4 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.2881, allocations: 7.672 kB / 464.4 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.2881, allocations: 1.375 kB / 464.4 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2881, allocations: 0 / 464.4 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2881, allocations: 0.5625 kB / 464.4 MB, free: 9.066 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.522e-05/0.2882, allocations: 138.1 kB / 464.6 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2882, allocations: 0 / 464.6 MB, free: 8.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.2883, allocations: 7.938 kB / 464.6 MB, free: 8.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2883, allocations: 3.984 kB / 464.6 MB, free: 8.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2883, allocations: 4 kB / 464.6 MB, free: 8.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2883, allocations: 4.875 kB / 464.6 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2883, allocations: 1 kB / 464.6 MB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.166e-05/0.2884, allocations: 77.03 kB / 464.7 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.2884, allocations: 77.11 kB / 464.8 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.2884, allocations: 0 / 464.8 MB, free: 8.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.2885, allocations: 4 kB / 464.8 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-06/0.2885, allocations: 0 / 464.8 MB, free: 8.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.2885, allocations: 15.89 kB / 464.8 MB, free: 8.668 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.048e-05/0.2885, allocations: 76.16 kB / 464.9 MB, free: 8.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.2887, allocations: 4 kB / 464.9 MB, free: 8.59 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: 4 (assignClock1.u,assignClock1.y,step.y,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 9.11e-05/0.2888, allocations: 105 kB / 465 MB, free: 8.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.127e-05/0.2889, allocations: 23.94 kB / 465 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2889, allocations: 0 / 465 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.2e-07/0.2889, allocations: 0 / 465 MB, free: 8.457 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001395/0.2891, allocations: 15.17 kB / 465 MB, free: 8.445 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001589/0.2892, allocations: 71.75 kB / 465.1 MB, free: 8.352 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.2895, allocations: 0.6993 MB / 465.8 MB, free: 7.629 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2895, allocations: 0 / 465.8 MB, free: 7.629 MB / 346.7 MB Notification: Performance of Templates: time 0.001852/0.2913, allocations: 381.6 kB / 466.1 MB, free: 7.27 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches