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.001552/0.001552, allocations: 186 kB / 16.44 MB, free: 5.672 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.956/1.956, allocations: 205.4 MB / 222.6 MB, free: 9.121 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.001122/0.001122, allocations: 96.05 kB / 270.9 MB, free: 8.375 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.1009/0.1009, allocations: 12.59 MB / 331.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000563/0.0005626, allocations: 16 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09132/0.09192, allocations: 50.37 MB / 442.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.5209, allocations: 78.45 MB / 0.5086 GB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.5212, allocations: 62.42 kB / 0.5086 GB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004701/0.5259, allocations: 1.281 MB / 0.5099 GB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5259, allocations: 0 / 0.5099 GB, free: 12.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.526, allocations: 3.906 kB / 0.5099 GB, free: 12.29 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004216/0.5264, allocations: 366.2 kB / 0.5102 GB, free: 11.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5264, allocations: 7.688 kB / 0.5103 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.5265, allocations: 11.03 kB / 0.5103 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.5267, allocations: 178 kB / 0.5104 GB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.5267, allocations: 7.828 kB / 0.5104 GB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.5267, allocations: 11.78 kB / 0.5105 GB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003407/0.5271, allocations: 137.5 kB / 0.5106 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.5271, allocations: 0 / 0.5106 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.5271, allocations: 3.75 kB / 0.5106 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.5271, allocations: 0 / 0.5106 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001643/0.5273, allocations: 37.81 kB / 0.5106 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004821/0.5278, allocations: 305.4 kB / 0.5109 GB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.5281, allocations: 150.8 kB / 0.5111 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.5281, allocations: 4 kB / 0.5111 GB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.5283, allocations: 69.8 kB / 0.5111 GB, free: 11.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.5283, allocations: 0 / 0.5111 GB, free: 11.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004086/0.5287, allocations: 127.6 kB / 0.5113 GB, free: 11.03 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.5288, allocations: 83.19 kB / 0.5113 GB, free: 10.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.479e-05/0.5289, allocations: 108 kB / 0.5114 GB, free: 10.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.5289, allocations: 25.7 kB / 0.5115 GB, free: 10.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.363e-05/0.529, allocations: 154.2 kB / 0.5116 GB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.529, allocations: 18.67 kB / 0.5116 GB, free: 10.64 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.529, allocations: 3.5 kB / 0.5116 GB, free: 10.64 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.5291, allocations: 319 kB / 0.5119 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.475e-05/0.5292, allocations: 26.83 kB / 0.512 GB, free: 10.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.5293, allocations: 59.97 kB / 0.512 GB, free: 10.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.5294, allocations: 34.89 kB / 0.512 GB, free: 10.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5294, allocations: 3.938 kB / 0.5121 GB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000278/0.5297, allocations: 114.8 kB / 0.5122 GB, free: 10.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5298, allocations: 3.844 kB / 0.5122 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.5298, allocations: 7.797 kB / 0.5122 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.5298, allocations: 6.125 kB / 0.5122 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.5299, allocations: 11.53 kB / 0.5122 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.53, allocations: 0 / 0.5122 GB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.5301, allocations: 18.73 kB / 0.5122 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.5301, allocations: 3.875 kB / 0.5122 GB, free: 10.19 MB / 330.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 () * Number of clocked states: 1 (ClockedRealToTrigger.y2) * 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.0001186/0.5302, allocations: 125.1 kB / 0.5123 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.5303, allocations: 52.56 kB / 0.5124 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.979e-05/0.5303, allocations: 7.781 kB / 0.5124 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5304, allocations: 7.922 kB / 0.5124 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5304, allocations: 0 / 0.5124 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5304, allocations: 0 / 0.5124 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.5308, allocations: 348.5 kB / 0.5127 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5308, allocations: 0 / 0.5127 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.99e-05/0.5309, allocations: 7.688 kB / 0.5127 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.531, allocations: 3.875 kB / 0.5127 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.531, allocations: 7.984 kB / 0.5127 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.531, allocations: 3.938 kB / 0.5128 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.531, allocations: 0.875 kB / 0.5128 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002764/0.5313, allocations: 221.5 kB / 0.513 GB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.5313, allocations: 92.94 kB / 0.5131 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.5314, allocations: 3.812 kB / 0.5131 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.5315, allocations: 3.906 kB / 0.5131 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.5315, allocations: 0 / 0.5131 GB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.5316, allocations: 12.05 kB / 0.5131 GB, free: 9.387 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.664e-05/0.5316, allocations: 90.69 kB / 0.5132 GB, free: 9.309 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5316, allocations: 0 / 0.5132 GB, free: 9.309 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003221/0.532, allocations: 15.39 kB / 0.5132 GB, free: 9.305 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: 5 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Number of clocked states: 1 (ClockedRealToTrigger.y2) * 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.0001093/0.5321, allocations: 99.42 kB / 0.5133 GB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.5323, allocations: 73.56 kB / 0.5133 GB, free: 9.195 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5324, allocations: 0 / 0.5133 GB, free: 9.195 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.161e-05/0.5325, allocations: 22.19 kB / 0.5134 GB, free: 9.191 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.5327, allocations: 32.78 kB / 0.5134 GB, free: 9.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.5332, allocations: 223.1 kB / 0.5136 GB, free: 8.977 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.5333, allocations: 0.6959 MB / 0.5143 GB, free: 8.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.5334, allocations: 11.28 kB / 0.5143 GB, free: 8.262 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.5334, allocations: 0 / 0.5143 GB, free: 8.262 MB / 330.7 MB Notification: Performance of Templates: time 0.002788/0.5362, allocations: 0.9209 MB / 0.5152 GB, free: 7.805 MB / 330.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)