Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001136/0.001136, 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.208/1.208, 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.0008728/0.0008729, allocations: 91.78 kB / 286.3 MB, free: 5.234 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 9.438e-06/9.458e-06, allocations: 4 kB / 343.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 51.48 MB / 394.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2674/0.3748, allocations: 76.1 MB / 470.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002103/0.3751, allocations: 73.36 kB / 470.8 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.001379/0.3765, allocations: 374.4 kB / 471.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3765, allocations: 0 / 471.2 MB, free: 14.82 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.0002347/0.3768, allocations: 313.6 kB / 471.5 MB, free: 14.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3768, allocations: 8.031 kB / 471.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.3768, allocations: 6.812 kB / 471.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.377, allocations: 184 kB / 471.7 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.377, allocations: 2.344 kB / 471.7 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.377, allocations: 4 kB / 471.7 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.93e-05/0.3771, allocations: 11.25 kB / 471.7 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3773, allocations: 84.23 kB / 471.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3773, allocations: 0 / 471.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.3773, allocations: 3.984 kB / 471.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.3773, allocations: 3.375 kB / 471.8 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.717e-05/0.3774, allocations: 139.4 kB / 471.9 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.285e-05/0.3775, allocations: 41.83 kB / 471.9 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.3775, allocations: 18.53 kB / 472 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.3776, allocations: 0 / 472 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3776, allocations: 37.66 kB / 472 MB, free: 13.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.3776, allocations: 4 kB / 472 MB, free: 13.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001352/0.3778, allocations: 40.11 kB / 472 MB, free: 13.86 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.3778, allocations: 55.41 kB / 472.1 MB, free: 13.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.551e-05/0.3779, allocations: 95.53 kB / 472.2 MB, free: 13.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.363e-06/0.3779, allocations: 25.7 kB / 472.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.498e-05/0.3779, allocations: 83.02 kB / 472.3 MB, free: 13.58 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.3779, allocations: 7.375 kB / 472.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-06/0.3779, allocations: 0 / 472.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.166e-05/0.378, allocations: 314.8 kB / 472.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.378, allocations: 3.812 kB / 472.6 MB, free: 13.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.904e-05/0.378, allocations: 27.38 kB / 472.6 MB, free: 13.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.636e-05/0.378, allocations: 10.78 kB / 472.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.378, allocations: 0 / 472.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.086e-05/0.3781, allocations: 52.92 kB / 472.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3781, allocations: 7.047 kB / 472.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3781, allocations: 3.906 kB / 472.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3781, allocations: 5.969 kB / 472.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.151e-05/0.3782, allocations: 0 / 472.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.3782, allocations: 4 kB / 472.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.149e-05/0.3782, allocations: 0 / 472.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-06/0.3782, allocations: 0 / 472.7 MB, free: 13.14 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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 5.63e-05/0.3783, allocations: 116.9 kB / 472.8 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.3784, allocations: 45.08 kB / 472.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.3784, allocations: 7 kB / 472.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-06/0.3784, allocations: 0 / 472.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3784, allocations: 0 / 472.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3784, allocations: 0 / 472.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.403e-05/0.3785, allocations: 142.6 kB / 473 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3785, allocations: 0 / 473 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.624e-05/0.3785, allocations: 0 / 473 MB, free: 12.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3785, allocations: 7.906 kB / 473 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.3785, allocations: 0 / 473 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3785, allocations: 4 kB / 473 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3785, allocations: 0 / 473 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.714e-05/0.3786, allocations: 74.39 kB / 473.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.102e-05/0.3786, allocations: 85.28 kB / 473.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.3787, allocations: 0 / 473.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.568e-05/0.3787, allocations: 2.156 kB / 473.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-06/0.3787, allocations: 3.984 kB / 473.2 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3787, allocations: 4 kB / 473.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.237e-05/0.3787, allocations: 90.5 kB / 473.3 MB, free: 12.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001894/0.3789, allocations: 0 / 473.3 MB, free: 12.53 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: 3 (step.y,assignClock1.u,assignClock1.y) * 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.898e-05/0.379, allocations: 95.25 kB / 473.4 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.032e-05/0.3791, allocations: 23.62 kB / 473.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3791, allocations: 0 / 473.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.61e-07/0.3791, allocations: 0 / 473.4 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.3793, allocations: 15.78 kB / 473.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001548/0.3794, allocations: 65.62 kB / 473.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.3796, allocations: 0.6972 MB / 474.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3796, allocations: 0 / 474.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of Templates: time 0.001981/0.3816, allocations: 317.8 kB / 474.5 MB, free: 11.43 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches