Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.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.0008477/0.0008475, allocations: 90.23 kB / 16.04 MB, free: 5.742 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.07428/0.07428, allocations: 12.63 MB / 29.41 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.000172/0.0001717, allocations: 0 / 40.28 MB, free: 0.6172 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005544/0.005733, allocations: 2.827 MB / 43.11 MB, free: 6.062 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.BooleanSignals.SampleClocked): time 1.523/1.529, allocations: 277.5 MB / 320.6 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003403/1.529, allocations: 127.7 kB / 320.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.419e-05/1.529, allocations: 0.5312 kB / 320.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/1.529, allocations: 7.922 kB / 320.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/1.529, allocations: 8.516 kB / 320.7 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/1.53, allocations: 24.61 kB / 320.8 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.13e-05/1.53, allocations: 35.84 kB / 320.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/1.53, allocations: 20.91 kB / 320.8 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.75e-05/1.53, allocations: 3.938 kB / 320.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.583e-05/1.53, allocations: 7.938 kB / 320.8 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/1.53, allocations: 4 kB / 320.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/1.53, allocations: 1.344 kB / 320.8 MB, free: 10.49 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/1.53, allocations: 11.98 kB / 320.8 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/1.53, allocations: 45.52 kB / 320.9 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.406e-05/1.53, allocations: 40.44 kB / 320.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.53, allocations: 0 / 320.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.633e-06/1.53, allocations: 5.531 kB / 320.9 MB, free: 10.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/1.53, 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.000409/1.531, allocations: 347.3 kB / 321.3 MB, free: 9.996 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/1.531, allocations: 10.31 kB / 321.3 MB, free: 9.988 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.792e-05/1.531, allocations: 4.938 kB / 321.3 MB, free: 9.984 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001755/1.531, allocations: 192 kB / 321.5 MB, free: 9.758 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/1.531, allocations: 8.375 kB / 321.5 MB, free: 9.75 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/1.531, allocations: 384 / 321.5 MB, free: 9.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/1.531, allocations: 89.61 kB / 321.6 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.531, allocations: 192 / 321.6 MB, free: 9.648 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/1.531, allocations: 3.938 kB / 321.6 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.531, allocations: 0 / 321.6 MB, free: 9.645 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.73e-05/1.531, allocations: 19.98 kB / 321.6 MB, free: 9.625 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/1.532, allocations: 256.6 kB / 321.9 MB, free: 9.324 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.142e-05/1.532, allocations: 49.95 kB / 321.9 MB, free: 9.258 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/1.532, allocations: 18.41 kB / 321.9 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/1.532, allocations: 0.8438 kB / 321.9 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/1.532, allocations: 38.34 kB / 322 MB, free: 9.191 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/1.532, allocations: 3.938 kB / 322 MB, free: 9.188 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001885/1.532, allocations: 61.53 kB / 322 MB, free: 9.121 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/1.532, allocations: 81.05 kB / 322.1 MB, free: 9.023 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/1.532, allocations: 129.8 kB / 322.2 MB, free: 8.887 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/1.532, allocations: 30.31 kB / 322.3 MB, free: 8.852 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/1.532, allocations: 85.83 kB / 322.3 MB, free: 8.766 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.01e-05/1.532, allocations: 4 kB / 322.3 MB, free: 8.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.076e-06/1.532, allocations: 0 / 322.3 MB, free: 8.762 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.604e-05/1.532, allocations: 310.8 kB / 322.6 MB, free: 8.449 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/1.532, allocations: 4.75 kB / 322.7 MB, free: 8.445 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.075e-05/1.532, allocations: 28.02 kB / 322.7 MB, free: 8.414 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.972e-05/1.532, allocations: 18.75 kB / 322.7 MB, free: 8.391 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.532, allocations: 0 / 322.7 MB, free: 8.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.634e-05/1.533, allocations: 58.59 kB / 322.8 MB, free: 8.328 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.533, allocations: 9.031 kB / 322.8 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/1.533, allocations: 0 / 322.8 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.533, allocations: 0 / 322.8 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.576e-05/1.533, allocations: 0.625 kB / 322.8 MB, free: 8.32 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/1.533, allocations: 4 kB / 322.8 MB, free: 8.316 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.749e-05/1.533, allocations: 6.266 kB / 322.8 MB, free: 8.312 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/1.533, allocations: 0 / 322.8 MB, free: 8.312 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 (sample.u,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.933e-05/1.533, allocations: 129.6 kB / 322.9 MB, free: 8.176 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.813e-05/1.533, allocations: 33.7 kB / 322.9 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/1.533, allocations: 16.23 kB / 322.9 MB, free: 8.117 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/1.533, allocations: 5.688 kB / 323 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/1.533, allocations: 0 / 323 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-06/1.533, allocations: 0 / 323 MB, free: 8.113 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/1.533, allocations: 161.6 kB / 323.1 MB, free: 7.906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.533, allocations: 3.984 kB / 323.1 MB, free: 7.902 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-06/1.533, allocations: 7.062 kB / 323.1 MB, free: 7.898 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/1.533, allocations: 4 kB / 323.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.62e-06/1.533, allocations: 0 / 323.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.533, allocations: 0 / 323.1 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.533, allocations: 4 kB / 323.1 MB, free: 7.891 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001368/1.533, allocations: 161.7 kB / 323.3 MB, free: 7.715 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/1.533, allocations: 89 kB / 323.4 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/1.533, allocations: 8.656 kB / 323.4 MB, free: 7.602 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/1.533, allocations: 3.219 kB / 323.4 MB, free: 7.602 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/1.533, allocations: 4 kB / 323.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/1.533, allocations: 0 / 323.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.789e-05/1.533, allocations: 99.25 kB / 323.5 MB, free: 7.5 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.533, allocations: 0 / 323.5 MB, free: 7.5 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000194/1.534, allocations: 8 kB / 323.5 MB, free: 7.492 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 (sample.u,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.256e-05/1.534, allocations: 100.6 kB / 323.6 MB, free: 7.387 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/1.534, allocations: 17.78 kB / 323.6 MB, free: 7.371 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.534, allocations: 0 / 323.6 MB, free: 7.371 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.736e-05/1.534, allocations: 12.55 kB / 323.6 MB, free: 7.359 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/1.534, allocations: 16.03 kB / 323.6 MB, free: 7.344 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002623/1.534, allocations: 157.4 kB / 323.8 MB, free: 7.16 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/1.535, allocations: 0.6848 MB / 324.5 MB, free: 6.449 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.18e-05/1.535, allocations: 0 / 324.5 MB, free: 6.449 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/1.535, allocations: 19.47 kB / 324.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of SimCode: time 3.11e-07/1.535, allocations: 0 / 324.5 MB, free: 6.43 MB / 250.7 MB Notification: Performance of Templates: time 0.002037/1.537, allocations: 399.5 kB / 324.9 MB, free: 6.047 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches