Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample.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.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007462/0.0007462, allocations: 92.73 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.07264/0.07264, allocations: 12.63 MB / 29.4 MB, free: 6.09 MB / 24.77 MB Notification: Performance of FrontEnd - loaded program: time 0.0001813/0.0001814, allocations: 4 kB / 40.28 MB, free: 0.6172 MB / 24.77 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.004804/0.005, allocations: 2.824 MB / 43.1 MB, free: 6.066 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.ClockSignals.RotationalSample): time 1.568/1.573, allocations: 277.9 MB / 321 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009943/1.574, allocations: 0.7496 MB / 321.8 MB, free: 9.566 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.817e-05/1.574, allocations: 4 kB / 321.8 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/1.574, allocations: 11.86 kB / 321.8 MB, free: 9.551 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/1.574, allocations: 11.88 kB / 321.8 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/1.575, allocations: 99.84 kB / 321.9 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001905/1.575, allocations: 184.8 kB / 322.1 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/1.575, allocations: 131.7 kB / 322.2 MB, free: 9.137 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/1.575, allocations: 62.23 kB / 322.3 MB, free: 9.078 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/1.576, allocations: 71.61 kB / 322.3 MB, free: 9.008 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/1.576, allocations: 4 kB / 322.3 MB, free: 9.004 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.89e-05/1.576, allocations: 7.938 kB / 322.4 MB, free: 8.996 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/1.576, allocations: 27.91 kB / 322.4 MB, free: 8.969 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.587e-05/1.576, allocations: 93.23 kB / 322.5 MB, free: 8.871 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/1.576, allocations: 194.8 kB / 322.7 MB, free: 8.684 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/1.576, allocations: 0 / 322.7 MB, free: 8.684 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/1.576, allocations: 0 / 322.7 MB, free: 8.684 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.489e-06/1.576, allocations: 0 / 322.7 MB, free: 8.684 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007106/1.577, allocations: 0.4917 MB / 323.2 MB, free: 8.129 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/1.577, allocations: 8.031 kB / 323.2 MB, free: 8.121 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/1.577, allocations: 25.42 kB / 323.2 MB, free: 8.098 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002173/1.577, allocations: 232.5 kB / 323.4 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.478e-05/1.577, allocations: 41.22 kB / 323.5 MB, free: 7.789 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.107e-05/1.577, allocations: 23.94 kB / 323.5 MB, free: 7.766 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/1.578, allocations: 337.6 kB / 323.8 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/1.578, allocations: 0 / 323.8 MB, free: 7.422 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/1.578, allocations: 16.61 kB / 323.8 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/1.578, allocations: 4 kB / 323.8 MB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003919/1.578, allocations: 143.6 kB / 324 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/1.579, allocations: 469.8 kB / 324.4 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004885/1.579, allocations: 220.9 kB / 324.6 MB, free: 6.527 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/1.58, allocations: 111.4 kB / 324.8 MB, free: 6.414 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/1.58, allocations: 0 / 324.8 MB, free: 6.414 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002925/1.58, allocations: 122.9 kB / 324.9 MB, free: 6.285 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 1.443e-06/1.58, allocations: 0 / 324.9 MB, free: 6.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=23): time 0.000745/1.581, allocations: 308.7 kB / 325.2 MB, free: 5.98 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/1.581, allocations: 90.48 kB / 325.3 MB, free: 5.875 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/1.581, allocations: 148.8 kB / 325.4 MB, free: 5.719 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/1.581, allocations: 33.7 kB / 325.4 MB, free: 5.68 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/1.581, allocations: 117.1 kB / 325.6 MB, free: 5.562 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/1.581, allocations: 39.61 kB / 325.6 MB, free: 5.523 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/1.581, allocations: 8 kB / 325.6 MB, free: 5.516 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.343e-05/1.581, allocations: 330.8 kB / 325.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/1.581, allocations: 68.19 kB / 326 MB, free: 5.117 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/1.582, allocations: 150.7 kB / 326.1 MB, free: 4.934 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/1.582, allocations: 247.7 kB / 326.4 MB, free: 4.648 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.582, allocations: 0 / 326.4 MB, free: 4.648 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005194/1.582, allocations: 287.2 kB / 326.7 MB, free: 4.355 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/1.582, allocations: 37.69 kB / 326.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.583, allocations: 0 / 326.7 MB, free: 4.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.583, allocations: 4 kB / 326.7 MB, free: 4.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/1.583, allocations: 51.91 kB / 326.8 MB, free: 4.258 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/1.583, allocations: 7.938 kB / 326.8 MB, free: 4.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/1.583, allocations: 39.77 kB / 326.8 MB, free: 4.211 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/1.583, allocations: 12 kB / 326.8 MB, free: 4.199 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 13 (rotationalClock.changed.y,rotationalClock.changed.u,$CLKPRE.rotationalClock.changed.u,rotationalClock.cast.y,rotationalClock.direction_changed,rotationalClock.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotationalClock.less.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 1 (rotationalClock.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0001186/1.583, allocations: 153.4 kB / 327 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/1.583, allocations: 102.4 kB / 327.1 MB, free: 3.934 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/1.583, allocations: 16.72 kB / 327.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/1.583, allocations: 4 kB / 327.1 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/1.583, allocations: 3.938 kB / 327.1 MB, free: 3.902 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.583, allocations: 3.984 kB / 327.1 MB, free: 3.898 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/1.584, allocations: 0.4943 MB / 327.6 MB, free: 3.348 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/1.584, allocations: 11.94 kB / 327.6 MB, free: 3.336 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/1.584, allocations: 39.91 kB / 327.6 MB, free: 3.297 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/1.584, allocations: 7.938 kB / 327.6 MB, free: 3.289 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/1.584, allocations: 7.984 kB / 327.6 MB, free: 3.281 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.584, allocations: 4 kB / 327.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.584, allocations: 0 / 327.7 MB, free: 3.277 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/1.585, allocations: 342.8 kB / 328 MB, free: 2.926 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/1.585, allocations: 92.86 kB / 328.1 MB, free: 2.816 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/1.585, allocations: 7.938 kB / 328.1 MB, free: 2.809 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/1.585, allocations: 31.97 kB / 328.1 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/1.585, allocations: 15.92 kB / 328.1 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/1.585, allocations: 8 kB / 328.1 MB, free: 2.754 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.839e-05/1.585, allocations: 108.6 kB / 328.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.585, allocations: 0 / 328.2 MB, free: 2.648 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002603/1.585, allocations: 39.94 kB / 328.3 MB, free: 2.609 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: 10 (rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2) * Number of discrete states: 1 (trigger_interval_input.count) * Number of clocked states: 1 (rotationalClock.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001067/1.586, allocations: 120.6 kB / 328.4 MB, free: 2.484 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0005093/1.586, allocations: 259.7 kB / 328.7 MB, free: 2.219 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/1.586, allocations: 0 / 328.7 MB, free: 2.219 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/1.586, allocations: 59.97 kB / 328.7 MB, free: 2.16 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/1.587, allocations: 71.88 kB / 328.8 MB, free: 2.09 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006337/1.587, allocations: 387.3 kB / 329.2 MB, free: 1.676 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/1.588, allocations: 0.7286 MB / 329.9 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.416e-05/1.588, allocations: 17.42 kB / 329.9 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/1.588, allocations: 19.44 kB / 329.9 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of SimCode: time 2.1e-07/1.588, allocations: 0 / 329.9 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of Templates: time 0.004197/1.592, allocations: 1.715 MB / 331.6 MB, free: 15.18 MB / 266.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.RotationalSample.pipe 2>&1)