Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.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.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007974/0.0007973, allocations: 94.25 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.07944/0.07944, allocations: 12.63 MB / 29.41 MB, free: 5.871 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001663/0.0001663, allocations: 4 kB / 40.27 MB, free: 0.5117 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.005704/0.005886, allocations: 2.839 MB / 43.11 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.WorkInProgress.Tests.TestExactClockWithIntegrator): time 1.566/1.572, allocations: 277.6 MB / 320.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007831/1.572, allocations: 460.8 kB / 321.2 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.941e-05/1.573, allocations: 4.812 kB / 321.2 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/1.573, allocations: 3.938 kB / 321.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001672/1.573, allocations: 10.67 kB / 321.2 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/1.573, allocations: 43.91 kB / 321.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/1.573, allocations: 47.84 kB / 321.3 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/1.573, allocations: 42.83 kB / 321.3 MB, free: 10.08 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/1.573, allocations: 20.36 kB / 321.3 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/1.574, allocations: 26.05 kB / 321.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/1.574, allocations: 0 / 321.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.6e-05/1.574, allocations: 4 kB / 321.4 MB, free: 10.03 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/1.574, allocations: 15.92 kB / 321.4 MB, free: 10.02 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.274e-05/1.574, allocations: 49.5 kB / 321.4 MB, free: 9.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/1.574, allocations: 59.72 kB / 321.5 MB, free: 9.902 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/1.574, allocations: 5.688 kB / 321.5 MB, free: 9.898 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.784e-06/1.574, allocations: 0 / 321.5 MB, free: 9.898 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/1.574, allocations: 0 / 321.5 MB, free: 9.898 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005256/1.574, allocations: 373.2 kB / 321.9 MB, free: 9.488 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/1.574, allocations: 11.97 kB / 321.9 MB, free: 9.477 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/1.575, allocations: 8.844 kB / 321.9 MB, free: 9.469 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/1.575, allocations: 200.6 kB / 322.1 MB, free: 9.234 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/1.575, allocations: 6.312 kB / 322.1 MB, free: 9.23 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/1.575, allocations: 4.125 kB / 322.1 MB, free: 9.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/1.575, allocations: 118.7 kB / 322.2 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.575, allocations: 0 / 322.2 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/1.575, allocations: 5.719 kB / 322.2 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.575, allocations: 0 / 322.2 MB, free: 9.09 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.643e-05/1.575, allocations: 27.92 kB / 322.2 MB, free: 9.062 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003665/1.576, allocations: 271.8 kB / 322.5 MB, free: 8.746 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/1.576, allocations: 83.5 kB / 322.6 MB, free: 8.648 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.476e-05/1.576, allocations: 32.05 kB / 322.6 MB, free: 8.613 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/1.576, allocations: 3.984 kB / 322.6 MB, free: 8.609 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/1.576, allocations: 39.25 kB / 322.7 MB, free: 8.562 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/1.576, allocations: 3.938 kB / 322.7 MB, free: 8.559 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002583/1.576, allocations: 89.45 kB / 322.8 MB, free: 8.469 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.576, allocations: 89.09 kB / 322.8 MB, free: 8.363 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/1.577, allocations: 141.4 kB / 323 MB, free: 8.215 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/1.577, allocations: 25.7 kB / 323 MB, free: 8.184 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/1.577, allocations: 96.03 kB / 323.1 MB, free: 8.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/1.577, allocations: 9.125 kB / 323.1 MB, free: 8.078 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/1.577, allocations: 0 / 323.1 MB, free: 8.078 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/1.577, allocations: 324 kB / 323.4 MB, free: 7.754 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.442e-05/1.577, allocations: 16 kB / 323.4 MB, free: 7.738 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/1.577, allocations: 51.62 kB / 323.5 MB, free: 7.676 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/1.577, allocations: 155.3 kB / 323.6 MB, free: 7.492 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/1.577, allocations: 3.094 kB / 323.6 MB, free: 7.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001619/1.577, allocations: 85.61 kB / 323.7 MB, free: 7.402 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.577, allocations: 8 kB / 323.7 MB, free: 7.395 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/1.577, allocations: 4.812 kB / 323.7 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/1.577, allocations: 0 / 323.7 MB, free: 7.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.539e-05/1.577, allocations: 16.61 kB / 323.8 MB, free: 7.375 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/1.577, allocations: 4 kB / 323.8 MB, free: 7.371 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.04e-05/1.578, allocations: 16.59 kB / 323.8 MB, free: 7.355 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/1.578, allocations: 9.031 kB / 323.8 MB, free: 7.348 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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * 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 (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 0.0001464/1.578, allocations: 128.5 kB / 323.9 MB, free: 7.215 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-05/1.578, allocations: 57.53 kB / 324 MB, free: 7.152 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.062e-05/1.578, allocations: 14 kB / 324 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/1.578, allocations: 0 / 324 MB, free: 7.137 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/1.578, allocations: 4 kB / 324 MB, free: 7.133 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/1.578, allocations: 8.641 kB / 324 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/1.578, allocations: 181.6 kB / 324.2 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.578, allocations: 288 / 324.2 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/1.578, allocations: 19.98 kB / 324.2 MB, free: 6.879 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/1.578, allocations: 4 kB / 324.2 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/1.578, allocations: 3.984 kB / 324.2 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/1.578, allocations: 0 / 324.2 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/1.578, allocations: 0 / 324.2 MB, free: 6.871 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/1.578, allocations: 196.2 kB / 324.4 MB, free: 6.66 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/1.578, allocations: 89 kB / 324.5 MB, free: 6.555 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/1.579, allocations: 11.94 kB / 324.5 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.46e-05/1.579, allocations: 4 kB / 324.5 MB, free: 6.539 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/1.579, allocations: 3.984 kB / 324.5 MB, free: 6.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/1.579, allocations: 3.938 kB / 324.5 MB, free: 6.531 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.116e-05/1.579, allocations: 111.2 kB / 324.6 MB, free: 6.422 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/1.579, allocations: 0 / 324.6 MB, free: 6.422 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000209/1.579, allocations: 12 kB / 324.6 MB, free: 6.41 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: 0 () * 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 (5): * Single equations (assignments): 5 * 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 9.928e-05/1.579, allocations: 104.3 kB / 324.7 MB, free: 6.301 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001814/1.579, allocations: 51.91 kB / 324.8 MB, free: 6.25 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/1.579, allocations: 0 / 324.8 MB, free: 6.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/1.579, allocations: 8.312 kB / 324.8 MB, free: 6.242 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/1.58, allocations: 44 kB / 324.8 MB, free: 6.199 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/1.58, allocations: 223.9 kB / 325 MB, free: 5.949 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/1.58, allocations: 0.7004 MB / 325.7 MB, free: 5.223 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 3.918e-05/1.58, allocations: 4.062 kB / 325.7 MB, free: 5.219 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.21e-05/1.58, allocations: 11.44 kB / 325.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of SimCode: time 2.1e-07/1.58, allocations: 0 / 325.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of Templates: time 0.00279/1.583, allocations: 0.71 MB / 326.5 MB, free: 4.508 MB / 250.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)