Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001564/0.001564, allocations: 185.9 kB / 16.44 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 222.6 MB, free: 9.117 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.001114/0.001114, allocations: 95.48 kB / 270.9 MB, free: 8.367 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.101/0.101, allocations: 12.59 MB / 331.8 MB, free: 11.4 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000557/0.0005568, allocations: 16 kB / 392 MB, free: 66.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08959/0.09017, allocations: 50.37 MB / 442.3 MB, free: 16.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4349/0.5251, allocations: 78.58 MB / 0.5087 GB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.5254, allocations: 60.69 kB / 0.5088 GB, free: 12.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01274/0.5381, allocations: 3.145 MB / 0.5118 GB, free: 11.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5382, allocations: 0 / 0.5118 GB, free: 11.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.886e-05/0.5382, allocations: 11.62 kB / 0.5119 GB, free: 11.65 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.0005864/0.5388, allocations: 419 kB / 0.5123 GB, free: 11.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.5389, allocations: 19.62 kB / 0.5123 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.5389, allocations: 15.5 kB / 0.5123 GB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.5392, allocations: 228.1 kB / 0.5125 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.5393, allocations: 14.66 kB / 0.5125 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.5393, allocations: 11.62 kB / 0.5125 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007901/0.5401, allocations: 346.1 kB / 0.5129 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5401, allocations: 0 / 0.5129 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.5402, allocations: 3.5 kB / 0.5129 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.5402, allocations: 3.844 kB / 0.5129 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.5406, allocations: 120.6 kB / 0.513 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000683/0.5413, allocations: 470.4 kB / 0.5134 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005748/0.5419, allocations: 236.5 kB / 0.5137 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.5419, allocations: 7.547 kB / 0.5137 GB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.542, allocations: 42.28 kB / 0.5137 GB, free: 10.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/0.542, allocations: 0 / 0.5137 GB, free: 10.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=18): time 0.0008479/0.5428, allocations: 281.2 kB / 0.514 GB, free: 10.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.5429, allocations: 144.5 kB / 0.5141 GB, free: 9.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.543, allocations: 139.1 kB / 0.5142 GB, free: 9.816 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.5431, allocations: 29.58 kB / 0.5143 GB, free: 9.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/0.5431, allocations: 180.6 kB / 0.5144 GB, free: 9.621 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.69e-05/0.5432, allocations: 7.688 kB / 0.5144 GB, free: 9.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.5432, allocations: 0 / 0.5144 GB, free: 9.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.5433, allocations: 322.4 kB / 0.5148 GB, free: 9.305 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.5434, allocations: 46.19 kB / 0.5148 GB, free: 9.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.5437, allocations: 156.7 kB / 0.5149 GB, free: 9.129 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002007/0.5439, allocations: 65 kB / 0.515 GB, free: 9.113 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.5439, allocations: 3.906 kB / 0.515 GB, free: 9.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004947/0.5444, allocations: 202.5 kB / 0.5152 GB, free: 9.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.5444, allocations: 7.5 kB / 0.5152 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.5444, allocations: 3.875 kB / 0.5152 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.5445, allocations: 7.75 kB / 0.5152 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.5447, allocations: 41.5 kB / 0.5153 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.5447, allocations: 15.64 kB / 0.5153 GB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001497/0.5449, allocations: 18 kB / 0.5153 GB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.5449, allocations: 19.73 kB / 0.5153 GB, free: 8.988 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.0001388/0.5451, allocations: 148.4 kB / 0.5155 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.5454, allocations: 156.4 kB / 0.5156 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.387e-05/0.5455, allocations: 22.97 kB / 0.5156 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5455, allocations: 3.844 kB / 0.5156 GB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5455, allocations: 7.891 kB / 0.5156 GB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5456, allocations: 7.828 kB / 0.5156 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002817/0.5458, allocations: 209.7 kB / 0.5158 GB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.5459, allocations: 0 / 0.5158 GB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/0.5461, allocations: 46.62 kB / 0.5159 GB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.5462, allocations: 0 / 0.5159 GB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.5462, allocations: 7.75 kB / 0.5159 GB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.5462, allocations: 0 / 0.5159 GB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5462, allocations: 0 / 0.5159 GB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.5468, allocations: 429.6 kB / 0.5163 GB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.5468, allocations: 103.8 kB / 0.5164 GB, free: 8.121 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.5469, allocations: 4 kB / 0.5164 GB, free: 8.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.5471, allocations: 15.61 kB / 0.5164 GB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.5472, allocations: 0 / 0.5164 GB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.5472, allocations: 7.688 kB / 0.5164 GB, free: 8.113 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.777e-05/0.5473, allocations: 109.5 kB / 0.5165 GB, free: 8.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5473, allocations: 0 / 0.5165 GB, free: 8.031 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004306/0.5477, allocations: 23.03 kB / 0.5166 GB, free: 8.031 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.0001053/0.5478, allocations: 106.2 kB / 0.5167 GB, free: 7.938 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004767/0.5483, allocations: 157.5 kB / 0.5168 GB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5483, allocations: 3.938 kB / 0.5168 GB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.5485, allocations: 23.3 kB / 0.5168 GB, free: 7.883 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.549, allocations: 107.6 kB / 0.5169 GB, free: 7.855 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/0.5499, allocations: 434.8 kB / 0.5174 GB, free: 7.539 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.5501, allocations: 0.7488 MB / 0.5181 GB, free: 6.809 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.231e-05/0.5502, allocations: 18.88 kB / 0.5181 GB, free: 6.805 MB / 330.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5502, allocations: 0 / 0.5181 GB, free: 6.805 MB / 330.7 MB Notification: Performance of Templates: time 0.004236/0.5544, allocations: 1.723 MB / 0.5198 GB, free: 5.953 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)