Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 182.8 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.255/1.255, allocations: 225.7 MB / 243.2 MB, free: 8.516 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007671/0.0007672, allocations: 95.02 kB / 294.4 MB, free: 9.516 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002688, allocations: 15.92 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1866, allocations: 50.42 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001091/0.1877, allocations: 1.133 MB / 405.7 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000135/0.1878, allocations: 27.91 kB / 405.7 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.78e-05/0.1879, allocations: 1.062 kB / 405.7 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.1879, allocations: 0 / 405.7 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.859e-05/0.188, allocations: 3.938 kB / 405.7 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.1882, allocations: 24.52 kB / 405.8 MB, free: 30.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.322e-05/0.1882, allocations: 29.83 kB / 405.8 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.1883, allocations: 11.98 kB / 405.8 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.468e-05/0.1883, allocations: 7.938 kB / 405.8 MB, free: 30.08 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.165e-05/0.1884, allocations: 19.91 kB / 405.8 MB, free: 30.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1884, allocations: 0.5 kB / 405.8 MB, free: 30.06 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.1884, allocations: 5.312 kB / 405.8 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.1884, allocations: 4 kB / 405.8 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.658e-05/0.1885, allocations: 33.64 kB / 405.9 MB, free: 30.01 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.682e-05/0.1885, allocations: 27.89 kB / 405.9 MB, free: 29.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1885, allocations: 0.9688 kB / 405.9 MB, free: 29.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1885, allocations: 0 / 405.9 MB, free: 29.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.575e-06/0.1885, allocations: 0 / 405.9 MB, free: 29.98 MB / 298.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.0002416/0.1888, allocations: 336.1 kB / 406.2 MB, free: 29.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.727e-05/0.1888, allocations: 8.031 kB / 406.2 MB, free: 29.6 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.091e-05/0.1889, allocations: 0.9375 kB / 406.2 MB, free: 29.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.189, allocations: 188.2 kB / 406.4 MB, free: 29.38 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.189, allocations: 384 / 406.4 MB, free: 29.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.189, allocations: 4.938 kB / 406.4 MB, free: 29.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.1893, allocations: 121 kB / 406.5 MB, free: 29.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1893, allocations: 1.719 kB / 406.5 MB, free: 29.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1893, allocations: 3.938 kB / 406.6 MB, free: 29.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1893, allocations: 0 / 406.6 MB, free: 29.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.765e-05/0.1894, allocations: 19.98 kB / 406.6 MB, free: 29.22 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.105e-05/0.1895, allocations: 160.7 kB / 406.7 MB, free: 29.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1896, allocations: 50.59 kB / 406.8 MB, free: 28.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.734e-05/0.1897, allocations: 24.89 kB / 406.8 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.306e-06/0.1897, allocations: 0 / 406.8 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.1897, allocations: 40.97 kB / 406.8 MB, free: 28.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.1897, allocations: 0 / 406.8 MB, free: 28.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002016/0.1899, allocations: 81.58 kB / 406.9 MB, free: 28.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.1899, allocations: 55.41 kB / 407 MB, free: 28.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.346e-05/0.19, allocations: 101.9 kB / 407.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.19, allocations: 25.7 kB / 407.1 MB, free: 28.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.519e-05/0.19, allocations: 92.12 kB / 407.2 MB, free: 28.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.19, allocations: 3.906 kB / 407.2 MB, free: 28.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-06/0.19, allocations: 0 / 407.2 MB, free: 28.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.497e-05/0.1901, allocations: 310.8 kB / 407.5 MB, free: 28.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.25e-05/0.1901, allocations: 8 kB / 407.5 MB, free: 28.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.956e-05/0.1901, allocations: 31.36 kB / 407.5 MB, free: 28.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/0.1902, allocations: 43.44 kB / 407.6 MB, free: 28.08 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1902, allocations: 0 / 407.6 MB, free: 28.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.975e-05/0.1903, allocations: 65.5 kB / 407.6 MB, free: 28.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.1903, allocations: 8.125 kB / 407.7 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1903, allocations: 7.938 kB / 407.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-06/0.1903, allocations: 0 / 407.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.06e-05/0.1903, allocations: 4 kB / 407.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1904, allocations: 0 / 407.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.754e-05/0.1904, allocations: 7.938 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-06/0.1904, allocations: 0 / 407.7 MB, free: 27.98 MB / 298.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 4.139e-05/0.1904, allocations: 125.7 kB / 407.8 MB, free: 27.85 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.1905, allocations: 61.59 kB / 407.9 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.1906, allocations: 15.42 kB / 407.9 MB, free: 27.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.1906, allocations: 4 kB / 407.9 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1906, allocations: 0 / 407.9 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.814e-06/0.1906, allocations: 0 / 407.9 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.35e-05/0.1906, allocations: 154 kB / 408 MB, free: 27.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1906, allocations: 0 / 408 MB, free: 27.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.1907, allocations: 11.98 kB / 408 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.1907, allocations: 0 / 408 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.1907, allocations: 3.938 kB / 408 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1907, allocations: 0 / 408 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1907, allocations: 0 / 408 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1908, allocations: 93.05 kB / 408.1 MB, free: 27.43 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.473e-05/0.1908, allocations: 85.02 kB / 408.2 MB, free: 27.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.1909, allocations: 7.938 kB / 408.2 MB, free: 27.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.561e-05/0.1909, allocations: 3.984 kB / 408.2 MB, free: 27.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-06/0.1909, allocations: 0 / 408.2 MB, free: 27.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1909, allocations: 4 kB / 408.2 MB, free: 27.31 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.835e-05/0.1909, allocations: 83.28 kB / 408.3 MB, free: 27.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1909, allocations: 4 kB / 408.3 MB, free: 27.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001694/0.1911, allocations: 4 kB / 408.3 MB, free: 27.22 MB / 298.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 6.098e-05/0.1912, allocations: 99.25 kB / 408.4 MB, free: 27.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.758e-05/0.1913, allocations: 31.92 kB / 408.4 MB, free: 27.08 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1913, allocations: 3.938 kB / 408.4 MB, free: 27.08 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-07/0.1913, allocations: 0 / 408.4 MB, free: 27.08 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.1915, allocations: 24.02 kB / 408.5 MB, free: 27.05 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001994/0.1917, allocations: 121 kB / 408.6 MB, free: 26.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.755e-05/0.1918, allocations: 0.6809 MB / 409.3 MB, free: 26.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.341e-05/0.1918, allocations: 12.17 kB / 409.3 MB, free: 26.19 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.618e-05/0.1918, allocations: 7.438 kB / 409.3 MB, free: 26.18 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1918, allocations: 0 / 409.3 MB, free: 26.18 MB / 298.7 MB Notification: Performance of Templates: time 0.001635/0.1935, allocations: 347 kB / 409.6 MB, free: 25.84 MB / 298.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