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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002734/0.002734, allocations: 177.4 kB / 17.4 MB, free: 4.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.3 MB / 241.4 MB, free: 11.72 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008988/0.0008991, allocations: 99.88 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.00038, allocations: 11.94 kB / 352.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2739, allocations: 50.41 MB / 402.8 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3817, allocations: 76.09 MB / 478.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.382, allocations: 75.95 kB / 478.9 MB, free: 4.191 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00191/0.3839, allocations: 0.761 MB / 479.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3839, allocations: 0 / 479.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3839, allocations: 0 / 479.7 MB, free: 3.434 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.0004409/0.3844, allocations: 331.5 kB / 480 MB, free: 3.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.3844, allocations: 11.97 kB / 480 MB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.3845, allocations: 8.656 kB / 480 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.3847, allocations: 177.8 kB / 480.2 MB, free: 2.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.3848, allocations: 4.375 kB / 480.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.3848, allocations: 384 / 480.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.3852, allocations: 123.8 kB / 480.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.3852, allocations: 192 / 480.3 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3852, allocations: 7.938 kB / 480.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3852, allocations: 0 / 480.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.3853, allocations: 27.91 kB / 480.4 MB, free: 2.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.3855, allocations: 153.7 kB / 480.5 MB, free: 2.461 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.3857, allocations: 50.59 kB / 480.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.483e-05/0.3858, allocations: 24.88 kB / 480.6 MB, free: 2.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-06/0.3858, allocations: 7.938 kB / 480.6 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.3858, allocations: 38.55 kB / 480.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.3858, allocations: 0 / 480.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002841/0.3861, allocations: 73.61 kB / 480.7 MB, free: 2.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.3862, allocations: 59.41 kB / 480.8 MB, free: 2.172 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/0.3863, allocations: 101.8 kB / 480.9 MB, free: 2.062 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3863, allocations: 25.7 kB / 480.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.924e-05/0.3863, allocations: 84.14 kB / 481 MB, free: 1.945 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.3864, allocations: 7.906 kB / 481 MB, free: 1.938 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-06/0.3864, allocations: 4 kB / 481 MB, free: 1.934 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.3865, allocations: 314.8 kB / 481.3 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.596e-05/0.3865, allocations: 11.94 kB / 481.3 MB, free: 1.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.3865, allocations: 23.44 kB / 481.3 MB, free: 1.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.711e-05/0.3866, allocations: 43.36 kB / 481.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3866, allocations: 0 / 481.4 MB, free: 1.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.903e-05/0.3867, allocations: 57.64 kB / 481.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3867, allocations: 4 kB / 481.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.3867, allocations: 7.938 kB / 481.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3867, allocations: 3.984 kB / 481.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.3868, allocations: 4 kB / 481.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.3868, allocations: 4.125 kB / 481.4 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.015e-05/0.3869, allocations: 4 kB / 481.4 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.3869, allocations: 0 / 481.4 MB, free: 1.426 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 () * Number of clocked states: 1 (step.counter) * 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 8.006e-05/0.3869, allocations: 117.8 kB / 481.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.3871, allocations: 61.67 kB / 481.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.025e-05/0.3871, allocations: 15.31 kB / 481.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3871, allocations: 0 / 481.6 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3871, allocations: 4 kB / 481.6 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.3871, allocations: 4 kB / 481.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001058/0.3873, allocations: 157.7 kB / 481.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.3873, allocations: 384 / 481.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.3873, allocations: 0 / 481.8 MB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.3873, allocations: 4 kB / 481.8 MB, free: 1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3873, allocations: 7.938 kB / 481.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.3873, allocations: 0 / 481.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3873, allocations: 0 / 481.8 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.3875, allocations: 92.95 kB / 481.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.555e-05/0.3875, allocations: 85.09 kB / 482 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.3876, allocations: 7.938 kB / 482 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.751e-05/0.3876, allocations: 4 kB / 482 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-06/0.3876, allocations: 0 / 482 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.3876, allocations: 0 / 482 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.453e-05/0.3877, allocations: 83.27 kB / 482.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3877, allocations: 0 / 482.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.3879, allocations: 8 kB / 482.1 MB, free: 0.6797 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 () * Number of clocked states: 1 (step.counter) * 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 0.0001351/0.388, allocations: 103.2 kB / 482.2 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001236/0.3881, allocations: 28.2 kB / 482.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3881, allocations: 0 / 482.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.3882, allocations: 0 / 482.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.3884, allocations: 23.98 kB / 482.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.3887, allocations: 128.8 kB / 482.4 MB, free: 368 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.389, allocations: 0.689 MB / 483 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.643e-05/0.389, allocations: 0 / 483 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.389, allocations: 7.438 kB / 483.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3891, allocations: 0 / 483.1 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Templates: time 0.002415/0.3915, allocations: 332.6 kB / 483.4 MB, free: 15.32 MB / 362.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/jenkins1/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