Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.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.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002375/0.002379, allocations: 187.1 kB / 13.7 MB, free: 1.625 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.051/2.051, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001062/0.001061, allocations: 90.62 kB / 267.5 MB, free: 14.11 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.09678/0.09678, allocations: 12.6 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.588e-05, allocations: 4 kB / 386 MB, free: 1.305 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3034, allocations: 50.36 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.4433, allocations: 80.17 MB / 0.5044 GB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002451/0.4437, allocations: 59.97 kB / 0.5045 GB, free: 13.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02873/0.4724, allocations: 6.208 MB / 0.5105 GB, free: 7.602 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4725, allocations: 0 / 0.5105 GB, free: 7.602 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.31e-05/0.4725, allocations: 4 kB / 0.5105 GB, free: 7.598 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001024/0.4735, allocations: 0.5137 MB / 0.511 GB, free: 7.039 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.4736, allocations: 15.95 kB / 0.511 GB, free: 7.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4737, allocations: 31.62 kB / 0.5111 GB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008392/0.4746, allocations: 338.5 kB / 0.5114 GB, free: 6.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.4746, allocations: 16.44 kB / 0.5114 GB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.4747, allocations: 16 kB / 0.5114 GB, free: 6.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.476, allocations: 0.5679 MB / 0.512 GB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.4761, allocations: 7.984 kB / 0.512 GB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.308e-05/0.4761, allocations: 12 kB / 0.512 GB, free: 5.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.4761, allocations: 4 kB / 0.512 GB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.4765, allocations: 108.2 kB / 0.5121 GB, free: 5.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009269/0.4775, allocations: 0.5375 MB / 0.5126 GB, free: 5.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009096/0.4784, allocations: 489.1 kB / 0.5131 GB, free: 4.699 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004557/0.4789, allocations: 208.5 kB / 0.5133 GB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008238/0.4797, allocations: 0.5778 MB / 0.5139 GB, free: 3.773 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.4798, allocations: 46.72 kB / 0.5139 GB, free: 3.719 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.527e-06/0.4798, allocations: 0 / 0.5139 GB, free: 3.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008924/0.4807, allocations: 296.1 kB / 0.5142 GB, free: 3.426 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001635/0.4809, allocations: 182.2 kB / 0.5144 GB, free: 3.211 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.4812, allocations: 193.1 kB / 0.5145 GB, free: 3.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.4813, allocations: 33.7 kB / 0.5146 GB, free: 2.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.4814, allocations: 195.2 kB / 0.5148 GB, free: 2.789 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.4815, allocations: 23.89 kB / 0.5148 GB, free: 2.766 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.4815, allocations: 12 kB / 0.5148 GB, free: 2.754 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4817, allocations: 326.8 kB / 0.5151 GB, free: 2.426 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.4819, allocations: 52.88 kB / 0.5152 GB, free: 2.371 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.4823, allocations: 326.1 kB / 0.5155 GB, free: 1.922 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.4826, allocations: 119.9 kB / 0.5156 GB, free: 1.805 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.483e-06/0.4826, allocations: 0 / 0.5156 GB, free: 1.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008233/0.4835, allocations: 369.2 kB / 0.5159 GB, free: 1.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.4835, allocations: 8 kB / 0.5159 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.4835, allocations: 8 kB / 0.5159 GB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.044e-05/0.4836, allocations: 19.95 kB / 0.516 GB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005194/0.4841, allocations: 91.83 kB / 0.5161 GB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.971e-05/0.4842, allocations: 16.5 kB / 0.5161 GB, free: 1.297 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.4845, allocations: 43.67 kB / 0.5161 GB, free: 1.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.4846, allocations: 28 kB / 0.5161 GB, free: 1.227 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 6 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.sample1.noise.seedState[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0002139/0.4848, allocations: 140.5 kB / 0.5163 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006997/0.4855, allocations: 265.1 kB / 0.5165 GB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007643/0.4863, allocations: 284.5 kB / 0.5168 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.4863, allocations: 4 kB / 0.5168 GB, free: 0.5234 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.4863, allocations: 3.953 kB / 0.5168 GB, free: 0.5195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.4864, allocations: 8.094 kB / 0.5168 GB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.4869, allocations: 297.2 kB / 0.5171 GB, free: 176 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/0.4869, allocations: 11.92 kB / 0.5171 GB, free: 164 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/0.4875, allocations: 83.89 kB / 0.5172 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.4876, allocations: 0 / 0.5172 GB, free: 80 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.4876, allocations: 15.92 kB / 0.5172 GB, free: 64 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.4876, allocations: 4 kB / 0.5172 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4876, allocations: 0 / 0.5172 GB, free: 60 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3038/0.7915, allocations: 0.5011 MB / 0.5177 GB, free: 86.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.671e-05/0.7916, allocations: 110.4 kB / 0.5178 GB, free: 86.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.7917, allocations: 13.91 kB / 0.5178 GB, free: 86.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.7921, allocations: 25.08 kB / 0.5178 GB, free: 86.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.7922, allocations: 4.172 kB / 0.5178 GB, free: 86.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.465e-05/0.7923, allocations: 15.61 kB / 0.5179 GB, free: 86.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002411/0.7925, allocations: 164.8 kB / 0.518 GB, free: 86.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-07/0.7925, allocations: 0 / 0.518 GB, free: 86.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006502/0.7932, allocations: 63.23 kB / 0.5181 GB, free: 86.46 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000241/0.7934, allocations: 118.8 kB / 0.5182 GB, free: 86.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006655/0.7941, allocations: 248.8 kB / 0.5184 GB, free: 86.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7941, allocations: 1.719 kB / 0.5184 GB, free: 86.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.822e-05/0.7942, allocations: 10.05 kB / 0.5184 GB, free: 86.37 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.7953, allocations: 225.9 kB / 0.5186 GB, free: 86.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.7969, allocations: 435.5 kB / 0.5191 GB, free: 86.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.7973, allocations: 0.7972 MB / 0.5198 GB, free: 85.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.7974, allocations: 28.36 kB / 0.5199 GB, free: 85.45 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7974, allocations: 0 / 0.5199 GB, free: 85.45 MB / 362.7 MB Notification: Performance of Templates: time 0.01045/0.8079, allocations: 3.522 MB / 0.5233 GB, free: 85.27 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe 2>&1)