Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009697/0.0009698, allocations: 198.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.594/1.594, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008705/0.0008707, allocations: 87.84 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.365e-05, allocations: 0 / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1072, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3905/0.4977, allocations: 76.13 MB / 471.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.4981, allocations: 74.52 kB / 471.4 MB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002413/0.5005, allocations: 0.7559 MB / 472.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5005, allocations: 1.625 kB / 472.1 MB, free: 14.47 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.5006, allocations: 0 / 472.1 MB, free: 14.47 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.0003093/0.5009, allocations: 323.5 kB / 472.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.501, allocations: 9.016 kB / 472.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.501, allocations: 6.812 kB / 472.5 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.5012, allocations: 176.1 kB / 472.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.5012, allocations: 0.8594 kB / 472.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.5013, allocations: 0 / 472.6 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.405e-05/0.5014, allocations: 13.42 kB / 472.7 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.5016, allocations: 95.73 kB / 472.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.5016, allocations: 0 / 472.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.5016, allocations: 4 kB / 472.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.5016, allocations: 0 / 472.8 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.5018, allocations: 136.2 kB / 472.9 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.711e-05/0.5019, allocations: 35.34 kB / 472.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.687e-05/0.5019, allocations: 21.53 kB / 472.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.502, allocations: 0 / 472.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.502, allocations: 42.28 kB / 473 MB, free: 13.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.502, allocations: 0 / 473 MB, free: 13.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000158/0.5022, allocations: 48.77 kB / 473 MB, free: 13.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.5022, allocations: 58.22 kB / 473.1 MB, free: 13.44 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.725e-05/0.5023, allocations: 96.12 kB / 473.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.5023, allocations: 25.7 kB / 473.2 MB, free: 13.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.5023, allocations: 84.14 kB / 473.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.5024, allocations: 5.25 kB / 473.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.5024, allocations: 0 / 473.3 MB, free: 13.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.5024, allocations: 316 kB / 473.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.5024, allocations: 11.12 kB / 473.6 MB, free: 12.9 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.5025, allocations: 29.56 kB / 473.6 MB, free: 12.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.334e-05/0.5025, allocations: 5.172 kB / 473.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5025, allocations: 0 / 473.6 MB, free: 12.86 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.92e-05/0.5026, allocations: 57.38 kB / 473.7 MB, free: 12.81 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.5027, allocations: 8 kB / 473.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5027, allocations: 0 / 473.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5027, allocations: 0 / 473.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.258e-05/0.5028, allocations: 5.594 kB / 473.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.5028, allocations: 7.953 kB / 473.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.992e-05/0.5028, allocations: 0 / 473.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.5028, allocations: 4 kB / 473.7 MB, free: 12.79 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 4.835e-05/0.5029, allocations: 109 kB / 473.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.503, allocations: 48.39 kB / 473.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.584e-05/0.503, allocations: 12.25 kB / 473.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.503, allocations: 0 / 473.9 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.503, allocations: 4 kB / 473.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.503, allocations: 3.953 kB / 473.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.568e-05/0.5031, allocations: 135 kB / 474 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.5031, allocations: 1.781 kB / 474 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.652e-05/0.5032, allocations: 5.266 kB / 474 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5032, allocations: 4 kB / 474 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.5032, allocations: 1.5 kB / 474 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5032, allocations: 5.75 kB / 474 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5032, allocations: 0 / 474 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.646e-05/0.5033, allocations: 75.3 kB / 474.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.5034, allocations: 82.42 kB / 474.2 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.5034, allocations: 4 kB / 474.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.957e-05/0.5035, allocations: 1.688 kB / 474.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-06/0.5035, allocations: 4 kB / 474.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.5035, allocations: 4 kB / 474.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.429e-05/0.5035, allocations: 84.25 kB / 474.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5035, allocations: 0 / 474.3 MB, free: 12.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003147/0.5039, allocations: 4 kB / 474.3 MB, free: 12.16 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.065e-05/0.504, allocations: 95.25 kB / 474.4 MB, free: 12.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.034e-05/0.5041, allocations: 20.64 kB / 474.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5041, allocations: 256 / 474.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.31e-07/0.5041, allocations: 4 kB / 474.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.5043, allocations: 18.28 kB / 474.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.5045, allocations: 66.92 kB / 474.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.5046, allocations: 0.6828 MB / 475.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.903e-05/0.5046, allocations: 0 / 475.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.5047, allocations: 12.66 kB / 475.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of SimCode: time 3.9e-07/0.5047, allocations: 3.938 kB / 475.2 MB, free: 11.24 MB / 346.7 MB Notification: Performance of Templates: time 0.002663/0.5074, allocations: 325.3 kB / 475.5 MB, free: 11.06 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches