Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.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.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|pulse.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009401/0.0009403, allocations: 97.27 kB / 16.04 MB, free: 5.297 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.08731/0.08731, allocations: 12.64 MB / 29.41 MB, free: 5.941 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001962/0.0001963, allocations: 4 kB / 40.28 MB, free: 0.5 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005497/0.005708, allocations: 2.827 MB / 43.1 MB, free: 5.949 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.TimeBasedPulse): time 1.757/1.763, allocations: 277.5 MB / 320.6 MB, free: 10.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006159/1.764, allocations: 425.2 kB / 321 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/1.764, allocations: 3.938 kB / 321 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.74e-05/1.764, allocations: 0 / 321 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/1.764, allocations: 7.469 kB / 321 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001705/1.764, allocations: 27.97 kB / 321 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.707e-05/1.764, allocations: 55.78 kB / 321.1 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/1.764, allocations: 26.92 kB / 321.1 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.103e-05/1.764, allocations: 15.92 kB / 321.1 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.495e-05/1.764, allocations: 15.92 kB / 321.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/1.764, allocations: 4 kB / 321.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/1.764, allocations: 7.688 kB / 321.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/1.764, allocations: 11.98 kB / 321.2 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.074e-05/1.764, allocations: 41.58 kB / 321.2 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.96e-05/1.764, allocations: 43.84 kB / 321.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.764, allocations: 0 / 321.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.112e-06/1.764, allocations: 0 / 321.3 MB, free: 10.11 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/1.764, allocations: 0 / 321.3 MB, free: 10.11 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.0004703/1.765, allocations: 365.1 kB / 321.6 MB, free: 9.703 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/1.765, allocations: 11.97 kB / 321.6 MB, free: 9.691 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.761e-05/1.765, allocations: 8.844 kB / 321.6 MB, free: 9.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/1.765, allocations: 182.3 kB / 321.8 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/1.765, allocations: 384 / 321.8 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/1.765, allocations: 4.375 kB / 321.8 MB, free: 9.465 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/1.766, allocations: 154.3 kB / 322 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/1.766, allocations: 0 / 322 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/1.766, allocations: 0 / 322 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/1.766, allocations: 0 / 322 MB, free: 9.305 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/1.766, allocations: 36.5 kB / 322 MB, free: 9.27 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/1.766, allocations: 176.2 kB / 322.2 MB, free: 9.051 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/1.766, allocations: 131.7 kB / 322.3 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.335e-05/1.766, allocations: 37.45 kB / 322.3 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/1.766, allocations: 0.875 kB / 322.3 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/1.766, allocations: 39.72 kB / 322.4 MB, free: 8.809 MB / 250.7 MB Notification: Performance of pre-optimization done (n=6): time 9.81e-07/1.766, allocations: 0 / 322.4 MB, free: 8.809 MB / 250.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002492/1.766, allocations: 86.64 kB / 322.5 MB, free: 8.719 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/1.766, allocations: 59.41 kB / 322.5 MB, free: 8.648 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/1.767, allocations: 106.6 kB / 322.6 MB, free: 8.535 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/1.767, allocations: 31.2 kB / 322.7 MB, free: 8.5 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.502e-05/1.767, allocations: 84.14 kB / 322.7 MB, free: 8.414 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/1.767, allocations: 7.906 kB / 322.8 MB, free: 8.406 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-06/1.767, allocations: 0 / 322.8 MB, free: 8.406 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/1.767, allocations: 320.3 kB / 323.1 MB, free: 8.086 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/1.767, allocations: 11.98 kB / 323.1 MB, free: 8.074 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/1.767, allocations: 42.36 kB / 323.1 MB, free: 8.016 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.52e-05/1.767, allocations: 56.88 kB / 323.2 MB, free: 7.945 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.767, allocations: 0 / 323.2 MB, free: 7.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001013/1.767, allocations: 78.81 kB / 323.2 MB, free: 7.863 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/1.767, allocations: 10.25 kB / 323.3 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/1.767, allocations: 0 / 323.3 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/1.767, allocations: 4 kB / 323.3 MB, free: 7.852 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.457e-05/1.767, allocations: 11.98 kB / 323.3 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/1.767, allocations: 0 / 323.3 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/1.767, allocations: 4 kB / 323.3 MB, free: 7.836 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/1.767, allocations: 0.9688 kB / 323.3 MB, free: 7.836 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,pulse.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.135e-05/1.767, allocations: 126.3 kB / 323.4 MB, free: 7.707 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/1.767, allocations: 81.52 kB / 323.5 MB, free: 7.621 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.803e-05/1.767, allocations: 12.38 kB / 323.5 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/1.767, allocations: 0 / 323.5 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/1.767, allocations: 2.094 kB / 323.5 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/1.767, allocations: 0 / 323.5 MB, free: 7.609 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.506e-05/1.768, allocations: 165.6 kB / 323.7 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/1.768, allocations: 0 / 323.7 MB, free: 7.398 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.865e-05/1.768, allocations: 11.92 kB / 323.7 MB, free: 7.387 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.768, allocations: 9.156 kB / 323.7 MB, free: 7.379 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/1.768, allocations: 0 / 323.7 MB, free: 7.379 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/1.768, allocations: 4 kB / 323.7 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/1.768, allocations: 0 / 323.7 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/1.768, allocations: 107 kB / 323.8 MB, free: 7.254 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/1.768, allocations: 81.05 kB / 323.9 MB, free: 7.156 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/1.768, allocations: 4.188 kB / 323.9 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.927e-05/1.768, allocations: 15.98 kB / 323.9 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.765e-06/1.768, allocations: 0 / 323.9 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/1.768, allocations: 0 / 323.9 MB, free: 7.137 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.102e-05/1.768, allocations: 95.72 kB / 324 MB, free: 7.043 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.768, allocations: 0 / 324 MB, free: 7.043 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001762/1.768, allocations: 12 kB / 324 MB, free: 7.031 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 (pulse.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (pulse.next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 7.853e-05/1.768, allocations: 99.77 kB / 324.1 MB, free: 6.926 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/1.768, allocations: 39.92 kB / 324.1 MB, free: 6.887 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/1.768, allocations: 0 / 324.1 MB, free: 6.887 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/1.768, allocations: 4 kB / 324.1 MB, free: 6.883 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/1.769, allocations: 43.94 kB / 324.2 MB, free: 6.84 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/1.769, allocations: 149.2 kB / 324.3 MB, free: 6.664 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/1.769, allocations: 0.6848 MB / 325 MB, free: 5.953 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.337e-05/1.769, allocations: 7.922 kB / 325 MB, free: 5.945 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/1.769, allocations: 11.44 kB / 325 MB, free: 5.934 MB / 250.7 MB Notification: Performance of SimCode: time 2.1e-07/1.769, allocations: 0 / 325 MB, free: 5.934 MB / 250.7 MB Notification: Performance of Templates: time 0.002299/1.772, allocations: 0.6026 MB / 325.6 MB, free: 5.34 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TimeBasedPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches