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.001215/0.001215, allocations: 175 kB / 13.63 MB, free: 1.684 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.296/1.296, allocations: 221.4 MB / 235.5 MB, free: 2.918 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.0008343/0.0008343, allocations: 91.61 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.181e-05/2.183e-05, allocations: 4 kB / 343.8 MB, free: 4.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09212/0.09215, allocations: 50.42 MB / 394.2 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2986/0.3908, allocations: 76.01 MB / 470.3 MB, free: 11.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.391, allocations: 67.95 kB / 470.3 MB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001886/0.3929, allocations: 0.7539 MB / 471.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.393, allocations: 0 / 471.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.393, allocations: 2.625 kB / 471.1 MB, free: 10.69 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.0002818/0.3933, allocations: 318.5 kB / 471.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3933, allocations: 12.02 kB / 471.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.3934, allocations: 12.48 kB / 471.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/0.3935, allocations: 172.6 kB / 471.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.3936, allocations: 0 / 471.6 MB, free: 10.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.3936, allocations: 8 kB / 471.6 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.3938, allocations: 91.28 kB / 471.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.3938, allocations: 0 / 471.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3938, allocations: 0 / 471.7 MB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3938, allocations: 4 kB / 471.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.989e-05/0.3939, allocations: 15.94 kB / 471.7 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.394, allocations: 153.7 kB / 471.8 MB, free: 9.777 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.828e-05/0.3941, allocations: 50.5 kB / 471.9 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.868e-05/0.3942, allocations: 20.83 kB / 471.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3942, allocations: 0 / 471.9 MB, free: 9.695 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3942, allocations: 30.56 kB / 471.9 MB, free: 9.656 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3942, allocations: 3.938 kB / 472 MB, free: 9.652 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001345/0.3944, allocations: 53.83 kB / 472 MB, free: 9.594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.3944, allocations: 55.36 kB / 472.1 MB, free: 9.527 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.962e-05/0.3945, allocations: 101 kB / 472.2 MB, free: 9.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3945, allocations: 25.7 kB / 472.2 MB, free: 9.391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.3946, allocations: 80.14 kB / 472.3 MB, free: 9.309 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.3946, allocations: 7.984 kB / 472.3 MB, free: 9.301 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.3946, allocations: 0 / 472.3 MB, free: 9.301 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.3947, allocations: 318.8 kB / 472.6 MB, free: 8.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.393e-05/0.3948, allocations: 11.94 kB / 472.6 MB, free: 8.969 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.869e-05/0.3948, allocations: 33.48 kB / 472.6 MB, free: 8.926 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/0.3948, allocations: 11.98 kB / 472.6 MB, free: 8.914 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3948, allocations: 0 / 472.6 MB, free: 8.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.793e-05/0.3949, allocations: 53.64 kB / 472.7 MB, free: 8.855 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3949, allocations: 5.719 kB / 472.7 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.3949, allocations: 8.125 kB / 472.7 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.395, allocations: 3.984 kB / 472.7 MB, free: 8.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.017e-05/0.395, allocations: 7.938 kB / 472.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.395, allocations: 0 / 472.7 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.3951, allocations: 4 kB / 472.7 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.3951, allocations: 0 / 472.7 MB, free: 8.828 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.544e-05/0.3951, allocations: 112.9 kB / 472.8 MB, free: 8.711 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.06e-05/0.3952, allocations: 49.59 kB / 472.9 MB, free: 8.656 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.442e-05/0.3952, allocations: 7.5 kB / 472.9 MB, free: 8.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3952, allocations: 4 kB / 472.9 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3953, allocations: 4 kB / 472.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.3953, allocations: 3.938 kB / 472.9 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.434e-05/0.3954, allocations: 161.6 kB / 473.1 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3954, allocations: 0 / 473.1 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.493e-05/0.3954, allocations: 4.812 kB / 473.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3954, allocations: 4 kB / 473.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.3954, allocations: 0 / 473.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.3954, allocations: 0 / 473.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3955, allocations: 0 / 473.1 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.3956, allocations: 81.08 kB / 473.1 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.3956, allocations: 85.03 kB / 473.2 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3956, allocations: 384 / 473.2 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.378e-05/0.3957, allocations: 4 kB / 473.2 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.946e-06/0.3957, allocations: 0 / 473.2 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.3957, allocations: 4 kB / 473.2 MB, free: 8.211 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.29e-05/0.3957, allocations: 87.28 kB / 473.3 MB, free: 8.125 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3958, allocations: 0 / 473.3 MB, free: 8.125 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001693/0.3959, allocations: 8 kB / 473.3 MB, free: 8.117 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 0.0001045/0.396, allocations: 103.8 kB / 473.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.567e-05/0.3961, allocations: 20 kB / 473.4 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3961, allocations: 4 kB / 473.4 MB, free: 7.984 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-07/0.3961, allocations: 0 / 473.4 MB, free: 7.984 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.3963, allocations: 19.89 kB / 473.5 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001764/0.3965, allocations: 69.14 kB / 473.5 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.3967, allocations: 0.6848 MB / 474.2 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.844e-05/0.3967, allocations: 11.89 kB / 474.2 MB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.075e-05/0.3968, allocations: 7.438 kB / 474.2 MB, free: 7.145 MB / 346.7 MB Notification: Performance of SimCode: time 1.894e-06/0.3968, allocations: 0 / 474.2 MB, free: 7.145 MB / 346.7 MB Notification: Performance of Templates: time 0.001929/0.3987, allocations: 344.8 kB / 474.6 MB, free: 6.812 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