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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001325, allocations: 102.2 kB / 16.31 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 188.5 kB / 17.24 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07802/0.07802, allocations: 12.59 MB / 283.1 MB, free: 15.47 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 87.88 kB / 343.5 MB, free: 2.961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3143, allocations: 49.38 MB / 392.9 MB, free: 49.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.003545/0.3179, allocations: 2.282 MB / 395.2 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.32, allocations: 0.8748 MB / 396 MB, free: 47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002428/0.3203, allocations: 13.66 kB / 396 MB, free: 46.99 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.3206, allocations: 53.05 kB / 396.1 MB, free: 46.95 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.3208, allocations: 36.95 kB / 396.1 MB, free: 46.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.3218, allocations: 222.8 kB / 396.3 MB, free: 46.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.3223, allocations: 306 kB / 396.6 MB, free: 46.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003926/0.3227, allocations: 155.8 kB / 396.8 MB, free: 46.58 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.323, allocations: 114.2 kB / 396.9 MB, free: 46.51 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.3232, allocations: 116.6 kB / 397 MB, free: 46.42 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.718e-05/0.3233, allocations: 23.69 kB / 397 MB, free: 46.42 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.3234, allocations: 58.47 kB / 397.1 MB, free: 46.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.3236, allocations: 67.95 kB / 397.2 MB, free: 46.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.3238, allocations: 131.7 kB / 397.3 MB, free: 46.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004744/0.3243, allocations: 311.7 kB / 397.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3243, allocations: 1.312 kB / 397.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3243, allocations: 0 / 397.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.3243, allocations: 4 kB / 397.6 MB, free: 46.01 MB / 318.1 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.001139/0.3255, allocations: 0.5746 MB / 398.2 MB, free: 45.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.3255, allocations: 8.781 kB / 398.2 MB, free: 45.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.3257, allocations: 32.94 kB / 398.2 MB, free: 45.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.3262, allocations: 298 kB / 398.5 MB, free: 45.18 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.3262, allocations: 17.25 kB / 398.5 MB, free: 45.17 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.3263, allocations: 22.19 kB / 398.6 MB, free: 45.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.3279, allocations: 0.6486 MB / 399.2 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.3279, allocations: 5.156 kB / 399.2 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.73e-05/0.3279, allocations: 10.38 kB / 399.2 MB, free: 44.72 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.328, allocations: 4.562 kB / 399.2 MB, free: 44.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006123/0.3286, allocations: 167 kB / 399.4 MB, free: 44.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/0.3293, allocations: 0.5297 MB / 399.9 MB, free: 44.11 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.3305, allocations: 0.5582 MB / 400.5 MB, free: 43.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00053/0.3311, allocations: 237.8 kB / 400.7 MB, free: 43.55 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008278/0.3319, allocations: 0.5907 MB / 401.3 MB, free: 42.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.332, allocations: 41.28 kB / 401.3 MB, free: 42.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 3.006e-06/0.332, allocations: 0 / 401.3 MB, free: 42.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001576/0.3336, allocations: 452 kB / 401.8 MB, free: 42.6 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.3337, allocations: 209.5 kB / 402 MB, free: 42.37 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.3341, allocations: 236.3 kB / 402.2 MB, free: 42.2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.734e-05/0.3342, allocations: 32.39 kB / 402.2 MB, free: 42.16 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.3344, allocations: 138.5 kB / 402.4 MB, free: 42.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.916e-05/0.3345, allocations: 22.58 kB / 402.4 MB, free: 42.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3346, allocations: 67.53 kB / 402.5 MB, free: 41.97 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3347, allocations: 342.3 kB / 402.8 MB, free: 41.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.3349, allocations: 67.38 kB / 402.9 MB, free: 41.6 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.3353, allocations: 348.6 kB / 403.2 MB, free: 41.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00055/0.3358, allocations: 415.4 kB / 403.6 MB, free: 40.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.3358, allocations: 2.906 kB / 403.6 MB, free: 40.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009077/0.3368, allocations: 393.5 kB / 404 MB, free: 40.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.3368, allocations: 8.719 kB / 404 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.3368, allocations: 9.875 kB / 404 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.463e-05/0.3369, allocations: 16.47 kB / 404 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.3373, allocations: 100.8 kB / 404.1 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.083e-05/0.3373, allocations: 16.56 kB / 404.1 MB, free: 40.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003283/0.3377, allocations: 42.95 kB / 404.2 MB, free: 40.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.681e-05/0.3377, allocations: 25.34 kB / 404.2 MB, free: 40.45 MB / 318.1 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 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002418/0.338, allocations: 167.8 kB / 404.4 MB, free: 40.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009377/0.3389, allocations: 314.8 kB / 404.7 MB, free: 40.14 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009088/0.3399, allocations: 319.2 kB / 405 MB, free: 39.96 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.3399, allocations: 4.5 kB / 405 MB, free: 39.96 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3399, allocations: 1.406 kB / 405 MB, free: 39.96 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.3399, allocations: 9.266 kB / 405 MB, free: 39.96 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004878/0.3404, allocations: 309.5 kB / 405.3 MB, free: 39.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.3405, allocations: 6.188 kB / 405.3 MB, free: 39.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.3409, allocations: 79.2 kB / 405.4 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.3409, allocations: 3.156 kB / 405.4 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.341, allocations: 7.219 kB / 405.4 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.341, allocations: 2.125 kB / 405.4 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.341, allocations: 1.062 kB / 405.4 MB, free: 39.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.342, allocations: 0.5253 MB / 405.9 MB, free: 39.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.467e-05/0.3421, allocations: 114.4 kB / 406 MB, free: 39.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/0.3422, allocations: 13.31 kB / 406.1 MB, free: 39.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003219/0.3425, allocations: 26.86 kB / 406.1 MB, free: 39.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.805e-05/0.3426, allocations: 14.36 kB / 406.1 MB, free: 39.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.3427, allocations: 12.08 kB / 406.1 MB, free: 39.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.3429, allocations: 173.8 kB / 406.3 MB, free: 38.96 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3429, allocations: 0 / 406.3 MB, free: 38.96 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008501/0.3438, allocations: 54.44 kB / 406.3 MB, free: 38.95 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002293/0.344, allocations: 125.1 kB / 406.5 MB, free: 38.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.3451, allocations: 303.9 kB / 406.8 MB, free: 38.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.3451, allocations: 0.75 kB / 406.8 MB, free: 38.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.733e-05/0.3452, allocations: 20.14 kB / 406.8 MB, free: 38.7 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.3468, allocations: 265.6 kB / 407 MB, free: 38.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.3488, allocations: 0.5432 MB / 407.6 MB, free: 38.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.3492, allocations: 0.7865 MB / 408.4 MB, free: 37.42 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001785/0.3494, allocations: 34.97 kB / 408.4 MB, free: 37.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.124e-05/0.3495, allocations: 23.44 kB / 408.4 MB, free: 37.36 MB / 318.1 MB Notification: Performance of SimCode: time 1.473e-06/0.3496, allocations: 0 / 408.4 MB, free: 37.36 MB / 318.1 MB Notification: Performance of Templates: time 0.01405/0.3636, allocations: 3.894 MB / 412.3 MB, free: 33.49 MB / 318.1 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)