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.0009088/0.0009089, allocations: 177.6 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.501/1.501, allocations: 205.3 MB / 213.8 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008815/0.0008814, allocations: 82.64 kB / 261.8 MB, free: 1.684 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.07956/0.07956, allocations: 12.6 MB / 322.4 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.072e-05, allocations: 0 / 378.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2773, allocations: 50.36 MB / 429.3 MB, free: 18.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1072/0.3846, allocations: 79.49 MB / 0.4969 GB, free: 2.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.3849, allocations: 59.97 kB / 0.4969 GB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0167/0.4016, allocations: 6.171 MB / 0.5029 GB, free: 12.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4016, allocations: 3.938 kB / 0.503 GB, free: 12.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.082e-05/0.4016, allocations: 4 kB / 0.503 GB, free: 12.5 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.0007096/0.4024, allocations: 0.5175 MB / 0.5035 GB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4024, allocations: 11.97 kB / 0.5035 GB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/0.4025, allocations: 31.62 kB / 0.5035 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/0.4031, allocations: 338.5 kB / 0.5038 GB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.4031, allocations: 15.98 kB / 0.5038 GB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.4031, allocations: 12 kB / 0.5039 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002124/0.4034, allocations: 108.9 kB / 0.504 GB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007935/0.4042, allocations: 0.522 MB / 0.5045 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4042, allocations: 4 kB / 0.5045 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.4042, allocations: 0 / 0.5045 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.4042, allocations: 4 kB / 0.5045 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.4049, allocations: 498.8 kB / 0.5049 GB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.4055, allocations: 468.9 kB / 0.5054 GB, free: 9.746 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002592/0.4058, allocations: 188.5 kB / 0.5056 GB, free: 9.547 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006411/0.4064, allocations: 0.5859 MB / 0.5061 GB, free: 8.832 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.4065, allocations: 34.56 kB / 0.5062 GB, free: 8.789 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 1.653e-06/0.4065, allocations: 4 kB / 0.5062 GB, free: 8.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.000532/0.407, allocations: 268.9 kB / 0.5064 GB, free: 8.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.4071, allocations: 170.2 kB / 0.5066 GB, free: 8.316 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.4074, allocations: 192.5 kB / 0.5068 GB, free: 8.125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.4074, allocations: 25.7 kB / 0.5068 GB, free: 8.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.4075, allocations: 132.8 kB / 0.5069 GB, free: 7.961 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.4075, allocations: 27.94 kB / 0.507 GB, free: 7.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.4076, allocations: 4 kB / 0.507 GB, free: 7.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4077, allocations: 342.8 kB / 0.5073 GB, free: 7.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.4078, allocations: 48.86 kB / 0.5073 GB, free: 7.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.408, allocations: 313.2 kB / 0.5076 GB, free: 7.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.4082, allocations: 103.9 kB / 0.5077 GB, free: 6.992 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4082, allocations: 4 kB / 0.5077 GB, free: 6.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004326/0.4086, allocations: 321.1 kB / 0.5081 GB, free: 6.668 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.4087, allocations: 8 kB / 0.5081 GB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/0.4087, allocations: 12 kB / 0.5081 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.4087, allocations: 12.75 kB / 0.5081 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.409, allocations: 87.84 kB / 0.5082 GB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/0.409, allocations: 23.92 kB / 0.5082 GB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.4092, allocations: 31.64 kB / 0.5082 GB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.4093, allocations: 31.98 kB / 0.5082 GB, free: 6.465 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.0001231/0.4094, allocations: 143.1 kB / 0.5084 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004003/0.4098, allocations: 241.4 kB / 0.5086 GB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004388/0.4102, allocations: 252.8 kB / 0.5089 GB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.4103, allocations: 12 kB / 0.5089 GB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.4103, allocations: 0 / 0.5089 GB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4103, allocations: 0 / 0.5089 GB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.4106, allocations: 269.7 kB / 0.5091 GB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/0.4106, allocations: 4 kB / 0.5091 GB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.4109, allocations: 79.89 kB / 0.5092 GB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4109, allocations: 4 kB / 0.5092 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.411, allocations: 0 / 0.5092 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.411, allocations: 7.984 kB / 0.5092 GB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.411, allocations: 4 kB / 0.5092 GB, free: 5.414 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004878/0.4115, allocations: 489 kB / 0.5097 GB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.61e-05/0.4116, allocations: 116.7 kB / 0.5098 GB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.4116, allocations: 4 kB / 0.5098 GB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.4118, allocations: 15.94 kB / 0.5098 GB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.4119, allocations: 4 kB / 0.5098 GB, free: 4.738 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.782e-05/0.4119, allocations: 15.98 kB / 0.5098 GB, free: 4.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001226/0.412, allocations: 156.4 kB / 0.51 GB, free: 4.574 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.412, allocations: 0 / 0.51 GB, free: 4.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004192/0.4124, allocations: 44 kB / 0.51 GB, free: 4.531 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.0001779/0.4126, allocations: 119.5 kB / 0.5101 GB, free: 4.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003569/0.413, allocations: 221.1 kB / 0.5104 GB, free: 4.191 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.413, allocations: 1 kB / 0.5104 GB, free: 4.191 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.413, allocations: 4 kB / 0.5104 GB, free: 4.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006385/0.4137, allocations: 218.9 kB / 0.5106 GB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000877/0.4146, allocations: 369.1 kB / 0.5109 GB, free: 3.578 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.4149, allocations: 0.7954 MB / 0.5117 GB, free: 2.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.258e-05/0.415, allocations: 35.45 kB / 0.5117 GB, free: 2.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.4151, allocations: 31.38 kB / 0.5118 GB, free: 2.684 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4151, allocations: 0 / 0.5118 GB, free: 2.684 MB / 362.7 MB Notification: Performance of Templates: time 0.2026/0.6178, allocations: 3.003 MB / 0.5147 GB, free: 89.6 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)