Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001116/0.001117, allocations: 92.95 kB / 16.04 MB, free: 5.203 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.1498/0.1498, allocations: 12.63 MB / 29.41 MB, free: 5.875 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.0002372, allocations: 7.984 kB / 40.28 MB, free: 0.5 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007105/0.007362, allocations: 2.83 MB / 43.11 MB, free: 5.945 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.TimeBasedStep): time 1.651/1.658, allocations: 277.4 MB / 320.5 MB, free: 10.81 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002498/1.658, allocations: 91.77 kB / 320.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.706e-05/1.658, allocations: 0 / 320.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/1.659, allocations: 0 / 320.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.288e-05/1.659, allocations: 3.938 kB / 320.6 MB, free: 10.71 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/1.659, allocations: 27.98 kB / 320.7 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.761e-05/1.659, allocations: 23.86 kB / 320.7 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/1.659, allocations: 16.98 kB / 320.7 MB, free: 10.65 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.836e-05/1.659, allocations: 13.27 kB / 320.7 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.953e-05/1.659, allocations: 7.938 kB / 320.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/1.659, allocations: 0 / 320.7 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.656e-06/1.659, allocations: 3.938 kB / 320.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/1.659, allocations: 1.406 kB / 320.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/1.659, allocations: 41.62 kB / 320.8 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.105e-05/1.659, allocations: 26.84 kB / 320.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.659, allocations: 7.938 kB / 320.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.423e-06/1.659, allocations: 1.625 kB / 320.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/1.659, allocations: 0 / 320.8 MB, free: 10.55 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.0003831/1.66, allocations: 332.4 kB / 321.1 MB, free: 10.17 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/1.66, allocations: 8.031 kB / 321.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/1.66, allocations: 7.969 kB / 321.1 MB, free: 10.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/1.66, allocations: 184.2 kB / 321.3 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/1.66, allocations: 384 / 321.3 MB, free: 9.941 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/1.66, allocations: 8.312 kB / 321.3 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/1.66, allocations: 115.9 kB / 321.4 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/1.66, allocations: 192 / 321.4 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/1.66, allocations: 3.938 kB / 321.4 MB, free: 9.809 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/1.66, allocations: 0 / 321.4 MB, free: 9.809 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/1.66, allocations: 23.98 kB / 321.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/1.661, allocations: 154.3 kB / 321.6 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/1.661, allocations: 65.23 kB / 321.7 MB, free: 9.516 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.25e-05/1.661, allocations: 28.88 kB / 321.7 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/1.661, allocations: 0.625 kB / 321.7 MB, free: 9.484 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/1.661, allocations: 31.41 kB / 321.7 MB, free: 9.445 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/1.661, allocations: 1.969 kB / 321.7 MB, free: 9.445 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002198/1.661, allocations: 77.61 kB / 321.8 MB, free: 9.363 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/1.661, allocations: 60.36 kB / 321.9 MB, free: 9.293 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.742e-05/1.661, allocations: 103.1 kB / 322 MB, free: 9.184 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/1.661, allocations: 29.7 kB / 322 MB, free: 9.148 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.581e-05/1.661, allocations: 88.12 kB / 322.1 MB, free: 9.059 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.029e-06/1.661, allocations: 0.5 kB / 322.1 MB, free: 9.059 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/1.661, allocations: 0 / 322.1 MB, free: 9.059 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/1.661, allocations: 315.5 kB / 322.4 MB, free: 8.742 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.085e-05/1.661, allocations: 7.125 kB / 322.4 MB, free: 8.738 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.787e-05/1.661, allocations: 31.42 kB / 322.4 MB, free: 8.695 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.873e-05/1.661, allocations: 30.06 kB / 322.5 MB, free: 8.656 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/1.661, allocations: 0 / 322.5 MB, free: 8.656 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.515e-05/1.662, allocations: 61.53 kB / 322.5 MB, free: 8.59 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/1.662, allocations: 8 kB / 322.5 MB, free: 8.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/1.662, allocations: 4.719 kB / 322.5 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/1.662, allocations: 0 / 322.5 MB, free: 8.578 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/1.662, allocations: 12.81 kB / 322.6 MB, free: 8.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.662, allocations: 3.984 kB / 322.6 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.716e-05/1.662, allocations: 1.469 kB / 322.6 MB, free: 8.562 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/1.662, allocations: 4 kB / 322.6 MB, free: 8.559 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.438e-05/1.662, allocations: 120.4 kB / 322.7 MB, free: 8.434 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/1.662, allocations: 57.67 kB / 322.7 MB, free: 8.371 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/1.662, allocations: 15.78 kB / 322.8 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/1.662, allocations: 0 / 322.8 MB, free: 8.348 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/1.662, allocations: 7.938 kB / 322.8 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/1.662, allocations: 0.7812 kB / 322.8 MB, free: 8.34 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.753e-05/1.662, allocations: 161.6 kB / 322.9 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/1.662, allocations: 0.875 kB / 322.9 MB, free: 8.133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/1.662, allocations: 17.16 kB / 322.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/1.662, allocations: 0 / 322.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/1.662, allocations: 3.938 kB / 322.9 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.662, allocations: 1.031 kB / 322.9 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/1.662, allocations: 0 / 322.9 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/1.662, allocations: 88.67 kB / 323 MB, free: 8.012 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.68e-05/1.662, allocations: 81.05 kB / 323.1 MB, free: 7.914 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/1.662, allocations: 7.938 kB / 323.1 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.482e-05/1.662, allocations: 3.984 kB / 323.1 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-06/1.662, allocations: 0 / 323.1 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/1.662, allocations: 4 kB / 323.1 MB, free: 7.898 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.896e-05/1.662, allocations: 84.28 kB / 323.2 MB, free: 7.816 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.663, allocations: 0 / 323.2 MB, free: 7.816 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001629/1.663, allocations: 4.719 kB / 323.2 MB, free: 7.812 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001054/1.663, allocations: 104.3 kB / 323.3 MB, free: 7.703 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/1.663, allocations: 24.36 kB / 323.3 MB, free: 7.68 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.663, allocations: 4 kB / 323.3 MB, free: 7.676 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/1.663, allocations: 0 / 323.3 MB, free: 7.676 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/1.663, allocations: 27.92 kB / 323.4 MB, free: 7.648 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002433/1.663, allocations: 129 kB / 323.5 MB, free: 7.496 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/1.664, allocations: 0.6809 MB / 324.2 MB, free: 6.789 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.022e-05/1.664, allocations: 3.938 kB / 324.2 MB, free: 6.785 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/1.664, allocations: 11.44 kB / 324.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of SimCode: time 2.61e-07/1.664, allocations: 0 / 324.2 MB, free: 6.773 MB / 250.7 MB Notification: Performance of Templates: time 0.001822/1.666, allocations: 305.9 kB / 324.5 MB, free: 6.48 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches