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.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001209/0.001209, allocations: 175.6 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.347/1.347, allocations: 225.7 MB / 243.2 MB, free: 10.19 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.0008441/0.000844, allocations: 90.31 kB / 294.4 MB, free: 9.738 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002837, allocations: 11.94 kB / 354.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2222, allocations: 50.41 MB / 404.6 MB, free: 31.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001311/0.2235, allocations: 1.132 MB / 405.7 MB, free: 30.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001556/0.2237, allocations: 29.89 kB / 405.7 MB, free: 30.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.2238, allocations: 4 kB / 405.7 MB, free: 30.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.2238, allocations: 3.938 kB / 405.7 MB, free: 30.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.849e-05/0.2238, allocations: 3.984 kB / 405.8 MB, free: 30.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.2241, allocations: 19.98 kB / 405.8 MB, free: 30.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.396e-05/0.2242, allocations: 25.27 kB / 405.8 MB, free: 30.14 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.661e-05/0.2243, allocations: 11.98 kB / 405.8 MB, free: 30.13 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.924e-05/0.2243, allocations: 9.062 kB / 405.8 MB, free: 30.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.991e-05/0.2243, allocations: 15.92 kB / 405.8 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.2244, allocations: 4 kB / 405.8 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.011e-05/0.2244, allocations: 1.062 kB / 405.8 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.2244, allocations: 0 / 405.8 MB, free: 30.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.2244, allocations: 45.56 kB / 405.9 MB, free: 30.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.248e-05/0.2245, allocations: 20.8 kB / 405.9 MB, free: 30.03 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2245, allocations: 4 kB / 405.9 MB, free: 30.03 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2245, allocations: 3.094 kB / 405.9 MB, free: 30.03 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.2246, allocations: 0 / 405.9 MB, free: 30.03 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.0003098/0.2249, allocations: 337 kB / 406.2 MB, free: 29.65 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.2249, allocations: 8.031 kB / 406.2 MB, free: 29.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.2249, allocations: 4.938 kB / 406.3 MB, free: 29.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2251, allocations: 184.2 kB / 406.4 MB, free: 29.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.2251, allocations: 4.312 kB / 406.4 MB, free: 29.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.2251, allocations: 6.75 kB / 406.4 MB, free: 29.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.2254, allocations: 119.8 kB / 406.6 MB, free: 29.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.2254, allocations: 4.188 kB / 406.6 MB, free: 29.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.2254, allocations: 7.469 kB / 406.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2255, allocations: 0 / 406.6 MB, free: 29.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.2256, allocations: 27.97 kB / 406.6 MB, free: 29.25 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.804e-05/0.2257, allocations: 153.7 kB / 406.7 MB, free: 29.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001344/0.2258, allocations: 62.52 kB / 406.8 MB, free: 28.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.2259, allocations: 24.89 kB / 406.8 MB, free: 28.95 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.069e-05/0.2259, allocations: 7.938 kB / 406.8 MB, free: 28.94 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.2259, allocations: 34.56 kB / 406.9 MB, free: 28.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2259, allocations: 0 / 406.9 MB, free: 28.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002277/0.2262, allocations: 93.62 kB / 407 MB, free: 28.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.2262, allocations: 55.39 kB / 407 MB, free: 28.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.048e-05/0.2263, allocations: 101.9 kB / 407.1 MB, free: 28.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.721e-06/0.2263, allocations: 25.7 kB / 407.1 MB, free: 28.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.015e-05/0.2263, allocations: 88.12 kB / 407.2 MB, free: 28.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.2263, allocations: 8 kB / 407.2 MB, free: 28.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.2263, allocations: 0 / 407.2 MB, free: 28.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.1e-05/0.2264, allocations: 314.8 kB / 407.5 MB, free: 28.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.2264, allocations: 4 kB / 407.5 MB, free: 28.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.2264, allocations: 35.41 kB / 407.6 MB, free: 28.13 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.2265, allocations: 43.38 kB / 407.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2265, allocations: 0 / 407.6 MB, free: 28.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.041e-05/0.2265, allocations: 57.62 kB / 407.7 MB, free: 28.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.2265, allocations: 4 kB / 407.7 MB, free: 28.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2266, allocations: 3.938 kB / 407.7 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.2266, allocations: 4 kB / 407.7 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.811e-05/0.2266, allocations: 20.06 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.2266, allocations: 0 / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.2267, allocations: 3.906 kB / 407.7 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.2267, allocations: 4 kB / 407.7 MB, free: 27.97 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.867e-05/0.2267, allocations: 121.8 kB / 407.8 MB, free: 27.84 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.2269, allocations: 61.67 kB / 407.9 MB, free: 27.78 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.2269, allocations: 11.84 kB / 407.9 MB, free: 27.76 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2269, allocations: 0 / 407.9 MB, free: 27.76 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.2269, allocations: 3.938 kB / 407.9 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2269, allocations: 7.938 kB / 407.9 MB, free: 27.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.993e-05/0.227, allocations: 157.7 kB / 408.1 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.227, allocations: 3.938 kB / 408.1 MB, free: 27.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.227, allocations: 8 kB / 408.1 MB, free: 27.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.227, allocations: 0 / 408.1 MB, free: 27.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.227, allocations: 7.938 kB / 408.1 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.227, allocations: 3.984 kB / 408.1 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2271, allocations: 384 / 408.1 MB, free: 27.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.2272, allocations: 93.02 kB / 408.2 MB, free: 27.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.2272, allocations: 81.11 kB / 408.3 MB, free: 27.31 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2272, allocations: 3.938 kB / 408.3 MB, free: 27.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.937e-05/0.2273, allocations: 11.98 kB / 408.3 MB, free: 27.3 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-06/0.2273, allocations: 0 / 408.3 MB, free: 27.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.2273, allocations: 0 / 408.3 MB, free: 27.3 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.161e-05/0.2273, allocations: 83.28 kB / 408.4 MB, free: 27.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.032e-06/0.2273, allocations: 0 / 408.4 MB, free: 27.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001639/0.2275, allocations: 7.938 kB / 408.4 MB, free: 27.21 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 7.294e-05/0.2276, allocations: 115.2 kB / 408.5 MB, free: 27.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001078/0.2277, allocations: 27.98 kB / 408.5 MB, free: 27.06 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2277, allocations: 0 / 408.5 MB, free: 27.06 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.2277, allocations: 0 / 408.5 MB, free: 27.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.228, allocations: 28.78 kB / 408.5 MB, free: 27.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002399/0.2282, allocations: 125 kB / 408.7 MB, free: 26.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.255e-05/0.2283, allocations: 0.6848 MB / 409.4 MB, free: 26.17 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.653e-05/0.2283, allocations: 4 kB / 409.4 MB, free: 26.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.891e-05/0.2284, allocations: 11.42 kB / 409.4 MB, free: 26.16 MB / 298.7 MB Notification: Performance of SimCode: time 6.31e-07/0.2284, allocations: 0 / 409.4 MB, free: 26.16 MB / 298.7 MB Notification: Performance of Templates: time 0.001944/0.2303, allocations: 406.5 kB / 409.8 MB, free: 25.76 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches