Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.00114/0.00114, allocations: 180.3 kB / 15.8 MB, free: 6.34 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.717/1.717, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.0009368/0.0009368, allocations: 86.86 kB / 270.3 MB, free: 13.35 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.08651/0.08651, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004358/0.0004358, allocations: 11.69 kB / 392 MB, free: 54.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1132, allocations: 50.37 MB / 442.4 MB, free: 10.95 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.2285, allocations: 78.46 MB / 0.5086 GB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.2288, allocations: 59.98 kB / 0.5087 GB, free: 12.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003514/0.2323, allocations: 1.281 MB / 0.5099 GB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2323, allocations: 0 / 0.5099 GB, free: 11.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2323, allocations: 0 / 0.5099 GB, free: 11.04 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.0004344/0.2328, allocations: 363.1 kB / 0.5103 GB, free: 10.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.2328, allocations: 8.031 kB / 0.5103 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.2329, allocations: 15.91 kB / 0.5103 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.2331, allocations: 182.9 kB / 0.5105 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.2331, allocations: 15.95 kB / 0.5105 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.2331, allocations: 4 kB / 0.5105 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.2334, allocations: 134.7 kB / 0.5106 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2335, allocations: 0 / 0.5106 GB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.2335, allocations: 8 kB / 0.5106 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.2335, allocations: 0 / 0.5106 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.2336, allocations: 35.97 kB / 0.5107 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.2341, allocations: 301.6 kB / 0.5109 GB, free: 9.832 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.2343, allocations: 158.4 kB / 0.5111 GB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.2344, allocations: 0 / 0.5111 GB, free: 9.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001554/0.2345, allocations: 75.42 kB / 0.5112 GB, free: 9.555 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/0.2345, allocations: 0 / 0.5112 GB, free: 9.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003049/0.2349, allocations: 117.5 kB / 0.5113 GB, free: 9.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.2349, allocations: 81.11 kB / 0.5114 GB, free: 9.336 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.235, allocations: 105.1 kB / 0.5115 GB, free: 9.223 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.235, allocations: 33.7 kB / 0.5115 GB, free: 9.184 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.2351, allocations: 92.31 kB / 0.5116 GB, free: 9.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.2351, allocations: 15.81 kB / 0.5116 GB, free: 9.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.2351, allocations: 0 / 0.5116 GB, free: 9.074 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2353, allocations: 326.8 kB / 0.5119 GB, free: 8.746 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.06e-05/0.2353, allocations: 19.98 kB / 0.5119 GB, free: 8.727 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.2354, allocations: 65.08 kB / 0.512 GB, free: 8.645 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.904e-05/0.2355, allocations: 31.98 kB / 0.512 GB, free: 8.613 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2355, allocations: 0 / 0.512 GB, free: 8.613 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002145/0.2357, allocations: 117.5 kB / 0.5121 GB, free: 8.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.2358, allocations: 11.94 kB / 0.5121 GB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2358, allocations: 0 / 0.5121 GB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2358, allocations: 0 / 0.5121 GB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.2359, allocations: 15.98 kB / 0.5121 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.2359, allocations: 7.938 kB / 0.5122 GB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.956e-05/0.236, allocations: 4 kB / 0.5122 GB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.236, allocations: 12.16 kB / 0.5122 GB, free: 8.441 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 () * 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.0001154/0.2361, allocations: 125.5 kB / 0.5123 GB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.154e-05/0.2362, allocations: 53.59 kB / 0.5123 GB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.2363, allocations: 11.95 kB / 0.5124 GB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2363, allocations: 3.938 kB / 0.5124 GB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.2363, allocations: 4 kB / 0.5124 GB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.2363, allocations: 0 / 0.5124 GB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.2367, allocations: 342.9 kB / 0.5127 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2367, allocations: 0 / 0.5127 GB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.2368, allocations: 19.92 kB / 0.5127 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2368, allocations: 0 / 0.5127 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2368, allocations: 4 kB / 0.5127 GB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2368, allocations: 0 / 0.5127 GB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2368, allocations: 4 kB / 0.5127 GB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.2371, allocations: 214.5 kB / 0.5129 GB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.2372, allocations: 85.02 kB / 0.513 GB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.2372, allocations: 4 kB / 0.513 GB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.149e-05/0.2373, allocations: 8.078 kB / 0.513 GB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.2373, allocations: 11.92 kB / 0.513 GB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.2373, allocations: 4 kB / 0.513 GB, free: 7.445 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.85e-05/0.2374, allocations: 91.27 kB / 0.5131 GB, free: 7.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2374, allocations: 0 / 0.5131 GB, free: 7.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.2377, allocations: 19.95 kB / 0.5131 GB, free: 7.336 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) * 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.0001169/0.2378, allocations: 95.25 kB / 0.5132 GB, free: 7.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.238, allocations: 71.84 kB / 0.5133 GB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.238, allocations: 4.312 kB / 0.5133 GB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.79e-05/0.2381, allocations: 23.98 kB / 0.5133 GB, free: 7.137 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.2383, allocations: 19.75 kB / 0.5133 GB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.2387, allocations: 206.2 kB / 0.5135 GB, free: 6.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.2391, allocations: 0.6938 MB / 0.5142 GB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.424e-05/0.2391, allocations: 7.938 kB / 0.5142 GB, free: 6.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.2392, allocations: 15.44 kB / 0.5142 GB, free: 6.145 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2392, allocations: 0 / 0.5142 GB, free: 6.145 MB / 362.7 MB Notification: Performance of Templates: time 0.002673/0.2418, allocations: 0.5661 MB / 0.5148 GB, free: 5.582 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)