Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.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.WorkInProgress.Tests.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009492/0.0009493, allocations: 94.8 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.1118/0.1118, allocations: 12.63 MB / 29.41 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002473, allocations: 0 / 40.27 MB, free: 0.6016 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.007303/0.007574, allocations: 2.827 MB / 43.1 MB, free: 6.047 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.WorkInProgress.Tests.TestEventClockWithIntegrator): time 1.693/1.701, allocations: 277.6 MB / 320.7 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007299/1.702, allocations: 440.4 kB / 321.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.986e-05/1.702, allocations: 0 / 321.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/1.702, allocations: 8.578 kB / 321.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/1.702, allocations: 12.64 kB / 321.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/1.702, allocations: 44.64 kB / 321.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/1.702, allocations: 71.72 kB / 321.3 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/1.703, allocations: 34.42 kB / 321.3 MB, free: 10 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.243e-05/1.703, allocations: 31.84 kB / 321.4 MB, free: 9.973 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/1.703, allocations: 27.84 kB / 321.4 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/1.703, allocations: 0 / 321.4 MB, free: 9.945 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.733e-05/1.703, allocations: 4 kB / 321.4 MB, free: 9.941 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.23e-05/1.703, allocations: 13.47 kB / 321.4 MB, free: 9.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.318e-05/1.703, allocations: 53.5 kB / 321.5 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/1.703, allocations: 55.77 kB / 321.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/1.703, allocations: 0 / 321.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.363e-06/1.703, allocations: 0 / 321.5 MB, free: 9.816 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/1.703, allocations: 2.75 kB / 321.5 MB, free: 9.816 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006023/1.704, allocations: 387.2 kB / 321.9 MB, free: 9.391 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/1.704, allocations: 14.56 kB / 321.9 MB, free: 9.379 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.205e-05/1.704, allocations: 12.83 kB / 321.9 MB, free: 9.367 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002554/1.704, allocations: 188.1 kB / 322.1 MB, free: 9.145 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.704, allocations: 8.375 kB / 322.1 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/1.704, allocations: 384 / 322.1 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/1.704, allocations: 128.1 kB / 322.2 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/1.704, allocations: 1.625 kB / 322.2 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/1.704, allocations: 3.984 kB / 322.3 MB, free: 8.988 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/1.704, allocations: 7.938 kB / 322.3 MB, free: 8.98 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/1.705, allocations: 37.02 kB / 322.3 MB, free: 8.945 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/1.705, allocations: 380.9 kB / 322.7 MB, free: 8.52 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/1.705, allocations: 111.5 kB / 322.8 MB, free: 8.387 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.178e-05/1.706, allocations: 42.56 kB / 322.8 MB, free: 8.336 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/1.706, allocations: 4.781 kB / 322.8 MB, free: 8.332 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/1.706, allocations: 85.03 kB / 322.9 MB, free: 8.234 MB / 250.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/1.706, allocations: 0 / 322.9 MB, free: 8.234 MB / 250.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003249/1.706, allocations: 123.2 kB / 323 MB, free: 8.109 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/1.706, allocations: 114.8 kB / 323.1 MB, free: 7.973 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/1.706, allocations: 125.8 kB / 323.3 MB, free: 7.84 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/1.706, allocations: 30.27 kB / 323.3 MB, free: 7.805 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/1.706, allocations: 92.72 kB / 323.4 MB, free: 7.711 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/1.706, allocations: 15.75 kB / 323.4 MB, free: 7.695 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/1.706, allocations: 4.75 kB / 323.4 MB, free: 7.691 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/1.707, allocations: 323.9 kB / 323.7 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.299e-05/1.707, allocations: 27.98 kB / 323.7 MB, free: 7.34 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/1.707, allocations: 64.16 kB / 323.8 MB, free: 7.258 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/1.707, allocations: 188.4 kB / 324 MB, free: 7.039 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/1.707, allocations: 4 kB / 324 MB, free: 7.035 MB / 250.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002095/1.707, allocations: 119.8 kB / 324.1 MB, free: 6.914 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/1.707, allocations: 9.375 kB / 324.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.707, allocations: 0 / 324.1 MB, free: 6.906 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/1.707, allocations: 7.938 kB / 324.1 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/1.707, allocations: 20.7 kB / 324.2 MB, free: 6.879 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.707, allocations: 0 / 324.2 MB, free: 6.879 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.961e-05/1.707, allocations: 20.23 kB / 324.2 MB, free: 6.859 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/1.707, allocations: 11.94 kB / 324.2 MB, free: 6.848 MB / 250.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: firstOrder.y = firstOrder.y_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 2 (firstOrder.y,$DER.firstOrder.y) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.0001228/1.708, allocations: 133.7 kB / 324.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.925e-05/1.708, allocations: 57.59 kB / 324.4 MB, free: 6.645 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/1.708, allocations: 15.89 kB / 324.4 MB, free: 6.621 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/1.708, allocations: 0 / 324.4 MB, free: 6.621 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.708, allocations: 4 kB / 324.4 MB, free: 6.617 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.708, allocations: 3.938 kB / 324.4 MB, free: 6.613 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/1.708, allocations: 342.4 kB / 324.7 MB, free: 6.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.708, allocations: 3.984 kB / 324.7 MB, free: 6.219 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/1.708, allocations: 19.98 kB / 324.8 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.708, allocations: 0 / 324.8 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/1.708, allocations: 4 kB / 324.8 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.708, allocations: 4 kB / 324.8 MB, free: 6.191 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/1.708, allocations: 7.938 kB / 324.8 MB, free: 6.184 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002363/1.709, allocations: 205.1 kB / 325 MB, free: 5.961 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/1.709, allocations: 85.02 kB / 325 MB, free: 5.859 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/1.709, allocations: 4 kB / 325.1 MB, free: 5.855 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/1.709, allocations: 19.98 kB / 325.1 MB, free: 5.836 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/1.709, allocations: 15.86 kB / 325.1 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/1.709, allocations: 4 kB / 325.1 MB, free: 5.816 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.163e-05/1.709, allocations: 99.27 kB / 325.2 MB, free: 5.719 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.1e-07/1.709, allocations: 0 / 325.2 MB, free: 5.719 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002213/1.709, allocations: 16 kB / 325.2 MB, free: 5.703 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booleanPulse.y,$whenCondition1,booleanPulse.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 2 ($DER.firstOrder.y,firstOrder.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001091/1.709, allocations: 107.8 kB / 325.3 MB, free: 5.59 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/1.709, allocations: 75.84 kB / 325.4 MB, free: 5.516 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.709, allocations: 0 / 325.4 MB, free: 5.516 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/1.71, allocations: 23.98 kB / 325.4 MB, free: 5.492 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/1.71, allocations: 32.45 kB / 325.4 MB, free: 5.461 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/1.71, allocations: 255.2 kB / 325.7 MB, free: 5.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/1.711, allocations: 0.6965 MB / 326.4 MB, free: 4.457 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.079e-05/1.711, allocations: 9.078 kB / 326.4 MB, free: 4.449 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/1.711, allocations: 11.44 kB / 326.4 MB, free: 4.438 MB / 250.7 MB Notification: Performance of SimCode: time 2.3e-07/1.711, allocations: 3.938 kB / 326.4 MB, free: 4.434 MB / 250.7 MB Notification: Performance of Templates: time 0.003221/1.714, allocations: 0.9728 MB / 327.4 MB, free: 3.469 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestEventClockWithIntegrator.pipe 2>&1)