Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.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/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/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.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009935/0.0009936, allocations: 177.2 kB / 17.45 MB, free: 4.234 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.514/1.514, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007047/0.0007048, allocations: 93.36 kB / 272 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08025/0.08025, allocations: 12.21 MB / 332.4 MB, free: 11.63 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.000431, allocations: 12 kB / 392.7 MB, free: 67.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09088/0.09132, allocations: 50.29 MB / 443 MB, free: 16.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2789/0.3703, allocations: 78.54 MB / 0.5093 GB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.3705, allocations: 60.28 kB / 0.5094 GB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007584/0.3781, allocations: 3.147 MB / 0.5125 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3782, allocations: 4 kB / 0.5125 GB, free: 11.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3782, allocations: 7.812 kB / 0.5125 GB, free: 11.92 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004182/0.3786, allocations: 419.3 kB / 0.5129 GB, free: 11.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3786, allocations: 7.719 kB / 0.5129 GB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.3787, allocations: 16.44 kB / 0.5129 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.3789, allocations: 233.4 kB / 0.5131 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.3789, allocations: 23.44 kB / 0.5131 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.379, allocations: 14.66 kB / 0.5131 GB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.3795, allocations: 348.8 kB / 0.5135 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3795, allocations: 0 / 0.5135 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.3795, allocations: 7 kB / 0.5135 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3795, allocations: 3.844 kB / 0.5135 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.3798, allocations: 123.2 kB / 0.5136 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.3803, allocations: 468.8 kB / 0.5141 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.3807, allocations: 236.2 kB / 0.5143 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.3809, allocations: 126.6 kB / 0.5144 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.3809, allocations: 0 / 0.5144 GB, free: 10.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.3809, allocations: 45.19 kB / 0.5144 GB, free: 10.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.3809, allocations: 0 / 0.5144 GB, free: 10.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004928/0.3814, allocations: 274.2 kB / 0.5147 GB, free: 10.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.3815, allocations: 155.2 kB / 0.5149 GB, free: 10.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.3816, allocations: 150.7 kB / 0.515 GB, free: 10.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.3816, allocations: 25.7 kB / 0.515 GB, free: 9.988 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.3816, allocations: 114.7 kB / 0.5151 GB, free: 9.891 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.3817, allocations: 19.3 kB / 0.5151 GB, free: 9.879 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-06/0.3817, allocations: 0 / 0.5151 GB, free: 9.879 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.274e-05/0.3817, allocations: 325.7 kB / 0.5155 GB, free: 9.562 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.3818, allocations: 45.41 kB / 0.5155 GB, free: 9.551 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.382, allocations: 157.7 kB / 0.5157 GB, free: 9.387 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/0.3822, allocations: 217.2 kB / 0.5159 GB, free: 9.203 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3822, allocations: 0 / 0.5159 GB, free: 9.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002732/0.3825, allocations: 207 kB / 0.5161 GB, free: 9.113 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.3825, allocations: 7.719 kB / 0.5161 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3825, allocations: 3.844 kB / 0.5161 GB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3825, allocations: 11.66 kB / 0.5161 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3826, allocations: 41.91 kB / 0.5161 GB, free: 9.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.3826, allocations: 7.781 kB / 0.5161 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.505e-05/0.3827, allocations: 24.05 kB / 0.5161 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.3828, allocations: 15.28 kB / 0.5162 GB, free: 9.082 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 8.26e-05/0.3828, allocations: 143.9 kB / 0.5163 GB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.383, allocations: 160.1 kB / 0.5165 GB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.3831, allocations: 27.59 kB / 0.5165 GB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.3831, allocations: 7.906 kB / 0.5165 GB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3831, allocations: 0 / 0.5165 GB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3831, allocations: 3.875 kB / 0.5165 GB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3833, allocations: 215 kB / 0.5167 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3833, allocations: 0 / 0.5167 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.3835, allocations: 42.7 kB / 0.5167 GB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3835, allocations: 0 / 0.5167 GB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.3835, allocations: 7.828 kB / 0.5167 GB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3835, allocations: 3.938 kB / 0.5167 GB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3835, allocations: 3.938 kB / 0.5168 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.3838, allocations: 390.8 kB / 0.5171 GB, free: 8.371 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.3839, allocations: 88.77 kB / 0.5172 GB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.3839, allocations: 11.23 kB / 0.5172 GB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.384, allocations: 14.91 kB / 0.5172 GB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.3841, allocations: 3.844 kB / 0.5172 GB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.3841, allocations: 11.86 kB / 0.5172 GB, free: 8.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.114e-05/0.3841, allocations: 113 kB / 0.5174 GB, free: 8.168 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.3841, allocations: 0 / 0.5174 GB, free: 8.168 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.3844, allocations: 30.84 kB / 0.5174 GB, free: 8.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 8.089e-05/0.3845, allocations: 98.19 kB / 0.5175 GB, free: 8.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002864/0.3848, allocations: 152.1 kB / 0.5176 GB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3848, allocations: 3.844 kB / 0.5176 GB, free: 8.031 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.3849, allocations: 23.27 kB / 0.5177 GB, free: 8.023 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005042/0.3854, allocations: 109.8 kB / 0.5178 GB, free: 7.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.3859, allocations: 431.6 kB / 0.5182 GB, free: 7.688 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.3861, allocations: 0.7411 MB / 0.5189 GB, free: 6.969 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.3861, allocations: 19.2 kB / 0.5189 GB, free: 6.961 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3861, allocations: 0 / 0.5189 GB, free: 6.961 MB / 330.7 MB Notification: Performance of Templates: time 0.002613/0.3887, allocations: 1.739 MB / 0.5206 GB, free: 6.094 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)