Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 103 kB / 16.02 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 185.9 kB / 16.95 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.707/1.707, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08465/0.08465, allocations: 12.59 MB / 282.7 MB, free: 15.64 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 87.89 kB / 343 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4295, allocations: 49.38 MB / 392.4 MB, free: 49.17 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.003975/0.4336, allocations: 1.677 MB / 394 MB, free: 48.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.435, allocations: 0.5338 MB / 394.6 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001386/0.4351, allocations: 1.844 kB / 394.6 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.658e-05/0.4352, allocations: 0.8906 kB / 394.6 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002166/0.4354, allocations: 17.72 kB / 394.6 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.4359, allocations: 51.95 kB / 394.6 MB, free: 47.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001833/0.4361, allocations: 52.89 kB / 394.7 MB, free: 47.58 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.4362, allocations: 19.03 kB / 394.7 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.4364, allocations: 29.41 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.4365, allocations: 27.19 kB / 394.8 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.4365, allocations: 3.594 kB / 394.8 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.278e-05/0.4365, allocations: 4.625 kB / 394.8 MB, free: 47.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.4366, allocations: 14.53 kB / 394.8 MB, free: 47.53 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.4367, allocations: 37.22 kB / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.4369, allocations: 56.58 kB / 394.9 MB, free: 47.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4369, allocations: 0 / 394.9 MB, free: 47.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.4369, allocations: 0 / 394.9 MB, free: 47.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.978e-06/0.4369, allocations: 3.938 kB / 394.9 MB, free: 47.48 MB / 318.1 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.0007134/0.4377, allocations: 395.8 kB / 395.3 MB, free: 47.08 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.717e-05/0.4377, allocations: 10.06 kB / 395.3 MB, free: 47.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.4378, allocations: 9.625 kB / 395.3 MB, free: 47.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/0.4381, allocations: 195.3 kB / 395.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.4381, allocations: 1.5 kB / 395.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.4381, allocations: 7.312 kB / 395.5 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.4385, allocations: 126.7 kB / 395.6 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4386, allocations: 0 / 395.6 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.4386, allocations: 5.156 kB / 395.6 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.4386, allocations: 0 / 395.6 MB, free: 46.76 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.4387, allocations: 21.5 kB / 395.6 MB, free: 46.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.4392, allocations: 280.9 kB / 395.9 MB, free: 46.46 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.4397, allocations: 75.02 kB / 396 MB, free: 46.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.313e-05/0.4398, allocations: 27.98 kB / 396 MB, free: 46.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.4398, allocations: 4 kB / 396 MB, free: 46.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.4398, allocations: 40.36 kB / 396 MB, free: 46.33 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.764e-06/0.4398, allocations: 0 / 396 MB, free: 46.33 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003581/0.4402, allocations: 82.78 kB / 396.1 MB, free: 46.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.4403, allocations: 85.92 kB / 396.2 MB, free: 46.19 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.4405, allocations: 143.3 kB / 396.4 MB, free: 46.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.4405, allocations: 30.34 kB / 396.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.4406, allocations: 92.89 kB / 396.5 MB, free: 45.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.4406, allocations: 6.312 kB / 396.5 MB, free: 45.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.4407, allocations: 21.31 kB / 396.5 MB, free: 45.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4408, allocations: 322.8 kB / 396.8 MB, free: 45.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.4409, allocations: 16.19 kB / 396.8 MB, free: 45.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.307e-05/0.4409, allocations: 51.33 kB / 396.9 MB, free: 45.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.4412, allocations: 147.5 kB / 397 MB, free: 45.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.4412, allocations: 4.703 kB / 397 MB, free: 45.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001629/0.4414, allocations: 90.95 kB / 397.1 MB, free: 45.34 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4414, allocations: 7.469 kB / 397.1 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.4414, allocations: 0.6562 kB / 397.1 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4414, allocations: 0 / 397.1 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.4415, allocations: 18.53 kB / 397.1 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4415, allocations: 2.719 kB / 397.1 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.4416, allocations: 15.2 kB / 397.2 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4416, allocations: 3.688 kB / 397.2 MB, free: 45.33 MB / 318.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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.0002261/0.4418, allocations: 123.6 kB / 397.3 MB, free: 45.21 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.4419, allocations: 58.48 kB / 397.3 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.442, allocations: 12.47 kB / 397.4 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.442, allocations: 5.094 kB / 397.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.442, allocations: 1.75 kB / 397.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.442, allocations: 3.938 kB / 397.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.4422, allocations: 184.6 kB / 397.5 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.4422, allocations: 5.844 kB / 397.6 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.4423, allocations: 18.11 kB / 397.6 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4424, allocations: 0.5625 kB / 397.6 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.4424, allocations: 2.125 kB / 397.6 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.4424, allocations: 6.062 kB / 397.6 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4424, allocations: 0 / 397.6 MB, free: 44.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.4426, allocations: 180.8 kB / 397.8 MB, free: 44.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.979e-05/0.4427, allocations: 95.25 kB / 397.8 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.4427, allocations: 2.875 kB / 397.9 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.843e-05/0.4428, allocations: 10.36 kB / 397.9 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.4428, allocations: 4.781 kB / 397.9 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.4429, allocations: 6.453 kB / 397.9 MB, free: 44.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.603e-05/0.4429, allocations: 114.8 kB / 398 MB, free: 44.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.443, allocations: 0 / 398 MB, free: 44.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.4432, allocations: 8.938 kB / 398 MB, free: 44.57 MB / 318.1 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 0.0001245/0.4433, allocations: 101.4 kB / 398.1 MB, free: 44.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002236/0.4435, allocations: 47.41 kB / 398.1 MB, free: 44.46 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4436, allocations: 0 / 398.1 MB, free: 44.46 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.731e-05/0.4436, allocations: 12.14 kB / 398.2 MB, free: 44.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004138/0.444, allocations: 35 kB / 398.2 MB, free: 44.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004699/0.4445, allocations: 222.2 kB / 398.4 MB, free: 44.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.4448, allocations: 0.6995 MB / 399.1 MB, free: 43.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.732e-05/0.4449, allocations: 11.72 kB / 399.1 MB, free: 43.56 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.4449, allocations: 11.86 kB / 399.1 MB, free: 43.55 MB / 318.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4449, allocations: 0 / 399.1 MB, free: 43.55 MB / 318.1 MB Notification: Performance of Templates: time 0.004389/0.4493, allocations: 0.7624 MB / 399.9 MB, free: 43.21 MB / 318.1 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)