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-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.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.002275/0.002275, allocations: 186.4 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 2.022/2.022, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00117/0.00117, allocations: 78.78 kB / 267.5 MB, free: 14.05 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.1021/0.1021, allocations: 12.59 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.239e-05/4.261e-05, allocations: 4 kB / 386 MB, free: 1.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3083, allocations: 50.37 MB / 436.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4472, allocations: 78.49 MB / 0.5028 GB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4475, allocations: 59.97 kB / 0.5028 GB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01464/0.4621, allocations: 3.131 MB / 0.5059 GB, free: 12.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4622, allocations: 0 / 0.5059 GB, free: 12.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.4622, allocations: 8 kB / 0.5059 GB, free: 12.34 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006707/0.4629, allocations: 418 kB / 0.5063 GB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.463, allocations: 16.03 kB / 0.5063 GB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.4631, allocations: 15.81 kB / 0.5063 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/0.4635, allocations: 226.9 kB / 0.5065 GB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.4635, allocations: 8 kB / 0.5065 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/0.4635, allocations: 12 kB / 0.5065 GB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008563/0.4644, allocations: 327.5 kB / 0.5069 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.4644, allocations: 4 kB / 0.5069 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.4645, allocations: 4 kB / 0.5069 GB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.4645, allocations: 4 kB / 0.5069 GB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.4648, allocations: 99.88 kB / 0.507 GB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/0.4657, allocations: 462.4 kB / 0.5074 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.4664, allocations: 222.6 kB / 0.5076 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.4666, allocations: 123.3 kB / 0.5077 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.4667, allocations: 7.984 kB / 0.5077 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.4667, allocations: 38.56 kB / 0.5078 GB, free: 10.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 2.816e-06/0.4668, allocations: 0 / 0.5078 GB, free: 10.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005736/0.4673, allocations: 185.2 kB / 0.508 GB, free: 9.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4675, allocations: 140.6 kB / 0.5081 GB, free: 9.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.4676, allocations: 141.4 kB / 0.5082 GB, free: 9.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.4677, allocations: 29.7 kB / 0.5083 GB, free: 9.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.846e-05/0.4678, allocations: 174.4 kB / 0.5084 GB, free: 9.453 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.4678, allocations: 15.89 kB / 0.5084 GB, free: 9.438 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.4679, allocations: 0 / 0.5084 GB, free: 9.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.468, allocations: 318.8 kB / 0.5087 GB, free: 9.117 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.679e-05/0.4681, allocations: 27.98 kB / 0.5088 GB, free: 9.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.4683, allocations: 143.4 kB / 0.5089 GB, free: 8.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.4684, allocations: 55.91 kB / 0.509 GB, free: 8.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.4685, allocations: 0 / 0.509 GB, free: 8.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004206/0.4689, allocations: 181.2 kB / 0.5091 GB, free: 8.656 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.4689, allocations: 4 kB / 0.5091 GB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4689, allocations: 4 kB / 0.5091 GB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.469, allocations: 11.95 kB / 0.5092 GB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.4693, allocations: 47.91 kB / 0.5092 GB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.4693, allocations: 4.5 kB / 0.5092 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.4695, allocations: 12 kB / 0.5092 GB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.4695, allocations: 16 kB / 0.5092 GB, free: 8.559 MB / 362.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 () * 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 0.0001207/0.4697, allocations: 120.6 kB / 0.5093 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/0.4701, allocations: 165.6 kB / 0.5095 GB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.405e-05/0.4702, allocations: 16.75 kB / 0.5095 GB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.4702, allocations: 4 kB / 0.5095 GB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.4702, allocations: 7.938 kB / 0.5095 GB, free: 8.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4702, allocations: 8.016 kB / 0.5095 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003582/0.4706, allocations: 213.5 kB / 0.5097 GB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.4706, allocations: 0 / 0.5097 GB, free: 7.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.471, allocations: 39.97 kB / 0.5098 GB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.471, allocations: 3.938 kB / 0.5098 GB, free: 7.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.471, allocations: 8 kB / 0.5098 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.471, allocations: 3.938 kB / 0.5098 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.471, allocations: 0 / 0.5098 GB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.4716, allocations: 401.8 kB / 0.5102 GB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.4717, allocations: 96.88 kB / 0.5103 GB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.4717, allocations: 4 kB / 0.5103 GB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.472, allocations: 15.98 kB / 0.5103 GB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.472, allocations: 3.938 kB / 0.5103 GB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.4721, allocations: 11.98 kB / 0.5103 GB, free: 7.344 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.4722, allocations: 112.1 kB / 0.5104 GB, free: 7.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4722, allocations: 3.938 kB / 0.5104 GB, free: 7.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.4727, allocations: 23.94 kB / 0.5104 GB, free: 7.207 MB / 362.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 () * 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 0.0001373/0.4728, allocations: 99.25 kB / 0.5105 GB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.4732, allocations: 123.8 kB / 0.5106 GB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.4732, allocations: 0 / 0.5106 GB, free: 6.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.742e-05/0.4733, allocations: 15.98 kB / 0.5107 GB, free: 6.961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.4739, allocations: 97.2 kB / 0.5108 GB, free: 6.867 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/0.4747, allocations: 290.4 kB / 0.511 GB, free: 6.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.4751, allocations: 0.7438 MB / 0.5118 GB, free: 5.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.4752, allocations: 19.42 kB / 0.5118 GB, free: 5.758 MB / 362.7 MB Notification: Performance of SimCode: time 1.163e-06/0.4752, allocations: 0 / 0.5118 GB, free: 5.758 MB / 362.7 MB Notification: Performance of Templates: time 0.004998/0.4802, allocations: 1.731 MB / 0.5135 GB, free: 4.023 MB / 362.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)