Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007626/0.0007626, allocations: 94.22 kB / 16.04 MB, free: 5.742 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07747/0.07747, allocations: 12.63 MB / 29.4 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002285/0.0002284, allocations: 4 kB / 40.28 MB, free: 0.6172 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005928/0.006172, allocations: 2.835 MB / 43.11 MB, free: 6.059 MB / 33.03 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 1.582/1.588, allocations: 277.4 MB / 320.5 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001844/1.589, allocations: 29.09 kB / 320.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.336e-05/1.589, allocations: 4 kB / 320.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/1.589, allocations: 0 / 320.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.908e-05/1.589, allocations: 3.938 kB / 320.6 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000257/1.589, allocations: 20.52 kB / 320.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.966e-05/1.589, allocations: 24.61 kB / 320.6 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/1.589, allocations: 28.11 kB / 320.6 MB, free: 10.73 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/1.589, allocations: 7.984 kB / 320.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/1.589, allocations: 3.938 kB / 320.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/1.589, allocations: 5.125 kB / 320.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.032e-05/1.589, allocations: 0 / 320.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.151e-05/1.589, allocations: 11.92 kB / 320.7 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/1.589, allocations: 38.47 kB / 320.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.141e-05/1.589, allocations: 27.89 kB / 320.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.589, allocations: 5 kB / 320.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.273e-06/1.589, allocations: 0 / 320.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/1.589, allocations: 0 / 320.7 MB, free: 10.63 MB / 250.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.0004103/1.59, allocations: 326.1 kB / 321 MB, free: 10.26 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/1.59, allocations: 12.03 kB / 321.1 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/1.59, allocations: 8.781 kB / 321.1 MB, free: 10.24 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/1.59, allocations: 176.3 kB / 321.2 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/1.59, allocations: 4.375 kB / 321.2 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/1.59, allocations: 1.656 kB / 321.2 MB, free: 10.03 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/1.591, allocations: 122.2 kB / 321.4 MB, free: 9.898 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/1.591, allocations: 4.172 kB / 321.4 MB, free: 9.895 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/1.591, allocations: 7.938 kB / 321.4 MB, free: 9.887 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/1.591, allocations: 0 / 321.4 MB, free: 9.887 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/1.591, allocations: 23.98 kB / 321.4 MB, free: 9.863 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/1.591, allocations: 159.1 kB / 321.6 MB, free: 9.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/1.591, allocations: 50.55 kB / 321.6 MB, free: 9.602 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.096e-05/1.591, allocations: 25.58 kB / 321.6 MB, free: 9.574 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/1.591, allocations: 6.75 kB / 321.6 MB, free: 9.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.591, allocations: 34.5 kB / 321.7 MB, free: 9.527 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/1.591, allocations: 0 / 321.7 MB, free: 9.527 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002597/1.591, allocations: 77.59 kB / 321.7 MB, free: 9.445 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/1.592, allocations: 59.41 kB / 321.8 MB, free: 9.375 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.319e-05/1.592, allocations: 102.4 kB / 321.9 MB, free: 9.266 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/1.592, allocations: 25.7 kB / 321.9 MB, free: 9.234 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/1.592, allocations: 89.38 kB / 322 MB, free: 9.145 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/1.592, allocations: 0 / 322 MB, free: 9.145 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/1.592, allocations: 4 kB / 322 MB, free: 9.141 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/1.592, allocations: 313.5 kB / 322.3 MB, free: 8.828 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.175e-05/1.592, allocations: 4 kB / 322.3 MB, free: 8.824 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.927e-05/1.592, allocations: 35.36 kB / 322.4 MB, free: 8.777 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/1.592, allocations: 41.69 kB / 322.4 MB, free: 8.727 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/1.592, allocations: 0 / 322.4 MB, free: 8.727 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.731e-05/1.592, allocations: 66.88 kB / 322.5 MB, free: 8.656 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.592, allocations: 5.625 kB / 322.5 MB, free: 8.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/1.592, allocations: 3.938 kB / 322.5 MB, free: 8.648 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/1.592, allocations: 4 kB / 322.5 MB, free: 8.645 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.426e-05/1.592, allocations: 4 kB / 322.5 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/1.592, allocations: 0 / 322.5 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.797e-05/1.592, allocations: 1.094 kB / 322.5 MB, free: 8.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/1.592, allocations: 4 kB / 322.5 MB, free: 8.637 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.95e-05/1.592, allocations: 126.6 kB / 322.6 MB, free: 8.504 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/1.592, allocations: 54.84 kB / 322.7 MB, free: 8.445 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/1.592, allocations: 11.44 kB / 322.7 MB, free: 8.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.758e-06/1.592, allocations: 12.98 kB / 322.7 MB, free: 8.418 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.592, allocations: 4 kB / 322.7 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/1.592, allocations: 0 / 322.7 MB, free: 8.414 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.93e-05/1.593, allocations: 158.3 kB / 322.9 MB, free: 8.211 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.593, allocations: 0 / 322.9 MB, free: 8.211 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/1.593, allocations: 4.703 kB / 322.9 MB, free: 8.207 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.593, allocations: 4 kB / 322.9 MB, free: 8.203 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/1.593, allocations: 5.906 kB / 322.9 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.593, allocations: 0 / 322.9 MB, free: 8.199 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.593, allocations: 3.938 kB / 322.9 MB, free: 8.195 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/1.593, allocations: 90.8 kB / 323 MB, free: 8.09 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/1.593, allocations: 77.11 kB / 323 MB, free: 7.996 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/1.593, allocations: 4.312 kB / 323 MB, free: 7.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.013e-05/1.593, allocations: 8 kB / 323 MB, free: 7.984 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-06/1.593, allocations: 8.766 kB / 323.1 MB, free: 7.977 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/1.593, allocations: 0 / 323.1 MB, free: 7.977 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.498e-05/1.593, allocations: 80.38 kB / 323.1 MB, free: 7.898 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.593, allocations: 0 / 323.1 MB, free: 7.898 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001657/1.593, allocations: 8 kB / 323.1 MB, free: 7.891 MB / 250.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001161/1.593, allocations: 102.4 kB / 323.2 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/1.593, allocations: 31.92 kB / 323.3 MB, free: 7.75 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.593, allocations: 2.031 kB / 323.3 MB, free: 7.75 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-07/1.593, allocations: 0 / 323.3 MB, free: 7.75 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/1.594, allocations: 27.92 kB / 323.3 MB, free: 7.723 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/1.594, allocations: 125.4 kB / 323.4 MB, free: 7.574 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/1.594, allocations: 0.6874 MB / 324.1 MB, free: 6.863 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.587e-05/1.594, allocations: 0 / 324.1 MB, free: 6.863 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/1.594, allocations: 15.42 kB / 324.1 MB, free: 6.848 MB / 250.7 MB Notification: Performance of SimCode: time 2.21e-07/1.594, allocations: 0 / 324.1 MB, free: 6.848 MB / 250.7 MB Notification: Performance of Templates: time 0.001961/1.596, allocations: 351.5 kB / 324.5 MB, free: 6.512 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches