Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.001105/0.001105, allocations: 180.7 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.684/1.684, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.000961/0.0009611, allocations: 82.88 kB / 270.3 MB, free: 13.36 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.07849/0.07849, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 15.38 kB / 392 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 50.37 MB / 442.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1174/0.2372, allocations: 78.58 MB / 0.5087 GB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.2375, allocations: 59.98 kB / 0.5088 GB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009978/0.2476, allocations: 3.144 MB / 0.5119 GB, free: 9.016 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2476, allocations: 0 / 0.5119 GB, free: 9.016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.863e-05/0.2476, allocations: 4 kB / 0.5119 GB, free: 9.012 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.0006259/0.2482, allocations: 438.7 kB / 0.5123 GB, free: 8.535 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.2483, allocations: 8.031 kB / 0.5123 GB, free: 8.527 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.941e-05/0.2484, allocations: 15.81 kB / 0.5123 GB, free: 8.512 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.2487, allocations: 234.8 kB / 0.5125 GB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.2487, allocations: 11.94 kB / 0.5125 GB, free: 8.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.2488, allocations: 12 kB / 0.5126 GB, free: 8.219 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.2494, allocations: 339.3 kB / 0.5129 GB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2494, allocations: 0 / 0.5129 GB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.2495, allocations: 8 kB / 0.5129 GB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2495, allocations: 0 / 0.5129 GB, free: 7.855 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000256/0.2498, allocations: 127.8 kB / 0.513 GB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006953/0.2505, allocations: 462.4 kB / 0.5134 GB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.251, allocations: 239.6 kB / 0.5137 GB, free: 6.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.251, allocations: 4.062 kB / 0.5137 GB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.251, allocations: 38.56 kB / 0.5137 GB, free: 6.898 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.251, allocations: 3.938 kB / 0.5137 GB, free: 6.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006042/0.2517, allocations: 279.8 kB / 0.514 GB, free: 6.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.2518, allocations: 152.5 kB / 0.5141 GB, free: 6.438 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2519, allocations: 137.4 kB / 0.5143 GB, free: 6.289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.2519, allocations: 29.7 kB / 0.5143 GB, free: 6.254 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.252, allocations: 119.9 kB / 0.5144 GB, free: 6.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.252, allocations: 11.98 kB / 0.5144 GB, free: 6.121 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.252, allocations: 0 / 0.5144 GB, free: 6.121 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2522, allocations: 330.8 kB / 0.5147 GB, free: 5.789 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.2523, allocations: 39.97 kB / 0.5148 GB, free: 5.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.2525, allocations: 155.3 kB / 0.5149 GB, free: 5.543 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.2526, allocations: 67.91 kB / 0.515 GB, free: 5.477 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2526, allocations: 0 / 0.515 GB, free: 5.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003589/0.253, allocations: 209.5 kB / 0.5152 GB, free: 5.266 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.253, allocations: 10.97 kB / 0.5152 GB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.253, allocations: 7.984 kB / 0.5152 GB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.253, allocations: 4 kB / 0.5152 GB, free: 5.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2532, allocations: 43.88 kB / 0.5152 GB, free: 5.203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.2532, allocations: 7.938 kB / 0.5153 GB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001035/0.2533, allocations: 27.89 kB / 0.5153 GB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.2533, allocations: 12.22 kB / 0.5153 GB, free: 5.156 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 () * Number of clocked 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.0001378/0.2535, allocations: 149.5 kB / 0.5154 GB, free: 5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.2537, allocations: 161.4 kB / 0.5156 GB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.321e-05/0.2538, allocations: 20.84 kB / 0.5156 GB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.2538, allocations: 0 / 0.5156 GB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.2538, allocations: 7.953 kB / 0.5156 GB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.2538, allocations: 0 / 0.5156 GB, free: 4.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002629/0.2541, allocations: 213.5 kB / 0.5158 GB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2541, allocations: 3.938 kB / 0.5158 GB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.2543, allocations: 36.02 kB / 0.5159 GB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.2543, allocations: 7.984 kB / 0.5159 GB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.2543, allocations: 4 kB / 0.5159 GB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.2543, allocations: 4 kB / 0.5159 GB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2543, allocations: 0 / 0.5159 GB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.2548, allocations: 433.2 kB / 0.5163 GB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.166e-05/0.2549, allocations: 96.86 kB / 0.5164 GB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.2549, allocations: 12 kB / 0.5164 GB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.255, allocations: 4 kB / 0.5164 GB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.639e-05/0.2551, allocations: 7.984 kB / 0.5164 GB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.2551, allocations: 8 kB / 0.5164 GB, free: 3.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.412e-05/0.2552, allocations: 111.2 kB / 0.5165 GB, free: 3.773 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2552, allocations: 0 / 0.5165 GB, free: 3.773 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.2555, allocations: 23.94 kB / 0.5165 GB, free: 3.75 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 () * Number of clocked 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.0001102/0.2556, allocations: 107.2 kB / 0.5166 GB, free: 3.637 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003277/0.256, allocations: 152.7 kB / 0.5168 GB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.256, allocations: 0 / 0.5168 GB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.067e-05/0.256, allocations: 28.11 kB / 0.5168 GB, free: 3.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.2565, allocations: 113.5 kB / 0.5169 GB, free: 3.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.2572, allocations: 398.7 kB / 0.5173 GB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.2575, allocations: 0.7516 MB / 0.518 GB, free: 2.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.076e-05/0.2576, allocations: 17.42 kB / 0.5181 GB, free: 2.125 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.332e-05/0.2577, allocations: 11.44 kB / 0.5181 GB, free: 2.113 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2577, allocations: 0 / 0.5181 GB, free: 2.113 MB / 362.7 MB Notification: Performance of Templates: time 0.003861/0.2615, allocations: 1.165 MB / 0.5192 GB, free: 0.9531 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)