Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008944/0.0008944, allocations: 94.72 kB / 16.04 MB, free: 5.191 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.1107/0.1107, allocations: 12.63 MB / 29.41 MB, free: 5.883 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002103/0.0002103, allocations: 4 kB / 40.27 MB, free: 0.5117 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005685/0.005913, allocations: 2.838 MB / 43.11 MB, free: 5.953 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.SampleClocked): time 1.557/1.563, allocations: 277.5 MB / 320.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003265/1.563, allocations: 131.7 kB / 320.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/1.563, allocations: 4 kB / 320.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.049e-05/1.563, allocations: 3.938 kB / 320.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/1.564, allocations: 1.094 kB / 320.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/1.564, allocations: 31.91 kB / 320.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.896e-05/1.564, allocations: 27.86 kB / 320.8 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/1.564, allocations: 13.55 kB / 320.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.22e-05/1.564, allocations: 11.94 kB / 320.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.131e-05/1.564, allocations: 14.11 kB / 320.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/1.564, allocations: 0 / 320.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.648e-06/1.564, allocations: 0 / 320.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.425e-05/1.564, allocations: 11.94 kB / 320.9 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/1.564, allocations: 49.55 kB / 320.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.565e-05/1.564, allocations: 31.83 kB / 320.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/1.564, allocations: 7.625 kB / 320.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.453e-06/1.564, allocations: 0 / 320.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/1.564, allocations: 0 / 320.9 MB, free: 10.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000431/1.565, allocations: 358.2 kB / 321.3 MB, free: 9.992 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/1.565, allocations: 8.031 kB / 321.3 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/1.565, allocations: 12.84 kB / 321.3 MB, free: 9.973 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/1.565, allocations: 184.2 kB / 321.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/1.565, allocations: 4.062 kB / 321.5 MB, free: 9.754 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/1.565, allocations: 8.375 kB / 321.5 MB, free: 9.746 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/1.565, allocations: 89.55 kB / 321.6 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/1.565, allocations: 192 / 321.6 MB, free: 9.641 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/1.565, allocations: 3.938 kB / 321.6 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/1.565, allocations: 4.531 kB / 321.6 MB, free: 9.633 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.538e-05/1.566, allocations: 23.36 kB / 321.6 MB, free: 9.613 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/1.566, allocations: 253.8 kB / 321.9 MB, free: 9.312 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/1.566, allocations: 50.61 kB / 321.9 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.694e-05/1.566, allocations: 14.53 kB / 321.9 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/1.566, allocations: 13.23 kB / 321.9 MB, free: 9.215 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/1.566, allocations: 38.5 kB / 322 MB, free: 9.168 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.566, allocations: 1.688 kB / 322 MB, free: 9.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002097/1.566, allocations: 70.69 kB / 322.1 MB, free: 9.094 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/1.566, allocations: 81.7 kB / 322.1 MB, free: 8.996 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/1.566, allocations: 138.7 kB / 322.3 MB, free: 8.848 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/1.566, allocations: 28.14 kB / 322.3 MB, free: 8.816 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/1.566, allocations: 84.14 kB / 322.4 MB, free: 8.73 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.786e-06/1.567, allocations: 4 kB / 322.4 MB, free: 8.727 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/1.567, allocations: 0 / 322.4 MB, free: 8.727 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.337e-05/1.567, allocations: 310.8 kB / 322.7 MB, free: 8.414 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/1.567, allocations: 13.42 kB / 322.7 MB, free: 8.402 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/1.567, allocations: 19.75 kB / 322.7 MB, free: 8.379 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.84e-05/1.567, allocations: 35.77 kB / 322.8 MB, free: 8.34 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/1.567, allocations: 0 / 322.8 MB, free: 8.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001042/1.567, allocations: 66.67 kB / 322.8 MB, free: 8.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/1.567, allocations: 4 kB / 322.8 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/1.567, allocations: 0 / 322.8 MB, free: 8.266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/1.567, allocations: 5.969 kB / 322.8 MB, free: 8.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/1.567, allocations: 8 kB / 322.8 MB, free: 8.254 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/1.567, allocations: 0 / 322.8 MB, free: 8.254 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.723e-05/1.567, allocations: 4 kB / 322.8 MB, free: 8.25 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/1.567, allocations: 3.984 kB / 322.8 MB, free: 8.246 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.415e-05/1.567, allocations: 127.6 kB / 323 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-05/1.567, allocations: 37.61 kB / 323 MB, free: 8.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/1.567, allocations: 9.344 kB / 323 MB, free: 8.059 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.567, allocations: 11.92 kB / 323 MB, free: 8.047 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/1.567, allocations: 0 / 323 MB, free: 8.047 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/1.567, allocations: 0 / 323 MB, free: 8.047 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/1.567, allocations: 166.5 kB / 323.2 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.567, allocations: 0 / 323.2 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.117e-05/1.567, allocations: 13.2 kB / 323.2 MB, free: 7.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.567, allocations: 3.938 kB / 323.2 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/1.567, allocations: 0 / 323.2 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.567, allocations: 0 / 323.2 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.567, allocations: 1 kB / 323.2 MB, free: 7.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/1.568, allocations: 159.1 kB / 323.4 MB, free: 7.648 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.629e-05/1.568, allocations: 93 kB / 323.5 MB, free: 7.539 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/1.568, allocations: 448 / 323.5 MB, free: 7.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.194e-05/1.568, allocations: 11.98 kB / 323.5 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.717e-05/1.568, allocations: 0 / 323.5 MB, free: 7.527 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/1.568, allocations: 0 / 323.5 MB, free: 7.527 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.964e-05/1.568, allocations: 103.3 kB / 323.6 MB, free: 7.426 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.568, allocations: 3.938 kB / 323.6 MB, free: 7.422 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001908/1.568, allocations: 4 kB / 323.6 MB, free: 7.418 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 8.401e-05/1.568, allocations: 100.2 kB / 323.7 MB, free: 7.312 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/1.568, allocations: 27.98 kB / 323.7 MB, free: 7.285 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.568, allocations: 0 / 323.7 MB, free: 7.285 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/1.568, allocations: 11.98 kB / 323.7 MB, free: 7.273 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/1.569, allocations: 15.97 kB / 323.7 MB, free: 7.258 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002696/1.569, allocations: 169.5 kB / 323.9 MB, free: 7.066 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002083/1.569, allocations: 0.6809 MB / 324.6 MB, free: 6.359 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.333e-05/1.569, allocations: 11.92 kB / 324.6 MB, free: 6.348 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/1.569, allocations: 7.438 kB / 324.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of SimCode: time 2.8e-07/1.569, allocations: 0 / 324.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of Templates: time 0.002057/1.571, allocations: 416.6 kB / 325 MB, free: 5.941 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches