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.001237/0.001237, allocations: 181.3 kB / 13.23 MB, free: 2.086 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.708/1.708, allocations: 205.2 MB / 219 MB, free: 9.203 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.0009009/0.0009006, allocations: 91.11 kB / 267.1 MB, free: 9.277 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.09048/0.09048, allocations: 12.58 MB / 327.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.192e-05, allocations: 0 / 386 MB, free: 69.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.103, allocations: 50.38 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3839/0.487, allocations: 78.4 MB / 0.5027 GB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001816/0.4873, allocations: 63.36 kB / 0.5028 GB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00433/0.4916, allocations: 1.775 MB / 0.5045 GB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4916, allocations: 3.938 kB / 0.5045 GB, free: 11.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4916, allocations: 7.844 kB / 0.5045 GB, free: 11.49 MB / 330.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.0003059/0.4919, allocations: 363.2 kB / 0.5049 GB, free: 11.13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.492, allocations: 7.719 kB / 0.5049 GB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.492, allocations: 11.66 kB / 0.5049 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.4922, allocations: 196.1 kB / 0.5051 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4922, allocations: 7.922 kB / 0.5051 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.4923, allocations: 3.125 kB / 0.5051 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.4925, allocations: 116.2 kB / 0.5052 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.4925, allocations: 0 / 0.5052 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.4925, allocations: 0 / 0.5052 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4925, allocations: 0 / 0.5052 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.895e-05/0.4926, allocations: 18.5 kB / 0.5052 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.4929, allocations: 287.3 kB / 0.5055 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002467/0.4931, allocations: 75.25 kB / 0.5056 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.061e-05/0.4932, allocations: 24.97 kB / 0.5056 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.4932, allocations: 7.516 kB / 0.5056 GB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.331e-05/0.4932, allocations: 37.06 kB / 0.5056 GB, free: 10.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4932, allocations: 0 / 0.5056 GB, free: 10.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001466/0.4934, allocations: 61.62 kB / 0.5057 GB, free: 10.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.4934, allocations: 84.17 kB / 0.5058 GB, free: 10.3 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.785e-05/0.4935, allocations: 128.2 kB / 0.5059 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.4936, allocations: 33.7 kB / 0.5059 GB, free: 10.17 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.407e-05/0.4936, allocations: 87.2 kB / 0.506 GB, free: 10.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.28e-05/0.4936, allocations: 10.5 kB / 0.506 GB, free: 10.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.4936, allocations: 3.562 kB / 0.506 GB, free: 10.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.4937, allocations: 321.1 kB / 0.5063 GB, free: 9.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.161e-05/0.4937, allocations: 11.12 kB / 0.5063 GB, free: 9.766 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.763e-05/0.4937, allocations: 39.92 kB / 0.5064 GB, free: 9.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.855e-05/0.4938, allocations: 108.6 kB / 0.5065 GB, free: 9.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4938, allocations: 0 / 0.5065 GB, free: 9.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.873e-05/0.4939, allocations: 73.91 kB / 0.5065 GB, free: 9.582 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.494, allocations: 7.875 kB / 0.5065 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.494, allocations: 6.812 kB / 0.5066 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.494, allocations: 0 / 0.5066 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.4941, allocations: 15.34 kB / 0.5066 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.4941, allocations: 2.719 kB / 0.5066 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.74e-05/0.4941, allocations: 15.16 kB / 0.5066 GB, free: 9.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.4941, allocations: 3.844 kB / 0.5066 GB, free: 9.57 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.847e-05/0.4942, allocations: 120.4 kB / 0.5067 GB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/0.4943, allocations: 57.61 kB / 0.5068 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.4944, allocations: 15.38 kB / 0.5068 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.4944, allocations: 2.484 kB / 0.5068 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4944, allocations: 0 / 0.5068 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4944, allocations: 0 / 0.5068 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.4945, allocations: 181.5 kB / 0.5069 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4945, allocations: 0 / 0.5069 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.808e-05/0.4946, allocations: 18.53 kB / 0.507 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.4946, allocations: 0 / 0.507 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.4947, allocations: 7.031 kB / 0.507 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4947, allocations: 0 / 0.507 GB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4947, allocations: 4 kB / 0.507 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.4948, allocations: 190 kB / 0.5072 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.4948, allocations: 94.22 kB / 0.5072 GB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.4949, allocations: 5.438 kB / 0.5073 GB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.53e-05/0.495, allocations: 3.844 kB / 0.5073 GB, free: 8.941 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.891e-05/0.495, allocations: 4 kB / 0.5073 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.495, allocations: 10.81 kB / 0.5073 GB, free: 8.934 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.38e-05/0.4951, allocations: 111.8 kB / 0.5074 GB, free: 8.855 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4951, allocations: 0 / 0.5074 GB, free: 8.855 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002022/0.4953, allocations: 11.25 kB / 0.5074 GB, free: 8.855 MB / 330.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.208e-05/0.4953, allocations: 94.31 kB / 0.5075 GB, free: 8.77 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.4955, allocations: 36.03 kB / 0.5075 GB, free: 8.766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4955, allocations: 4.312 kB / 0.5075 GB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.4955, allocations: 11.16 kB / 0.5075 GB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.4957, allocations: 32.25 kB / 0.5076 GB, free: 8.754 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002099/0.4959, allocations: 120.2 kB / 0.5077 GB, free: 8.656 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.4961, allocations: 0.7061 MB / 0.5084 GB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.28e-05/0.4961, allocations: 6.078 kB / 0.5084 GB, free: 7.953 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.4961, allocations: 11.28 kB / 0.5084 GB, free: 7.949 MB / 330.7 MB Notification: Performance of SimCode: time 3.1e-07/0.4962, allocations: 0 / 0.5084 GB, free: 7.949 MB / 330.7 MB Notification: Performance of Templates: time 0.00237/0.4985, allocations: 0.6796 MB / 0.509 GB, free: 7.879 MB / 330.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)