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.RealSignals.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.001275/0.001275, allocations: 179 kB / 16.71 MB, free: 5.09 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.457/1.457, allocations: 225.7 MB / 243.2 MB, free: 10.23 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.001106/0.001107, allocations: 92.11 kB / 294.4 MB, free: 9.754 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002503/0.0002503, allocations: 7.938 kB / 354.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2293, allocations: 50.41 MB / 404.6 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.001453/0.2309, allocations: 1.168 MB / 405.7 MB, free: 30.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001677/0.231, allocations: 31.91 kB / 405.8 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.059e-05/0.2311, allocations: 1.594 kB / 405.8 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.2311, allocations: 3.938 kB / 405.8 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.2312, allocations: 0 / 405.8 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.2315, allocations: 23.97 kB / 405.8 MB, free: 30.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.944e-05/0.2315, allocations: 24.5 kB / 405.8 MB, free: 30.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.2316, allocations: 12.92 kB / 405.8 MB, free: 30.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.326e-05/0.2317, allocations: 7.938 kB / 405.9 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.15e-05/0.2317, allocations: 17.02 kB / 405.9 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2317, allocations: 0 / 405.9 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.826e-06/0.2318, allocations: 0 / 405.9 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/0.2318, allocations: 4.891 kB / 405.9 MB, free: 30.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.2318, allocations: 41.58 kB / 405.9 MB, free: 30.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.398e-05/0.2319, allocations: 26.45 kB / 405.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2319, allocations: 4 kB / 405.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2319, allocations: 0 / 405.9 MB, free: 30.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2319, allocations: 0 / 405.9 MB, free: 30.02 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.0003288/0.2323, allocations: 333 kB / 406.3 MB, free: 29.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.2323, allocations: 12.03 kB / 406.3 MB, free: 29.63 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.2324, allocations: 4.344 kB / 406.3 MB, free: 29.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.2325, allocations: 184.2 kB / 406.5 MB, free: 29.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.2326, allocations: 4.375 kB / 406.5 MB, free: 29.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.2326, allocations: 384 / 406.5 MB, free: 29.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.2329, allocations: 127.8 kB / 406.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2329, allocations: 4.188 kB / 406.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2329, allocations: 7.938 kB / 406.6 MB, free: 29.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.2329, allocations: 0 / 406.6 MB, free: 29.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.898e-05/0.233, allocations: 27.92 kB / 406.6 MB, free: 29.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001037/0.2332, allocations: 161.6 kB / 406.8 MB, free: 29.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.2333, allocations: 58.48 kB / 406.8 MB, free: 28.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.365e-05/0.2334, allocations: 24.92 kB / 406.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.2334, allocations: 12 kB / 406.9 MB, free: 28.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.2334, allocations: 30.56 kB / 406.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.2334, allocations: 0 / 406.9 MB, free: 28.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000235/0.2337, allocations: 85.5 kB / 407 MB, free: 28.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.2337, allocations: 59.34 kB / 407.1 MB, free: 28.72 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.312e-05/0.2338, allocations: 105.8 kB / 407.2 MB, free: 28.61 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-06/0.2338, allocations: 25.7 kB / 407.2 MB, free: 28.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.159e-05/0.2338, allocations: 88.14 kB / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.2338, allocations: 4 kB / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.2338, allocations: 0 / 407.3 MB, free: 28.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/0.2339, allocations: 318.8 kB / 407.6 MB, free: 28.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.034e-05/0.2339, allocations: 4 kB / 407.6 MB, free: 28.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.902e-05/0.2339, allocations: 27.44 kB / 407.6 MB, free: 28.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.636e-05/0.234, allocations: 47.36 kB / 407.7 MB, free: 28.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.234, allocations: 0 / 407.7 MB, free: 28.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.973e-05/0.234, allocations: 57.62 kB / 407.7 MB, free: 28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2341, allocations: 4 kB / 407.7 MB, free: 27.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.2341, allocations: 7.938 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.2341, allocations: 0 / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.2342, allocations: 16.06 kB / 407.7 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.2342, allocations: 0 / 407.7 MB, free: 27.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.029e-05/0.2342, allocations: 11.91 kB / 407.8 MB, free: 27.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.2342, allocations: 0 / 407.8 MB, free: 27.96 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: 2 (step.counter,$CLKPRE.step.counter) * 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 5.293e-05/0.2343, allocations: 113.8 kB / 407.9 MB, free: 27.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2344, allocations: 65.67 kB / 407.9 MB, free: 27.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.391e-05/0.2344, allocations: 15.83 kB / 407.9 MB, free: 27.74 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2344, allocations: 3.938 kB / 408 MB, free: 27.74 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2344, allocations: 0 / 408 MB, free: 27.74 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2344, allocations: 4 kB / 408 MB, free: 27.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.298e-05/0.2345, allocations: 157.6 kB / 408.1 MB, free: 27.53 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.2345, allocations: 0 / 408.1 MB, free: 27.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.113e-05/0.2346, allocations: 15.98 kB / 408.1 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2346, allocations: 240 / 408.1 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.2346, allocations: 3.938 kB / 408.1 MB, free: 27.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2346, allocations: 0 / 408.1 MB, free: 27.51 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2346, allocations: 0 / 408.1 MB, free: 27.51 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001409/0.2347, allocations: 96.98 kB / 408.2 MB, free: 27.4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.2348, allocations: 85.11 kB / 408.3 MB, free: 27.3 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.2348, allocations: 3.938 kB / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.841e-05/0.2348, allocations: 7.938 kB / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-06/0.2348, allocations: 0 / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.2348, allocations: 0 / 408.3 MB, free: 27.29 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.527e-05/0.2349, allocations: 91.64 kB / 408.4 MB, free: 27.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2349, allocations: 0 / 408.4 MB, free: 27.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001707/0.2351, allocations: 4 kB / 408.4 MB, free: 27.19 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: 1 (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 9.369e-05/0.2352, allocations: 111.2 kB / 408.5 MB, free: 27.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.2353, allocations: 31.98 kB / 408.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2353, allocations: 0 / 408.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2353, allocations: 0 / 408.6 MB, free: 27.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.2356, allocations: 35.91 kB / 408.6 MB, free: 27.01 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.2358, allocations: 126.2 kB / 408.7 MB, free: 26.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.683e-05/0.236, allocations: 0.6812 MB / 409.4 MB, free: 26.15 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.757e-05/0.236, allocations: 4.25 kB / 409.4 MB, free: 26.15 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.966e-05/0.236, allocations: 7.438 kB / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of SimCode: time 2.21e-07/0.236, allocations: 0 / 409.4 MB, free: 26.14 MB / 298.7 MB Notification: Performance of Templates: time 0.001991/0.238, allocations: 401.5 kB / 409.8 MB, free: 25.75 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches