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.001294/0.001294, allocations: 171.8 kB / 16.8 MB, free: 5 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.632/1.632, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007899/0.0007899, allocations: 88.69 kB / 271.3 MB, free: 8.254 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.07419/0.07419, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005544/0.0005546, allocations: 12 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.09051, allocations: 50.36 MB / 443.6 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2831/0.3736, allocations: 80.27 MB / 0.5116 GB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.3739, allocations: 68.78 kB / 0.5117 GB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0148/0.3887, allocations: 6.223 MB / 0.5177 GB, free: 9.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3888, allocations: 0 / 0.5177 GB, free: 9.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.841e-05/0.3888, allocations: 4 kB / 0.5177 GB, free: 9.906 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.0007371/0.3896, allocations: 0.5521 MB / 0.5183 GB, free: 9.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3896, allocations: 12.02 kB / 0.5183 GB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.3897, allocations: 32.56 kB / 0.5183 GB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.3902, allocations: 352.2 kB / 0.5186 GB, free: 8.945 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.3903, allocations: 12.5 kB / 0.5187 GB, free: 8.938 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.3903, allocations: 23.81 kB / 0.5187 GB, free: 8.922 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.3917, allocations: 0.6296 MB / 0.5193 GB, free: 8.375 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.3918, allocations: 7.938 kB / 0.5193 GB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.3918, allocations: 3.75 kB / 0.5193 GB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.3918, allocations: 8 kB / 0.5193 GB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005349/0.3924, allocations: 162 kB / 0.5195 GB, free: 8.234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007707/0.3932, allocations: 0.5359 MB / 0.52 GB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009822/0.3942, allocations: 0.5408 MB / 0.5205 GB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/0.3947, allocations: 229 kB / 0.5207 GB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005623/0.3952, allocations: 0.5847 MB / 0.5213 GB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.3953, allocations: 37.61 kB / 0.5213 GB, free: 6.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 3.156e-06/0.3953, allocations: 0 / 0.5213 GB, free: 6.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=44): time 0.001318/0.3966, allocations: 454.1 kB / 0.5218 GB, free: 5.902 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.3967, allocations: 188.7 kB / 0.522 GB, free: 5.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002408/0.397, allocations: 220.4 kB / 0.5222 GB, free: 5.504 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.397, allocations: 29.52 kB / 0.5222 GB, free: 5.473 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.3971, allocations: 139.8 kB / 0.5223 GB, free: 5.363 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.409e-05/0.3971, allocations: 30.97 kB / 0.5224 GB, free: 5.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.3972, allocations: 15.31 kB / 0.5224 GB, free: 5.332 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.233e-05/0.3972, allocations: 344.4 kB / 0.5227 GB, free: 5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3974, allocations: 66.89 kB / 0.5228 GB, free: 4.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.3976, allocations: 333.8 kB / 0.5231 GB, free: 4.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.398, allocations: 424.8 kB / 0.5235 GB, free: 4.023 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.398, allocations: 4 kB / 0.5235 GB, free: 4.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007011/0.3987, allocations: 392.9 kB / 0.5239 GB, free: 3.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3988, allocations: 8.938 kB / 0.5239 GB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/0.3988, allocations: 19.97 kB / 0.5239 GB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.3988, allocations: 12 kB / 0.5239 GB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.3993, allocations: 91.16 kB / 0.524 GB, free: 3.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.3993, allocations: 19.92 kB / 0.524 GB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.3996, allocations: 27.28 kB / 0.524 GB, free: 3.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.3996, allocations: 27.44 kB / 0.5241 GB, free: 3.504 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 () * 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.0002113/0.3999, allocations: 195.6 kB / 0.5243 GB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008449/0.4007, allocations: 294.1 kB / 0.5245 GB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008191/0.4016, allocations: 325 kB / 0.5248 GB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4016, allocations: 7.938 kB / 0.5249 GB, free: 2.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4016, allocations: 4 kB / 0.5249 GB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.4016, allocations: 3.984 kB / 0.5249 GB, free: 2.855 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.4021, allocations: 296.7 kB / 0.5251 GB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.4021, allocations: 7.984 kB / 0.5252 GB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.4025, allocations: 83.02 kB / 0.5252 GB, free: 2.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.4025, allocations: 4 kB / 0.5252 GB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.44e-05/0.4025, allocations: 5.875 kB / 0.5252 GB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4025, allocations: 4 kB / 0.5252 GB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.4025, allocations: 0 / 0.5252 GB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008284/0.4034, allocations: 0.5216 MB / 0.5258 GB, free: 2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.4035, allocations: 104.7 kB / 0.5259 GB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.4035, allocations: 25.61 kB / 0.5259 GB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003277/0.4039, allocations: 19.42 kB / 0.5259 GB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.4039, allocations: 0 / 0.5259 GB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.404, allocations: 11.25 kB / 0.5259 GB, free: 1.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.4042, allocations: 169.8 kB / 0.5261 GB, free: 1.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.4042, allocations: 0 / 0.5261 GB, free: 1.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008353/0.405, allocations: 58.25 kB / 0.5261 GB, free: 1.652 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 () * 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.0002221/0.4053, allocations: 126.2 kB / 0.5262 GB, free: 1.527 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007751/0.4061, allocations: 287.2 kB / 0.5265 GB, free: 1.301 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4061, allocations: 3.938 kB / 0.5265 GB, free: 1.297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.4062, allocations: 13.25 kB / 0.5265 GB, free: 1.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.4076, allocations: 268.2 kB / 0.5268 GB, free: 1.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.4093, allocations: 0.608 MB / 0.5274 GB, free: 0.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.4096, allocations: 0.7912 MB / 0.5282 GB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.4098, allocations: 34.95 kB / 0.5282 GB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.4099, allocations: 31.42 kB / 0.5282 GB, free: 15.62 MB / 346.7 MB Notification: Performance of SimCode: time 4.4e-07/0.4099, allocations: 0 / 0.5282 GB, free: 15.62 MB / 346.7 MB Notification: Performance of Templates: time 0.01066/0.4206, allocations: 3.194 MB / 0.5313 GB, free: 12.46 MB / 346.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)