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.001287/0.001288, allocations: 181.6 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.73/1.73, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.0009901/0.0009901, allocations: 102.8 kB / 270.3 MB, free: 13.34 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.07898/0.07898, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004538/0.000454, allocations: 10.38 kB / 392 MB, free: 54.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.1001, allocations: 50.37 MB / 442.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.2072, allocations: 80.24 MB / 0.5104 GB, free: 10.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.2074, allocations: 67.95 kB / 0.5104 GB, free: 10.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01779/0.2252, allocations: 6.23 MB / 0.5165 GB, free: 4.262 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2253, allocations: 0 / 0.5165 GB, free: 4.262 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.053e-05/0.2253, allocations: 4 kB / 0.5165 GB, free: 4.258 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.0008648/0.2262, allocations: 0.557 MB / 0.517 GB, free: 3.652 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.2262, allocations: 12.03 kB / 0.5171 GB, free: 3.641 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.2263, allocations: 31.62 kB / 0.5171 GB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.2269, allocations: 334.4 kB / 0.5174 GB, free: 3.246 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.2269, allocations: 24.44 kB / 0.5174 GB, free: 3.223 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.227, allocations: 16 kB / 0.5174 GB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.2281, allocations: 0.6358 MB / 0.5181 GB, free: 2.527 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.2281, allocations: 3.938 kB / 0.5181 GB, free: 2.523 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.2282, allocations: 12 kB / 0.5181 GB, free: 2.512 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2282, allocations: 4 kB / 0.5181 GB, free: 2.508 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00037/0.2286, allocations: 152.2 kB / 0.5182 GB, free: 2.355 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000652/0.2292, allocations: 0.5375 MB / 0.5188 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008288/0.2301, allocations: 0.5403 MB / 0.5193 GB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005743/0.2306, allocations: 0.5895 MB / 0.5199 GB, free: 436 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.2307, allocations: 42.56 kB / 0.5199 GB, free: 384 kB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 4.268e-06/0.2307, allocations: 0 / 0.5199 GB, free: 384 kB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.1821/0.4128, allocations: 0.5174 MB / 0.5204 GB, free: 84.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4129, allocations: 188 kB / 0.5206 GB, free: 84.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.4131, allocations: 198.6 kB / 0.5208 GB, free: 84.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.4131, allocations: 33.77 kB / 0.5208 GB, free: 84.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.4132, allocations: 134.4 kB / 0.5209 GB, free: 84.58 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.163e-05/0.4133, allocations: 29.42 kB / 0.521 GB, free: 84.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.4133, allocations: 6 kB / 0.521 GB, free: 84.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.258e-05/0.4133, allocations: 339.9 kB / 0.5213 GB, free: 84.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.4135, allocations: 62.88 kB / 0.5214 GB, free: 84.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.4137, allocations: 339.8 kB / 0.5217 GB, free: 83.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.4138, allocations: 120.6 kB / 0.5218 GB, free: 83.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4138, allocations: 3.156 kB / 0.5218 GB, free: 83.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005296/0.4144, allocations: 398 kB / 0.5222 GB, free: 83.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.4144, allocations: 14.86 kB / 0.5222 GB, free: 83.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.4144, allocations: 9.625 kB / 0.5222 GB, free: 83.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.4145, allocations: 17.94 kB / 0.5222 GB, free: 83.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002438/0.4147, allocations: 90.83 kB / 0.5223 GB, free: 83.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.4147, allocations: 16.31 kB / 0.5223 GB, free: 83.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.4149, allocations: 33.28 kB / 0.5223 GB, free: 83.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.415, allocations: 24.31 kB / 0.5224 GB, free: 83.83 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 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * 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.0001494/0.4151, allocations: 182.5 kB / 0.5225 GB, free: 83.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005242/0.4157, allocations: 301.9 kB / 0.5228 GB, free: 83.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005603/0.4162, allocations: 323.9 kB / 0.5231 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.4163, allocations: 5.188 kB / 0.5231 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4163, allocations: 2.125 kB / 0.5232 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4163, allocations: 2.719 kB / 0.5232 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.4166, allocations: 299.6 kB / 0.5234 GB, free: 83.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.4166, allocations: 2.156 kB / 0.5234 GB, free: 83.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.4169, allocations: 82.2 kB / 0.5235 GB, free: 83.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4169, allocations: 3.219 kB / 0.5235 GB, free: 83.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.4169, allocations: 8 kB / 0.5235 GB, free: 83.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.4169, allocations: 11.19 kB / 0.5235 GB, free: 83.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.417, allocations: 4.734 kB / 0.5235 GB, free: 83.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006043/0.4176, allocations: 0.5503 MB / 0.5241 GB, free: 83.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.171e-05/0.4176, allocations: 112 kB / 0.5242 GB, free: 82.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.4177, allocations: 11 kB / 0.5242 GB, free: 82.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.4179, allocations: 25.88 kB / 0.5242 GB, free: 82.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.4179, allocations: 8 kB / 0.5242 GB, free: 82.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.418, allocations: 22.39 kB / 0.5243 GB, free: 82.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.4181, allocations: 160.5 kB / 0.5244 GB, free: 82.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4181, allocations: 0.8125 kB / 0.5244 GB, free: 82.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000445/0.4185, allocations: 54.75 kB / 0.5245 GB, free: 82.89 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 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * 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.0001627/0.4187, allocations: 128.1 kB / 0.5246 GB, free: 82.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004855/0.4192, allocations: 280.6 kB / 0.5248 GB, free: 82.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4192, allocations: 0 / 0.5248 GB, free: 82.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.43e-05/0.4193, allocations: 16.06 kB / 0.5249 GB, free: 82.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/0.42, allocations: 262.9 kB / 0.5251 GB, free: 82.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.4211, allocations: 0.6109 MB / 0.5257 GB, free: 82.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.4214, allocations: 0.7985 MB / 0.5265 GB, free: 81.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.239e-05/0.4215, allocations: 31.05 kB / 0.5265 GB, free: 81.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.489e-05/0.4215, allocations: 28.94 kB / 0.5265 GB, free: 81.65 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4215, allocations: 3.938 kB / 0.5266 GB, free: 81.65 MB / 362.7 MB Notification: Performance of Templates: time 0.00641/0.4279, allocations: 3.173 MB / 0.5297 GB, free: 81.46 MB / 362.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)