Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000802/0.000802, allocations: 99.16 kB / 16.05 MB, free: 5.59 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.0748/0.0748, allocations: 12.63 MB / 29.41 MB, free: 6.066 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002256/0.000226, allocations: 0 / 40.27 MB, free: 0.6055 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.006184/0.006439, allocations: 2.831 MB / 43.11 MB, free: 6.051 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.Sample1): time 1.547/1.554, allocations: 277.5 MB / 320.6 MB, free: 12.53 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004046/1.554, allocations: 139.6 kB / 320.8 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.214e-05/1.554, allocations: 4 kB / 320.8 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/1.554, allocations: 1.312 kB / 320.8 MB, free: 12.39 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/1.554, allocations: 7.922 kB / 320.8 MB, free: 12.38 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/1.555, allocations: 31.91 kB / 320.8 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001006/1.555, allocations: 35.86 kB / 320.8 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/1.555, allocations: 17.3 kB / 320.8 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.142e-05/1.555, allocations: 12.45 kB / 320.9 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.727e-05/1.555, allocations: 16.92 kB / 320.9 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/1.555, allocations: 0 / 320.9 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/1.555, allocations: 4 kB / 320.9 MB, free: 12.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/1.555, allocations: 9.719 kB / 320.9 MB, free: 12.26 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.075e-05/1.555, allocations: 49.5 kB / 320.9 MB, free: 12.21 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.964e-05/1.555, allocations: 39.81 kB / 321 MB, free: 12.17 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/1.555, allocations: 0 / 321 MB, free: 12.17 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/1.555, allocations: 0 / 321 MB, free: 12.17 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.069e-06/1.555, allocations: 0.5 kB / 321 MB, free: 12.17 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005077/1.556, allocations: 359.8 kB / 321.3 MB, free: 11.77 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/1.556, allocations: 8.031 kB / 321.3 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/1.556, allocations: 9.625 kB / 321.3 MB, free: 11.75 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/1.556, allocations: 192.1 kB / 321.5 MB, free: 11.53 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/1.556, allocations: 6.062 kB / 321.5 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/1.556, allocations: 4.375 kB / 321.5 MB, free: 11.52 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/1.557, allocations: 123.4 kB / 321.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/1.557, allocations: 1.688 kB / 321.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.557, allocations: 3.938 kB / 321.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.557, allocations: 0 / 321.7 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.575e-05/1.557, allocations: 28.8 kB / 321.7 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/1.557, allocations: 255.5 kB / 321.9 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/1.557, allocations: 144.5 kB / 322.1 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.48e-05/1.557, allocations: 34.39 kB / 322.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/1.557, allocations: 8.844 kB / 322.1 MB, free: 10.83 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/1.557, allocations: 36.03 kB / 322.2 MB, free: 10.79 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/1.557, allocations: 0 / 322.2 MB, free: 10.79 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002779/1.558, allocations: 83.23 kB / 322.2 MB, free: 10.7 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/1.558, allocations: 85.61 kB / 322.3 MB, free: 10.6 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/1.558, allocations: 134.8 kB / 322.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/1.558, allocations: 27.48 kB / 322.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/1.558, allocations: 84.14 kB / 322.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/1.558, allocations: 7.984 kB / 322.6 MB, free: 10.33 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-06/1.558, allocations: 0 / 322.6 MB, free: 10.33 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.23e-05/1.558, allocations: 315.4 kB / 322.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.472e-05/1.558, allocations: 14.92 kB / 322.9 MB, free: 10 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.572e-05/1.558, allocations: 35.36 kB / 322.9 MB, free: 9.953 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.983e-05/1.558, allocations: 51.08 kB / 323 MB, free: 9.895 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.558, allocations: 0 / 323 MB, free: 9.895 MB / 250.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001268/1.558, allocations: 79.19 kB / 323.1 MB, free: 9.812 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/1.558, allocations: 4 kB / 323.1 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.558, allocations: 0 / 323.1 MB, free: 9.809 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/1.559, allocations: 5.188 kB / 323.1 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/1.559, allocations: 11.98 kB / 323.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/1.559, allocations: 0 / 323.1 MB, free: 9.793 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.561e-05/1.559, allocations: 5.344 kB / 323.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/1.559, allocations: 0 / 323.1 MB, free: 9.789 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: 4 (step.y,sample.y,assignClock.y,assignClock.u) * 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 8.958e-05/1.559, allocations: 130.9 kB / 323.2 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.103e-05/1.559, allocations: 49.55 kB / 323.3 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/1.559, allocations: 12.77 kB / 323.3 MB, free: 9.578 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.559, allocations: 6 kB / 323.3 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.559, allocations: 0 / 323.3 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.559, allocations: 0 / 323.3 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/1.559, allocations: 173.5 kB / 323.5 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/1.559, allocations: 0 / 323.5 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.155e-05/1.559, allocations: 12.53 kB / 323.5 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.559, allocations: 336 / 323.5 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/1.559, allocations: 6.844 kB / 323.5 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.559, allocations: 0 / 323.5 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.559, allocations: 0 / 323.5 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/1.559, allocations: 180.8 kB / 323.7 MB, free: 9.145 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/1.559, allocations: 89.88 kB / 323.7 MB, free: 9.039 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/1.559, allocations: 0 / 323.7 MB, free: 9.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.016e-05/1.56, allocations: 9.391 kB / 323.7 MB, free: 9.031 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/1.56, allocations: 0 / 323.7 MB, free: 9.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/1.56, allocations: 4 kB / 323.8 MB, free: 9.027 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.546e-05/1.56, allocations: 104.1 kB / 323.9 MB, free: 8.926 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.56, allocations: 0 / 323.9 MB, free: 8.926 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000208/1.56, allocations: 4.75 kB / 323.9 MB, free: 8.922 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: 4 (step.y,assignClock.u,assignClock.y,sample.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.0001052/1.56, allocations: 101.2 kB / 324 MB, free: 8.816 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001346/1.56, allocations: 37.34 kB / 324 MB, free: 8.781 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.56, allocations: 4.875 kB / 324 MB, free: 8.777 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.383e-05/1.56, allocations: 8.781 kB / 324 MB, free: 8.77 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/1.561, allocations: 35.8 kB / 324 MB, free: 8.734 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003215/1.561, allocations: 164.2 kB / 324.2 MB, free: 8.551 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/1.561, allocations: 0.687 MB / 324.9 MB, free: 7.84 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.131e-05/1.561, allocations: 11.98 kB / 324.9 MB, free: 7.828 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/1.561, allocations: 11.44 kB / 324.9 MB, free: 7.816 MB / 250.7 MB Notification: Performance of SimCode: time 3.61e-07/1.561, allocations: 0 / 324.9 MB, free: 7.816 MB / 250.7 MB Notification: Performance of Templates: time 0.002488/1.564, allocations: 455.6 kB / 325.4 MB, free: 7.395 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches