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.001193/0.001193, allocations: 171.9 kB / 16.8 MB, free: 5.027 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.618/1.618, allocations: 205.4 MB / 223 MB, free: 9.027 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.0008442/0.0008443, allocations: 90.34 kB / 271.3 MB, free: 8.25 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.08462/0.08462, allocations: 12.6 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004365, allocations: 12 kB / 393.2 MB, free: 65.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.109, allocations: 50.38 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3919/0.5009, allocations: 78.6 MB / 0.51 GB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002047/0.5012, allocations: 58.89 kB / 0.51 GB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008377/0.5096, allocations: 3.149 MB / 0.5131 GB, free: 12.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5097, allocations: 0 / 0.5131 GB, free: 12.09 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.5097, allocations: 7.875 kB / 0.5131 GB, free: 12.09 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007103/0.5104, allocations: 420.3 kB / 0.5135 GB, free: 11.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.5105, allocations: 7.719 kB / 0.5135 GB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.5106, allocations: 24.42 kB / 0.5135 GB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.5111, allocations: 236.7 kB / 0.5138 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.5111, allocations: 14.94 kB / 0.5138 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.119e-05/0.5112, allocations: 11.94 kB / 0.5138 GB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.512, allocations: 352.1 kB / 0.5141 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.512, allocations: 0 / 0.5141 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.5121, allocations: 2.875 kB / 0.5141 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.5121, allocations: 3.594 kB / 0.5141 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.5124, allocations: 120.6 kB / 0.5142 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007629/0.5132, allocations: 465.5 kB / 0.5147 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004714/0.5136, allocations: 238.3 kB / 0.5149 GB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002172/0.5139, allocations: 127.3 kB / 0.515 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.5139, allocations: 3.906 kB / 0.515 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.514, allocations: 41.55 kB / 0.5151 GB, free: 10.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 2.845e-06/0.514, allocations: 0 / 0.5151 GB, free: 10.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006208/0.5146, allocations: 276.6 kB / 0.5153 GB, free: 10.48 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.5147, allocations: 146.5 kB / 0.5155 GB, free: 10.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.5149, allocations: 149.7 kB / 0.5156 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.5149, allocations: 37.5 kB / 0.5157 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.515, allocations: 111.4 kB / 0.5158 GB, free: 10.07 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.515, allocations: 18.7 kB / 0.5158 GB, free: 10.05 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.254e-06/0.515, allocations: 3.562 kB / 0.5158 GB, free: 10.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5152, allocations: 329.6 kB / 0.5161 GB, free: 9.734 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.841e-05/0.5153, allocations: 38.09 kB / 0.5161 GB, free: 9.727 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.5154, allocations: 160.8 kB / 0.5163 GB, free: 9.566 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.5157, allocations: 213.8 kB / 0.5165 GB, free: 9.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5157, allocations: 0 / 0.5165 GB, free: 9.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003208/0.516, allocations: 207.7 kB / 0.5167 GB, free: 9.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.5161, allocations: 3.812 kB / 0.5167 GB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.5161, allocations: 7.672 kB / 0.5167 GB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.5161, allocations: 11.47 kB / 0.5167 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.5162, allocations: 46.2 kB / 0.5168 GB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.5162, allocations: 11.58 kB / 0.5168 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.319e-05/0.5163, allocations: 27.02 kB / 0.5168 GB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.5164, allocations: 7.719 kB / 0.5168 GB, free: 9.254 MB / 330.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.0001018/0.5165, allocations: 140.9 kB / 0.5169 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.5167, allocations: 170.8 kB / 0.5171 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/0.5168, allocations: 21.41 kB / 0.5171 GB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.5168, allocations: 7.969 kB / 0.5171 GB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5168, allocations: 7.844 kB / 0.5171 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5168, allocations: 0 / 0.5171 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.517, allocations: 210.3 kB / 0.5173 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.517, allocations: 0 / 0.5173 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.5172, allocations: 42.23 kB / 0.5174 GB, free: 8.816 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.5172, allocations: 3.984 kB / 0.5174 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.5172, allocations: 3.875 kB / 0.5174 GB, free: 8.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5172, allocations: 3.938 kB / 0.5174 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5172, allocations: 3.844 kB / 0.5174 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.5176, allocations: 390 kB / 0.5178 GB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.5177, allocations: 104.1 kB / 0.5179 GB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.5177, allocations: 0 / 0.5179 GB, free: 8.434 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.5178, allocations: 18.73 kB / 0.5179 GB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.184e-05/0.5179, allocations: 7.703 kB / 0.5179 GB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.5179, allocations: 3.781 kB / 0.5179 GB, free: 8.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.994e-05/0.518, allocations: 113.3 kB / 0.518 GB, free: 8.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.518, allocations: 0 / 0.518 GB, free: 8.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003261/0.5183, allocations: 26.78 kB / 0.518 GB, free: 8.332 MB / 330.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.0001051/0.5184, allocations: 106.5 kB / 0.5181 GB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.5187, allocations: 146.2 kB / 0.5183 GB, free: 8.207 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5187, allocations: 8.062 kB / 0.5183 GB, free: 8.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.5188, allocations: 19.48 kB / 0.5183 GB, free: 8.195 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000538/0.5193, allocations: 111.9 kB / 0.5184 GB, free: 8.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000606/0.52, allocations: 405.1 kB / 0.5188 GB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.5202, allocations: 0.7429 MB / 0.5195 GB, free: 7.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.537e-05/0.5203, allocations: 17.42 kB / 0.5195 GB, free: 7.051 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.5203, allocations: 11.44 kB / 0.5195 GB, free: 7.039 MB / 330.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5203, allocations: 0 / 0.5195 GB, free: 7.039 MB / 330.7 MB Notification: Performance of Templates: time 0.003775/0.5241, allocations: 1.18 MB / 0.5207 GB, free: 5.879 MB / 330.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)