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.0008663/0.0008664, allocations: 173.5 kB / 16.8 MB, free: 5.008 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.441/1.441, allocations: 205.4 MB / 223 MB, free: 9.012 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.0007861/0.0007861, allocations: 90.38 kB / 271.3 MB, free: 8.246 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.07239/0.07239, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003627, allocations: 12 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.08993, allocations: 50.37 MB / 443.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator): time 0.001787/0.09177, allocations: 1.337 MB / 445 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000867/0.09267, allocations: 0.5114 MB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.09282, allocations: 3.938 kB / 445.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.44e-05/0.0929, allocations: 11.92 kB / 445.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001487/0.09306, allocations: 15.86 kB / 445.6 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.09338, allocations: 47.89 kB / 445.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.09351, allocations: 51.84 kB / 445.7 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.09362, allocations: 16 kB / 445.7 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.973e-05/0.09372, allocations: 27.84 kB / 445.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.348e-05/0.0938, allocations: 23.86 kB / 445.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.09383, allocations: 0 / 445.7 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.25e-05/0.09388, allocations: 8 kB / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.09394, allocations: 4 kB / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.852e-05/0.09401, allocations: 57.44 kB / 445.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.09412, allocations: 48.08 kB / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.09414, allocations: 3.938 kB / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.09415, allocations: 0 / 445.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.09416, allocations: 0 / 445.8 MB, free: 13.25 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.0004732/0.09464, allocations: 367.2 kB / 446.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.09469, allocations: 16.03 kB / 446.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.102e-05/0.09474, allocations: 8.844 kB / 446.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001892/0.09493, allocations: 204.6 kB / 446.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-06/0.09495, allocations: 4.375 kB / 446.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.09499, allocations: 12.12 kB / 446.4 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.0953, allocations: 120.9 kB / 446.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.09533, allocations: 0 / 446.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.09534, allocations: 3.938 kB / 446.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.09536, allocations: 4 kB / 446.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.059e-05/0.09545, allocations: 23.98 kB / 446.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.0958, allocations: 273.7 kB / 446.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.09612, allocations: 81.12 kB / 446.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.729e-05/0.09619, allocations: 29.77 kB / 447 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.09622, allocations: 8 kB / 447 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.09624, allocations: 34.5 kB / 447 MB, free: 11.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.09625, allocations: 0 / 447 MB, free: 11.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002602/0.09651, allocations: 89.5 kB / 447.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.09658, allocations: 89.23 kB / 447.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.474e-05/0.09668, allocations: 142.4 kB / 447.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.0967, allocations: 29.7 kB / 447.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.368e-05/0.09674, allocations: 92.08 kB / 447.4 MB, free: 11.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.09677, allocations: 7.906 kB / 447.4 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.09678, allocations: 4 kB / 447.5 MB, free: 11.4 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.09684, allocations: 318.8 kB / 447.8 MB, free: 11.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.358e-05/0.0969, allocations: 23.98 kB / 447.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.14e-05/0.09696, allocations: 48.28 kB / 447.8 MB, free: 10.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.09713, allocations: 153.3 kB / 448 MB, free: 10.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.09715, allocations: 0 / 448 MB, free: 10.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001523/0.09731, allocations: 93.58 kB / 448.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.09733, allocations: 8 kB / 448.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.09734, allocations: 0 / 448.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.09736, allocations: 4 kB / 448.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.09743, allocations: 15.98 kB / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.09744, allocations: 3.938 kB / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.0975, allocations: 11.94 kB / 448.1 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.09752, allocations: 4 kB / 448.1 MB, free: 10.66 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.0001187/0.09764, allocations: 126.7 kB / 448.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.09773, allocations: 57.59 kB / 448.3 MB, free: 10.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.526e-05/0.09778, allocations: 12.19 kB / 448.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.09779, allocations: 4.375 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.0978, allocations: 0 / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.09781, allocations: 7.922 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.09797, allocations: 173.6 kB / 448.5 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.09799, allocations: 7.922 kB / 448.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.0981, allocations: 27.91 kB / 448.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.09811, allocations: 4 kB / 448.5 MB, free: 10.19 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.09813, allocations: 4 kB / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.09813, allocations: 0 / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.09814, allocations: 4 kB / 448.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001776/0.09833, allocations: 180.2 kB / 448.7 MB, free: 9.984 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.166e-05/0.09838, allocations: 96.94 kB / 448.8 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.09841, allocations: 11.98 kB / 448.8 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-05/0.09849, allocations: 4 kB / 448.8 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.09853, allocations: 0 / 448.8 MB, free: 9.855 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.09854, allocations: 11.88 kB / 448.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.988e-05/0.09861, allocations: 107.2 kB / 448.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09862, allocations: 4 kB / 449 MB, free: 9.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000234/0.09886, allocations: 12 kB / 449 MB, free: 9.723 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 8.25e-05/0.09894, allocations: 91.25 kB / 449.1 MB, free: 9.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001694/0.09912, allocations: 55.91 kB / 449.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.09913, allocations: 0 / 449.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.09918, allocations: 11.98 kB / 449.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.09954, allocations: 34.73 kB / 449.2 MB, free: 9.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.09991, allocations: 257.9 kB / 449.4 MB, free: 9.238 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.1001, allocations: 0.6965 MB / 450.1 MB, free: 8.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.1001, allocations: 15.44 kB / 450.1 MB, free: 8.5 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.1001, allocations: 4 kB / 450.1 MB, free: 8.496 MB / 298.7 MB Notification: Performance of Templates: time 0.002236/0.1023, allocations: 0.956 MB / 451.1 MB, free: 7.539 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)