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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009145/0.0009145, allocations: 93.33 kB / 17.31 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009802/0.0009802, allocations: 179.8 kB / 18.21 MB, free: 5.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002305/0.0002305, allocations: 7.938 kB / 302.1 MB, free: 5.867 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07355/0.0738, allocations: 50.4 MB / 352.5 MB, free: 3.453 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001379/0.07521, allocations: 1.139 MB / 353.6 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001503/0.07538, allocations: 31.91 kB / 353.7 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.07543, allocations: 0 / 353.7 MB, free: 2.27 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.07546, allocations: 3.938 kB / 353.7 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 3.059e-05/0.07549, allocations: 0 / 353.7 MB, free: 2.266 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.07571, allocations: 23.98 kB / 353.7 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.539e-05/0.07578, allocations: 23.94 kB / 353.7 MB, free: 2.219 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.826e-05/0.07587, allocations: 15.97 kB / 353.7 MB, free: 2.203 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.0759, allocations: 11.94 kB / 353.7 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.07595, allocations: 11.92 kB / 353.8 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.07596, allocations: 0 / 353.8 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.07598, allocations: 0 / 353.8 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.834e-05/0.076, allocations: 8 kB / 353.8 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.07604, allocations: 29.64 kB / 353.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 5.82e-05/0.0761, allocations: 23.94 kB / 353.8 MB, free: 2.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.07611, allocations: 0 / 353.8 MB, free: 2.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07612, allocations: 7.938 kB / 353.8 MB, free: 2.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.367e-06/0.07613, allocations: 4 kB / 353.8 MB, free: 2.102 MB / 286.1 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.0003344/0.07647, allocations: 331.7 kB / 354.1 MB, free: 1.727 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.07651, allocations: 12.03 kB / 354.2 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.07654, allocations: 0.9375 kB / 354.2 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.07669, allocations: 172.3 kB / 354.3 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.07672, allocations: 12.31 kB / 354.3 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.07674, allocations: 384 / 354.3 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.07705, allocations: 119.8 kB / 354.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.07707, allocations: 4.188 kB / 354.5 MB, free: 1.363 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.07709, allocations: 3.938 kB / 354.5 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.0771, allocations: 4 kB / 354.5 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.07721, allocations: 23.97 kB / 354.5 MB, free: 1.332 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.07734, allocations: 157.7 kB / 354.6 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.0775, allocations: 54.5 kB / 354.7 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.543e-05/0.07759, allocations: 28.92 kB / 354.7 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.0776, allocations: 0 / 354.7 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.07763, allocations: 30.56 kB / 354.8 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.07764, allocations: 0 / 354.8 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002464/0.07789, allocations: 77.59 kB / 354.8 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.07795, allocations: 59.31 kB / 354.9 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.799e-05/0.07802, allocations: 97.86 kB / 355 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.07804, allocations: 37.64 kB / 355 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.07809, allocations: 88.12 kB / 355.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.098e-05/0.07811, allocations: 0 / 355.1 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.07814, allocations: 21.66 kB / 355.1 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.07822, allocations: 310.8 kB / 355.4 MB, free: 272 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.07824, allocations: 7.984 kB / 355.4 MB, free: 264 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.07827, allocations: 31.38 kB / 355.5 MB, free: 220 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.07832, allocations: 39.38 kB / 355.5 MB, free: 168 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.07833, allocations: 0 / 355.5 MB, free: 168 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.328e-05/0.07842, allocations: 61.62 kB / 355.6 MB, free: 100 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.07844, allocations: 8.125 kB / 355.6 MB, free: 92 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.07845, allocations: 3.938 kB / 355.6 MB, free: 88 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.07846, allocations: 4 kB / 355.6 MB, free: 84 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.679e-05/0.07852, allocations: 4 kB / 355.6 MB, free: 80 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.07853, allocations: 11.91 kB / 355.6 MB, free: 68 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.082e-05/0.07856, allocations: 3.906 kB / 355.6 MB, free: 64 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.07857, allocations: 4 kB / 355.6 MB, free: 60 kB / 286.1 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 ($CLKPRE.step.counter,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.235e-05/0.07864, allocations: 113.8 kB / 355.7 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.07879, allocations: 57.67 kB / 355.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.07882, allocations: 15.44 kB / 355.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.07883, allocations: 0 / 355.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.07884, allocations: 4 kB / 355.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.07884, allocations: 0 / 355.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.533e-05/0.07892, allocations: 153.7 kB / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.07893, allocations: 0 / 355.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.538e-05/0.07897, allocations: 3.984 kB / 356 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.07898, allocations: 7.938 kB / 356 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.07899, allocations: 3.938 kB / 356 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.079, allocations: 0 / 356 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.079, allocations: 0 / 356 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.07916, allocations: 89.34 kB / 356.1 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.011e-05/0.0792, allocations: 85.33 kB / 356.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.07922, allocations: 3.984 kB / 356.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.07926, allocations: 15.97 kB / 356.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-06/0.07927, allocations: 0 / 356.2 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.07928, allocations: 4 kB / 356.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.042e-05/0.07932, allocations: 79.28 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.273e-06/0.07933, allocations: 4 kB / 356.2 MB, free: 15.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001926/0.07953, allocations: 7.938 kB / 356.2 MB, free: 15.31 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.825e-05/0.07961, allocations: 111.2 kB / 356.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001124/0.07973, allocations: 27.92 kB / 356.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.07974, allocations: 3.938 kB / 356.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.21e-07/0.07975, allocations: 0 / 356.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.07997, allocations: 34.67 kB / 356.4 MB, free: 15.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002511/0.08023, allocations: 151.4 kB / 356.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001757/0.08042, allocations: 0.6848 MB / 357.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.955e-05/0.08045, allocations: 7.438 kB / 357.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.08045, allocations: 0 / 357.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Templates: time 0.001611/0.08207, allocations: 0.5814 MB / 357.8 MB, free: 13.65 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches