Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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.001041/0.001041, allocations: 181.9 kB / 13.23 MB, free: 2.086 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.549/1.549, allocations: 205.2 MB / 219 MB, free: 9.207 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.0009344/0.0009343, allocations: 92.81 kB / 267.1 MB, free: 9.277 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.08822/0.08822, allocations: 12.59 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.077e-05/5.101e-05, allocations: 4 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.133, allocations: 50.38 MB / 436.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5757, allocations: 80.15 MB / 0.5044 GB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.576, allocations: 57.17 kB / 0.5045 GB, free: 11.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01574/0.5918, allocations: 6.214 MB / 0.5105 GB, free: 9.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5918, allocations: 0 / 0.5105 GB, free: 9.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.287e-05/0.5918, allocations: 7.688 kB / 0.5105 GB, free: 9.836 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.000708/0.5926, allocations: 0.5206 MB / 0.511 GB, free: 9.367 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.5926, allocations: 7.75 kB / 0.5111 GB, free: 9.367 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.5927, allocations: 30.91 kB / 0.5111 GB, free: 9.352 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.5933, allocations: 335 kB / 0.5114 GB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.5933, allocations: 27.19 kB / 0.5114 GB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.5933, allocations: 19.47 kB / 0.5114 GB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.5942, allocations: 0.565 MB / 0.512 GB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5942, allocations: 0 / 0.512 GB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.5942, allocations: 5.812 kB / 0.512 GB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.5943, allocations: 11.62 kB / 0.512 GB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.5945, allocations: 112.4 kB / 0.5121 GB, free: 8.824 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.5951, allocations: 0.5331 MB / 0.5126 GB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.5956, allocations: 485.6 kB / 0.5131 GB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.5958, allocations: 212.3 kB / 0.5133 GB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/0.5963, allocations: 0.5829 MB / 0.5139 GB, free: 7.332 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.5964, allocations: 37.67 kB / 0.5139 GB, free: 7.293 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 1.703e-06/0.5964, allocations: 4 kB / 0.5139 GB, free: 7.289 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.0004809/0.5969, allocations: 300.3 kB / 0.5142 GB, free: 7.199 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.04e-05/0.597, allocations: 176.2 kB / 0.5144 GB, free: 7.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.5972, allocations: 197.6 kB / 0.5146 GB, free: 6.902 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.5972, allocations: 35.8 kB / 0.5146 GB, free: 6.871 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.5973, allocations: 131.6 kB / 0.5147 GB, free: 6.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.5973, allocations: 29.62 kB / 0.5148 GB, free: 6.766 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.5973, allocations: 10.88 kB / 0.5148 GB, free: 6.762 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.5974, allocations: 340.2 kB / 0.5151 GB, free: 6.441 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.217e-05/0.5975, allocations: 55.33 kB / 0.5151 GB, free: 6.434 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.5977, allocations: 325 kB / 0.5154 GB, free: 6.066 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.5979, allocations: 122.8 kB / 0.5156 GB, free: 6.027 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5979, allocations: 0 / 0.5156 GB, free: 6.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004211/0.5983, allocations: 380.8 kB / 0.5159 GB, free: 5.883 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.5983, allocations: 11.47 kB / 0.5159 GB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5983, allocations: 7.719 kB / 0.5159 GB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.5984, allocations: 19.39 kB / 0.516 GB, free: 5.879 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.5986, allocations: 88.5 kB / 0.5161 GB, free: 5.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.5986, allocations: 23.39 kB / 0.5161 GB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001711/0.5988, allocations: 30.75 kB / 0.5161 GB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.5989, allocations: 27 kB / 0.5161 GB, free: 5.84 MB / 330.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.000177/0.599, allocations: 158.8 kB / 0.5163 GB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.5994, allocations: 266.6 kB / 0.5165 GB, free: 5.633 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004286/0.5999, allocations: 278.7 kB / 0.5168 GB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5999, allocations: 7.688 kB / 0.5168 GB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.5999, allocations: 3.953 kB / 0.5168 GB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.5999, allocations: 3.984 kB / 0.5168 GB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003343/0.6003, allocations: 302.2 kB / 0.5171 GB, free: 5.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.6003, allocations: 4 kB / 0.5171 GB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.6005, allocations: 81.08 kB / 0.5172 GB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.6005, allocations: 3.812 kB / 0.5172 GB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/0.6006, allocations: 7.469 kB / 0.5172 GB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.6006, allocations: 3.875 kB / 0.5172 GB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6006, allocations: 0 / 0.5172 GB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004427/0.601, allocations: 0.5064 MB / 0.5177 GB, free: 4.938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.6011, allocations: 116.1 kB / 0.5178 GB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.6012, allocations: 14.62 kB / 0.5178 GB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.6014, allocations: 26.77 kB / 0.5178 GB, free: 4.805 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.6014, allocations: 3.938 kB / 0.5178 GB, free: 4.801 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.6015, allocations: 15.08 kB / 0.5179 GB, free: 4.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.6016, allocations: 166.2 kB / 0.518 GB, free: 4.711 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6016, allocations: 0 / 0.518 GB, free: 4.711 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004427/0.6021, allocations: 56.12 kB / 0.5181 GB, free: 4.707 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: 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.0002295/0.6023, allocations: 116.9 kB / 0.5182 GB, free: 4.613 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.6027, allocations: 255.2 kB / 0.5184 GB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.6027, allocations: 4.594 kB / 0.5184 GB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.048e-05/0.6027, allocations: 7.594 kB / 0.5184 GB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.6034, allocations: 230.2 kB / 0.5187 GB, free: 4.492 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.6042, allocations: 402.5 kB / 0.519 GB, free: 4.301 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.6045, allocations: 0.7965 MB / 0.5198 GB, free: 3.555 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.566e-05/0.6046, allocations: 30.66 kB / 0.5198 GB, free: 3.543 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.6046, allocations: 26.84 kB / 0.5199 GB, free: 3.539 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6046, allocations: 0 / 0.5199 GB, free: 3.539 MB / 330.7 MB Notification: Performance of Templates: time 0.006155/0.6108, allocations: 3.202 MB / 0.523 GB, free: 0.7891 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.pipe 2>&1)