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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 169.2 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.307/1.307, allocations: 205 MB / 222.5 MB, free: 9.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007559/0.000756, allocations: 84.61 kB / 270.5 MB, free: 8.668 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06777/0.06777, allocations: 12.57 MB / 331 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003435, allocations: 15.98 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07738/0.07773, allocations: 49.97 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.001479/0.07925, allocations: 1.344 MB / 443 MB, free: 15.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006298/0.0799, allocations: 0.5308 MB / 443.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.07999, allocations: 0 / 443.6 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.356e-05/0.08004, allocations: 7.938 kB / 443.6 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.08016, allocations: 15.86 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.0804, allocations: 43.89 kB / 443.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.08049, allocations: 51.84 kB / 443.7 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.406e-05/0.08058, allocations: 16 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.321e-05/0.08065, allocations: 31.78 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.08071, allocations: 19.86 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.08073, allocations: 0 / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.112e-05/0.08075, allocations: 4 kB / 443.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.0808, allocations: 11.98 kB / 443.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.08084, allocations: 23.75 kB / 443.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.725e-05/0.08091, allocations: 44.14 kB / 443.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.08092, allocations: 0 / 443.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.08093, allocations: 4 kB / 443.8 MB, free: 14.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.626e-06/0.08094, allocations: 4 kB / 443.8 MB, free: 14.23 MB / 298.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.0003615/0.0813, allocations: 367.2 kB / 444.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.08135, allocations: 12.03 kB / 444.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.0814, allocations: 8.844 kB / 444.2 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.08155, allocations: 204.5 kB / 444.4 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.08157, allocations: 8.312 kB / 444.4 MB, free: 13.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.08159, allocations: 8.125 kB / 444.4 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.08183, allocations: 120.9 kB / 444.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.08185, allocations: 0 / 444.5 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.08186, allocations: 4 kB / 444.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.08188, allocations: 7.938 kB / 444.5 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.08196, allocations: 27.98 kB / 444.6 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002517/0.08222, allocations: 277.7 kB / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.08249, allocations: 81.19 kB / 444.9 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.08256, allocations: 33.7 kB / 445 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.08258, allocations: 0 / 445 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.0826, allocations: 34.56 kB / 445 MB, free: 12.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.08261, allocations: 0 / 445 MB, free: 12.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002304/0.08284, allocations: 97.5 kB / 445.1 MB, free: 12.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.08289, allocations: 81.11 kB / 445.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.08298, allocations: 142.4 kB / 445.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.083, allocations: 29.7 kB / 445.3 MB, free: 12.49 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.707e-05/0.08303, allocations: 92.2 kB / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.08305, allocations: 15.89 kB / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.08308, allocations: 13.72 kB / 445.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.718e-05/0.08313, allocations: 318.8 kB / 445.8 MB, free: 12.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.593e-05/0.08318, allocations: 15.98 kB / 445.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.856e-05/0.08324, allocations: 52.28 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.08338, allocations: 157.2 kB / 446 MB, free: 11.77 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.0834, allocations: 8 kB / 446 MB, free: 11.76 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001341/0.08354, allocations: 85.52 kB / 446.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.08356, allocations: 4 kB / 446.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.08357, allocations: 4 kB / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.08359, allocations: 0 / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.08365, allocations: 15.94 kB / 446.1 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.08366, allocations: 8.141 kB / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.406e-05/0.08371, allocations: 11.94 kB / 446.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.08372, allocations: 4 kB / 446.1 MB, free: 11.62 MB / 298.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.0001095/0.08384, allocations: 118.7 kB / 446.2 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.776e-05/0.08392, allocations: 61.53 kB / 446.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.08396, allocations: 16.23 kB / 446.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.08397, allocations: 384 / 446.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.08398, allocations: 0 / 446.3 MB, free: 11.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.08398, allocations: 7.938 kB / 446.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.0841, allocations: 177.5 kB / 446.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.08411, allocations: 0 / 446.5 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.451e-05/0.08421, allocations: 23.92 kB / 446.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.08422, allocations: 7.922 kB / 446.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.08424, allocations: 4 kB / 446.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.08424, allocations: 0 / 446.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.08425, allocations: 3.984 kB / 446.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.0844, allocations: 192.2 kB / 446.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.08445, allocations: 92.94 kB / 446.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.08448, allocations: 8 kB / 446.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.08456, allocations: 0 / 446.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-05/0.08459, allocations: 4.062 kB / 446.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.0846, allocations: 11.92 kB / 446.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.797e-05/0.08466, allocations: 111.3 kB / 446.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.08466, allocations: 0 / 446.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002086/0.08488, allocations: 12 kB / 447 MB, free: 10.69 MB / 298.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.568e-05/0.08498, allocations: 95.23 kB / 447.1 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001549/0.08514, allocations: 47.92 kB / 447.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.08515, allocations: 4.312 kB / 447.1 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.511e-05/0.08519, allocations: 11.98 kB / 447.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.08553, allocations: 37.27 kB / 447.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.08585, allocations: 244 kB / 447.4 MB, free: 10.22 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001128/0.08598, allocations: 0.7004 MB / 448.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.08601, allocations: 11.44 kB / 448.1 MB, free: 9.48 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.08602, allocations: 0 / 448.1 MB, free: 9.48 MB / 298.7 MB Notification: Performance of Templates: time 0.001824/0.08785, allocations: 0.956 MB / 449.1 MB, free: 8.523 MB / 298.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)