Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.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.0007535/0.0007534, allocations: 87.81 kB / 16.04 MB, free: 5.746 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.07223/0.07223, allocations: 12.63 MB / 29.41 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002152/0.0002152, allocations: 0 / 40.27 MB, free: 0.6211 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.006644/0.006883, allocations: 2.831 MB / 43.11 MB, free: 6.066 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.IntegerSignals.TickBasedStep): time 1.625/1.632, allocations: 277.4 MB / 320.5 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001892/1.632, allocations: 37.53 kB / 320.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/1.632, allocations: 0 / 320.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/1.632, allocations: 3.938 kB / 320.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 4.625e-05/1.632, allocations: 3.938 kB / 320.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/1.632, allocations: 25.53 kB / 320.6 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.124e-05/1.633, allocations: 23.94 kB / 320.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/1.633, allocations: 11.98 kB / 320.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.119e-05/1.633, allocations: 12.8 kB / 320.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/1.633, allocations: 15.92 kB / 320.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/1.633, allocations: 0 / 320.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.054e-05/1.633, allocations: 6.219 kB / 320.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.805e-05/1.633, allocations: 3.984 kB / 320.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.808e-05/1.633, allocations: 37.64 kB / 320.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.668e-05/1.633, allocations: 35.81 kB / 320.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.633, allocations: 0 / 320.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.883e-06/1.633, allocations: 4 kB / 320.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/1.633, allocations: 1.781 kB / 320.7 MB, free: 10.59 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.0004322/1.633, allocations: 330.5 kB / 321.1 MB, free: 10.22 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/1.634, allocations: 12.02 kB / 321.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.891e-05/1.634, allocations: 7.812 kB / 321.1 MB, free: 10.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/1.634, allocations: 180.2 kB / 321.3 MB, free: 9.992 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/1.634, allocations: 4.375 kB / 321.3 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.784e-05/1.634, allocations: 4.375 kB / 321.3 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000376/1.634, allocations: 120.3 kB / 321.4 MB, free: 9.855 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.634, allocations: 2.688 kB / 321.4 MB, free: 9.855 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/1.634, allocations: 3.938 kB / 321.4 MB, free: 9.852 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/1.634, allocations: 3.938 kB / 321.4 MB, free: 9.848 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/1.634, allocations: 27.97 kB / 321.4 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001673/1.635, allocations: 157.7 kB / 321.6 MB, free: 9.617 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/1.635, allocations: 63.94 kB / 321.6 MB, free: 9.547 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/1.635, allocations: 28.89 kB / 321.7 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/1.635, allocations: 0.7188 kB / 321.7 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/1.635, allocations: 35.16 kB / 321.7 MB, free: 9.473 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/1.635, allocations: 0 / 321.7 MB, free: 9.473 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002721/1.635, allocations: 86.94 kB / 321.8 MB, free: 9.383 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/1.635, allocations: 51.41 kB / 321.8 MB, free: 9.32 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/1.635, allocations: 107.2 kB / 321.9 MB, free: 9.207 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/1.635, allocations: 25.7 kB / 322 MB, free: 9.176 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/1.635, allocations: 88.08 kB / 322.1 MB, free: 9.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.56e-05/1.635, allocations: 8.531 kB / 322.1 MB, free: 9.078 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/1.635, allocations: 0 / 322.1 MB, free: 9.078 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/1.636, allocations: 319.6 kB / 322.4 MB, free: 8.758 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.307e-05/1.636, allocations: 6.156 kB / 322.4 MB, free: 8.754 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/1.636, allocations: 31.38 kB / 322.4 MB, free: 8.711 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.952e-05/1.636, allocations: 41.12 kB / 322.5 MB, free: 8.66 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.636, allocations: 0.7812 kB / 322.5 MB, free: 8.66 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.93e-05/1.636, allocations: 62.59 kB / 322.5 MB, free: 8.594 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.636, allocations: 4 kB / 322.5 MB, free: 8.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.636, allocations: 6.906 kB / 322.5 MB, free: 8.586 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.636, allocations: 4 kB / 322.5 MB, free: 8.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.562e-05/1.636, allocations: 11.98 kB / 322.5 MB, free: 8.57 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/1.636, allocations: 0 / 322.5 MB, free: 8.57 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/1.636, allocations: 0 / 322.5 MB, free: 8.57 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/1.636, allocations: 7.984 kB / 322.5 MB, free: 8.562 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 9.197e-05/1.636, allocations: 123.2 kB / 322.7 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/1.636, allocations: 65.58 kB / 322.7 MB, free: 8.363 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/1.636, allocations: 11.84 kB / 322.7 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/1.636, allocations: 0.8438 kB / 322.7 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/1.636, allocations: 0 / 322.7 MB, free: 8.344 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.636, allocations: 3.984 kB / 322.7 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001011/1.636, allocations: 154.4 kB / 322.9 MB, free: 8.141 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.636, allocations: 0 / 322.9 MB, free: 8.141 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/1.636, allocations: 12.83 kB / 322.9 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/1.636, allocations: 0 / 322.9 MB, free: 8.129 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/1.636, allocations: 14.28 kB / 322.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.636, allocations: 384 / 322.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/1.636, allocations: 0 / 322.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/1.637, allocations: 89.05 kB / 323 MB, free: 8.012 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.816e-05/1.637, allocations: 94.97 kB / 323.1 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/1.637, allocations: 7.938 kB / 323.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.273e-05/1.637, allocations: 4 kB / 323.1 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-06/1.637, allocations: 0 / 323.1 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/1.637, allocations: 0 / 323.1 MB, free: 7.891 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.267e-05/1.637, allocations: 90.2 kB / 323.2 MB, free: 7.805 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.637, allocations: 0 / 323.2 MB, free: 7.805 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001758/1.637, allocations: 4 kB / 323.2 MB, free: 7.801 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.0001038/1.637, allocations: 104.6 kB / 323.3 MB, free: 7.691 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001376/1.637, allocations: 32.8 kB / 323.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.637, allocations: 0 / 323.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/1.637, allocations: 0 / 323.3 MB, free: 7.66 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/1.638, allocations: 32.84 kB / 323.4 MB, free: 7.629 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/1.638, allocations: 130.1 kB / 323.5 MB, free: 7.477 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/1.638, allocations: 0.6862 MB / 324.2 MB, free: 6.766 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.88e-05/1.638, allocations: 4 kB / 324.2 MB, free: 6.762 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/1.638, allocations: 7.438 kB / 324.2 MB, free: 6.754 MB / 250.7 MB Notification: Performance of SimCode: time 7.12e-07/1.638, allocations: 0.7188 kB / 324.2 MB, free: 6.754 MB / 250.7 MB Notification: Performance of Templates: time 0.002308/1.641, allocations: 404.8 kB / 324.6 MB, free: 6.363 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches