Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001526/0.001526, allocations: 181 kB / 13.7 MB, free: 1.625 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.972/1.972, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001082/0.001082, allocations: 82.77 kB / 267.6 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09941/0.09941, allocations: 12.6 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.655e-05, allocations: 3.984 kB / 386 MB, free: 1.312 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2939, allocations: 50.38 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.4311, allocations: 78.41 MB / 0.5027 GB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4313, allocations: 63.97 kB / 0.5028 GB, free: 15.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007571/0.4389, allocations: 1.771 MB / 0.5045 GB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.439, allocations: 3.938 kB / 0.5045 GB, free: 13.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.439, allocations: 0 / 0.5045 GB, free: 13.8 MB / 362.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.0004587/0.4395, allocations: 362.4 kB / 0.5048 GB, free: 13.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4395, allocations: 12.03 kB / 0.5048 GB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.4396, allocations: 15.81 kB / 0.5049 GB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.4399, allocations: 203.2 kB / 0.5051 GB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4399, allocations: 15.89 kB / 0.5051 GB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.4399, allocations: 4 kB / 0.5051 GB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.4402, allocations: 105 kB / 0.5052 GB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4403, allocations: 8 kB / 0.5052 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.4403, allocations: 4 kB / 0.5052 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4403, allocations: 0 / 0.5052 GB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.476e-05/0.4404, allocations: 15.94 kB / 0.5052 GB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.4409, allocations: 277.8 kB / 0.5055 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004116/0.4413, allocations: 81.12 kB / 0.5055 GB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.4414, allocations: 21.78 kB / 0.5056 GB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.4414, allocations: 0 / 0.5056 GB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.4414, allocations: 34.56 kB / 0.5056 GB, free: 12.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.4415, allocations: 4 kB / 0.5056 GB, free: 12.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002187/0.4417, allocations: 61.62 kB / 0.5057 GB, free: 12.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.035e-05/0.4418, allocations: 85.09 kB / 0.5057 GB, free: 12.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.4419, allocations: 130.2 kB / 0.5059 GB, free: 12.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.442, allocations: 25.7 kB / 0.5059 GB, free: 12.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/0.4421, allocations: 154.6 kB / 0.506 GB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.4421, allocations: 7.906 kB / 0.506 GB, free: 11.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.4421, allocations: 4 kB / 0.506 GB, free: 11.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.4422, allocations: 322.8 kB / 0.5064 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.4423, allocations: 12 kB / 0.5064 GB, free: 11.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.4424, allocations: 40.3 kB / 0.5064 GB, free: 11.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.4425, allocations: 105 kB / 0.5065 GB, free: 11.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4425, allocations: 0 / 0.5065 GB, free: 11.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001756/0.4427, allocations: 73.53 kB / 0.5066 GB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4428, allocations: 4 kB / 0.5066 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.4428, allocations: 0 / 0.5066 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4428, allocations: 7.938 kB / 0.5066 GB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4429, allocations: 15.98 kB / 0.5066 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.443, allocations: 160 / 0.5066 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.443, allocations: 15.94 kB / 0.5066 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.4431, allocations: 4 kB / 0.5066 GB, free: 11.33 MB / 362.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 0.000119/0.4432, allocations: 120.6 kB / 0.5067 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.4433, allocations: 61.53 kB / 0.5068 GB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.4434, allocations: 12.03 kB / 0.5068 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.4434, allocations: 240 / 0.5068 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.4434, allocations: 0 / 0.5068 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4434, allocations: 0 / 0.5068 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.4437, allocations: 185.6 kB / 0.507 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.4437, allocations: 0 / 0.507 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/0.4439, allocations: 19.98 kB / 0.507 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.4439, allocations: 3.938 kB / 0.507 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.444, allocations: 3.984 kB / 0.507 GB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.444, allocations: 4 kB / 0.507 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.444, allocations: 0 / 0.507 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/0.4442, allocations: 194 kB / 0.5072 GB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.4443, allocations: 93 kB / 0.5073 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.4443, allocations: 0 / 0.5073 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.4445, allocations: 12.05 kB / 0.5073 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.4445, allocations: 0 / 0.5073 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.4445, allocations: 4 kB / 0.5073 GB, free: 10.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.4447, allocations: 108.6 kB / 0.5074 GB, free: 10.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4447, allocations: 0 / 0.5074 GB, free: 10.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002969/0.445, allocations: 16 kB / 0.5074 GB, free: 10.4 MB / 362.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 0.0001087/0.4451, allocations: 91.25 kB / 0.5075 GB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.4453, allocations: 39.92 kB / 0.5075 GB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4453, allocations: 0 / 0.5075 GB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.9e-05/0.4453, allocations: 4 kB / 0.5076 GB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4457, allocations: 40.42 kB / 0.5076 GB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.4461, allocations: 156 kB / 0.5077 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.4464, allocations: 0.7004 MB / 0.5084 GB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.4465, allocations: 11.44 kB / 0.5084 GB, free: 9.301 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4465, allocations: 0 / 0.5084 GB, free: 9.301 MB / 362.7 MB Notification: Performance of Templates: time 0.003114/0.4496, allocations: 0.9358 MB / 0.5093 GB, free: 8.363 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestExactClockWithIntegrator.pipe 2>&1)