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/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.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.0009903/0.0009905, allocations: 182.1 kB / 17.46 MB, free: 4.363 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.467/1.467, allocations: 205.4 MB / 223.6 MB, free: 8.945 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.0007218/0.0007218, allocations: 89.48 kB / 272 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06432/0.06432, allocations: 12.2 MB / 332.4 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 20 kB / 392.7 MB, free: 67.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07414/0.07456, allocations: 50.29 MB / 443 MB, free: 16.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2629/0.3375, allocations: 78.41 MB / 0.5092 GB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001864/0.3377, allocations: 60.19 kB / 0.5093 GB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00294/0.3406, allocations: 1.287 MB / 0.5105 GB, free: 12.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3407, allocations: 3.844 kB / 0.5105 GB, free: 12.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3407, allocations: 0 / 0.5105 GB, free: 12.59 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.000286/0.341, allocations: 358 kB / 0.5109 GB, free: 12.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.341, allocations: 11.59 kB / 0.5109 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.3411, allocations: 12.44 kB / 0.5109 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.3412, allocations: 183.4 kB / 0.5111 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3412, allocations: 8 kB / 0.5111 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3412, allocations: 8.188 kB / 0.5111 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.3415, allocations: 137 kB / 0.5112 GB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.3415, allocations: 3.969 kB / 0.5112 GB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3415, allocations: 3.938 kB / 0.5112 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3415, allocations: 0 / 0.5112 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.3416, allocations: 34.2 kB / 0.5112 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.342, allocations: 302.7 kB / 0.5115 GB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.3422, allocations: 155.2 kB / 0.5117 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.3422, allocations: 44.11 kB / 0.5117 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3423, allocations: 3.875 kB / 0.5117 GB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.3424, allocations: 62.14 kB / 0.5118 GB, free: 11.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.285e-06/0.3424, allocations: 0 / 0.5118 GB, free: 11.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002624/0.3427, allocations: 135.2 kB / 0.5119 GB, free: 11.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.3427, allocations: 81.02 kB / 0.512 GB, free: 11.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.474e-05/0.3428, allocations: 112.5 kB / 0.5121 GB, free: 11.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.3428, allocations: 29.64 kB / 0.5121 GB, free: 11.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.626e-05/0.3428, allocations: 98.25 kB / 0.5122 GB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.3429, allocations: 7.844 kB / 0.5122 GB, free: 10.97 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.3429, allocations: 3.812 kB / 0.5122 GB, free: 10.97 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.401e-05/0.3429, allocations: 322.6 kB / 0.5125 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.343, allocations: 27.33 kB / 0.5126 GB, free: 10.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.063e-05/0.343, allocations: 63.23 kB / 0.5126 GB, free: 10.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.3432, allocations: 86.02 kB / 0.5127 GB, free: 10.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3432, allocations: 0 / 0.5127 GB, free: 10.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001659/0.3433, allocations: 120.9 kB / 0.5128 GB, free: 10.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.3434, allocations: 7.594 kB / 0.5128 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3434, allocations: 1.969 kB / 0.5128 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.3434, allocations: 3.969 kB / 0.5128 GB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.3435, allocations: 18.8 kB / 0.5129 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3435, allocations: 3.812 kB / 0.5129 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.3435, allocations: 8.531 kB / 0.5129 GB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3436, allocations: 4.031 kB / 0.5129 GB, free: 10.46 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 5.951e-05/0.3436, allocations: 134 kB / 0.513 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.3437, allocations: 48.66 kB / 0.513 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.3437, allocations: 14.5 kB / 0.5131 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3437, allocations: 0 / 0.5131 GB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3437, allocations: 3.938 kB / 0.5131 GB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3437, allocations: 3.984 kB / 0.5131 GB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002424/0.344, allocations: 345.1 kB / 0.5134 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.344, allocations: 0 / 0.5134 GB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.3441, allocations: 15.77 kB / 0.5134 GB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.3441, allocations: 0 / 0.5134 GB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3441, allocations: 3.312 kB / 0.5134 GB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3441, allocations: 3.844 kB / 0.5134 GB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3441, allocations: 7.875 kB / 0.5134 GB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.3443, allocations: 204.6 kB / 0.5136 GB, free: 9.773 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.3443, allocations: 85.02 kB / 0.5137 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.3443, allocations: 0 / 0.5137 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.3444, allocations: 6.594 kB / 0.5137 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.3444, allocations: 11.8 kB / 0.5137 GB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3444, allocations: 0 / 0.5137 GB, free: 9.668 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.992e-05/0.3445, allocations: 90.61 kB / 0.5138 GB, free: 9.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3445, allocations: 4 kB / 0.5138 GB, free: 9.586 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000225/0.3447, allocations: 15.22 kB / 0.5138 GB, free: 9.586 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 8.104e-05/0.3448, allocations: 95.36 kB / 0.5139 GB, free: 9.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001651/0.345, allocations: 72.89 kB / 0.514 GB, free: 9.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.345, allocations: 0 / 0.514 GB, free: 9.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.163e-05/0.345, allocations: 27.27 kB / 0.514 GB, free: 9.473 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3453, allocations: 24.05 kB / 0.514 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.3456, allocations: 224.9 kB / 0.5142 GB, free: 9.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.3457, allocations: 0.6958 MB / 0.5149 GB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.3458, allocations: 15.28 kB / 0.5149 GB, free: 8.547 MB / 330.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3458, allocations: 3.938 kB / 0.5149 GB, free: 8.543 MB / 330.7 MB Notification: Performance of Templates: time 0.001746/0.3475, allocations: 0.9336 MB / 0.5159 GB, free: 8.074 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)