Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.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.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.001449, 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.051/2.051, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001105/0.001104, allocations: 82.64 kB / 267.6 MB, free: 14.11 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.0982/0.0982, allocations: 12.6 MB / 328.2 MB, free: 11.17 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.166e-05/4.185e-05, allocations: 0 / 386 MB, free: 1.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3196, allocations: 50.38 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.4595, allocations: 78.37 MB / 0.5026 GB, free: 15.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.4598, allocations: 63.97 kB / 0.5027 GB, free: 15.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005258/0.4651, allocations: 1.266 MB / 0.5039 GB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4651, allocations: 0 / 0.5039 GB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.4652, allocations: 4 kB / 0.5039 GB, free: 14.35 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004718/0.4656, allocations: 354.3 kB / 0.5043 GB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4657, allocations: 12.03 kB / 0.5043 GB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.4658, allocations: 7.906 kB / 0.5043 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.466, allocations: 178.9 kB / 0.5045 GB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.466, allocations: 7.953 kB / 0.5045 GB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.4661, allocations: 8 kB / 0.5045 GB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003432/0.4664, allocations: 129 kB / 0.5046 GB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4664, allocations: 7.938 kB / 0.5046 GB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.4665, allocations: 4 kB / 0.5046 GB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.4665, allocations: 0 / 0.5046 GB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.942e-05/0.4666, allocations: 27.92 kB / 0.5046 GB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.4672, allocations: 297.7 kB / 0.5049 GB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.4675, allocations: 150.3 kB / 0.5051 GB, free: 13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.435e-05/0.4676, allocations: 37.72 kB / 0.5051 GB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.4676, allocations: 0 / 0.5051 GB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.4677, allocations: 55.5 kB / 0.5052 GB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.4678, allocations: 0 / 0.5052 GB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002651/0.468, allocations: 89.52 kB / 0.5053 GB, free: 12.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.4681, allocations: 77.11 kB / 0.5053 GB, free: 12.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.4682, allocations: 109.2 kB / 0.5054 GB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.4683, allocations: 29.7 kB / 0.5055 GB, free: 12.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.992e-05/0.4684, allocations: 162.7 kB / 0.5056 GB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.4684, allocations: 19.84 kB / 0.5056 GB, free: 12.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.4684, allocations: 4 kB / 0.5056 GB, free: 12.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.4686, allocations: 318.8 kB / 0.5059 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.4686, allocations: 23.94 kB / 0.506 GB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.932e-05/0.4687, allocations: 53.16 kB / 0.506 GB, free: 11.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.55e-05/0.4688, allocations: 19.98 kB / 0.506 GB, free: 11.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.4688, allocations: 0 / 0.506 GB, free: 11.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002445/0.4691, allocations: 109.5 kB / 0.5061 GB, free: 11.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.4691, allocations: 4 kB / 0.5061 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4692, allocations: 0 / 0.5061 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4692, allocations: 4 kB / 0.5061 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.4693, allocations: 15.94 kB / 0.5062 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.4694, allocations: 0 / 0.5062 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.054e-05/0.4695, allocations: 11.98 kB / 0.5062 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4695, allocations: 4 kB / 0.5062 GB, free: 11.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001024/0.4696, allocations: 121.2 kB / 0.5063 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.924e-05/0.4697, allocations: 57.53 kB / 0.5063 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.131e-05/0.4698, allocations: 8.094 kB / 0.5064 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.4698, allocations: 4 kB / 0.5064 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4698, allocations: 3.938 kB / 0.5064 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.4698, allocations: 0 / 0.5064 GB, free: 11.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.4702, allocations: 322.6 kB / 0.5067 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.4703, allocations: 8.062 kB / 0.5067 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4704, allocations: 19.98 kB / 0.5067 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.4704, allocations: 0 / 0.5067 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4704, allocations: 96 / 0.5067 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.4704, allocations: 4 kB / 0.5067 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4705, allocations: 0 / 0.5067 GB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.4707, allocations: 205.9 kB / 0.5069 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.4708, allocations: 85.02 kB / 0.507 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.4709, allocations: 4 kB / 0.507 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.471, allocations: 4 kB / 0.507 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.471, allocations: 7.984 kB / 0.507 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.4711, allocations: 4 kB / 0.507 GB, free: 10.83 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.4711, allocations: 95.17 kB / 0.5071 GB, free: 10.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4711, allocations: 0 / 0.5071 GB, free: 10.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003171/0.4715, allocations: 15.98 kB / 0.5071 GB, free: 10.72 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: 5 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001337/0.4716, allocations: 107.1 kB / 0.5072 GB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001938/0.4718, allocations: 51.94 kB / 0.5073 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4718, allocations: 0 / 0.5073 GB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.677e-05/0.4719, allocations: 12 kB / 0.5073 GB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.4722, allocations: 28.33 kB / 0.5073 GB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.4726, allocations: 136 kB / 0.5074 GB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.4729, allocations: 0.7007 MB / 0.5081 GB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.4729, allocations: 11.44 kB / 0.5081 GB, free: 9.609 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.473, allocations: 0 / 0.5081 GB, free: 9.609 MB / 362.7 MB Notification: Performance of Templates: time 0.003089/0.4761, allocations: 0.9256 MB / 0.509 GB, free: 8.684 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)