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.001004/0.001005, allocations: 102.9 kB / 16.03 MB, free: 6.367 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.001146/0.001146, allocations: 187.6 kB / 16.95 MB, free: 6.176 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.535/1.535, allocations: 205.1 MB / 222.8 MB, free: 12.43 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.08154/0.08154, allocations: 12.59 MB / 282.7 MB, free: 15.62 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.00302/0.00302, allocations: 87.88 kB / 343 MB, free: 3.297 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3416, allocations: 49.38 MB / 392.4 MB, free: 49.14 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.005/0.3467, allocations: 2.319 MB / 394.7 MB, free: 47.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.3483, allocations: 0.8512 MB / 395.5 MB, free: 46.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.3486, allocations: 9.5 kB / 395.5 MB, free: 46.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.3488, allocations: 40.7 kB / 395.6 MB, free: 46.88 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.3489, allocations: 35.55 kB / 395.6 MB, free: 46.85 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009021/0.3498, allocations: 206.5 kB / 395.8 MB, free: 46.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005067/0.3504, allocations: 298.2 kB / 396.1 MB, free: 46.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.3507, allocations: 155.3 kB / 396.3 MB, free: 46.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.3509, allocations: 113.5 kB / 396.4 MB, free: 46.45 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.3512, allocations: 119.8 kB / 396.5 MB, free: 46.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.112e-05/0.3512, allocations: 24.84 kB / 396.5 MB, free: 46.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.3514, allocations: 62.88 kB / 396.6 MB, free: 46.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.3516, allocations: 72.19 kB / 396.6 MB, free: 46.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.3517, allocations: 127.6 kB / 396.8 MB, free: 46.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.3521, allocations: 310.5 kB / 397.1 MB, free: 46.08 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3521, allocations: 0 / 397.1 MB, free: 46.08 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3521, allocations: 0 / 397.1 MB, free: 46.08 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.3522, allocations: 4 kB / 397.1 MB, free: 46.08 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.0008601/0.353, allocations: 0.5741 MB / 397.6 MB, free: 45.54 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3531, allocations: 8.719 kB / 397.7 MB, free: 45.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.3532, allocations: 32.97 kB / 397.7 MB, free: 45.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.3535, allocations: 302 kB / 398 MB, free: 45.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.3535, allocations: 17.22 kB / 398 MB, free: 45.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.3536, allocations: 22.34 kB / 398 MB, free: 45.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.3547, allocations: 0.649 MB / 398.7 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3548, allocations: 0 / 398.7 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.3548, allocations: 6.312 kB / 398.7 MB, free: 44.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.3548, allocations: 5.469 kB / 398.7 MB, free: 44.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.3552, allocations: 158.8 kB / 398.8 MB, free: 44.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.3557, allocations: 0.5419 MB / 399.4 MB, free: 44.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008937/0.3566, allocations: 0.5532 MB / 399.9 MB, free: 43.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004055/0.3571, allocations: 238.3 kB / 400.2 MB, free: 43.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007314/0.3578, allocations: 0.59 MB / 400.8 MB, free: 42.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.3578, allocations: 42.09 kB / 400.8 MB, free: 42.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=44): time 2.004e-06/0.3579, allocations: 0 / 400.8 MB, free: 42.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=44): time 0.001051/0.3589, allocations: 451.9 kB / 401.2 MB, free: 42.67 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000125/0.359, allocations: 209.9 kB / 401.4 MB, free: 42.44 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.3593, allocations: 236.2 kB / 401.7 MB, free: 42.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.3593, allocations: 36.17 kB / 401.7 MB, free: 42.23 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.3594, allocations: 134 kB / 401.8 MB, free: 42.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.3595, allocations: 27.3 kB / 401.9 MB, free: 42.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.3596, allocations: 67.41 kB / 401.9 MB, free: 42.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.521e-05/0.3597, allocations: 337.9 kB / 402.3 MB, free: 41.71 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.3598, allocations: 67.27 kB / 402.3 MB, free: 41.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.36, allocations: 354.2 kB / 402.7 MB, free: 41.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003563/0.3604, allocations: 419.2 kB / 403.1 MB, free: 40.79 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.3604, allocations: 2.406 kB / 403.1 MB, free: 40.79 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006119/0.361, allocations: 391.9 kB / 403.5 MB, free: 40.58 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.864e-05/0.3611, allocations: 10.75 kB / 403.5 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.3611, allocations: 9.688 kB / 403.5 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.325e-05/0.3611, allocations: 12.31 kB / 403.5 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.3614, allocations: 96.33 kB / 403.6 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-05/0.3614, allocations: 15.94 kB / 403.6 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.3617, allocations: 47.8 kB / 403.7 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.3617, allocations: 24.28 kB / 403.7 MB, free: 40.52 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.0001817/0.3619, allocations: 173.1 kB / 403.8 MB, free: 40.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000614/0.3625, allocations: 311 kB / 404.2 MB, free: 40.21 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006377/0.3632, allocations: 321.9 kB / 404.5 MB, free: 40.03 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.3632, allocations: 5.062 kB / 404.5 MB, free: 40.03 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.3632, allocations: 1.312 kB / 404.5 MB, free: 40.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.3632, allocations: 9.234 kB / 404.5 MB, free: 40.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.3635, allocations: 306 kB / 404.8 MB, free: 39.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.3636, allocations: 6.312 kB / 404.8 MB, free: 39.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.3639, allocations: 78.98 kB / 404.9 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3639, allocations: 2.5 kB / 404.9 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.3639, allocations: 7.156 kB / 404.9 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3639, allocations: 2.375 kB / 404.9 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3639, allocations: 1.406 kB / 404.9 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007455/0.3647, allocations: 0.5289 MB / 405.4 MB, free: 39.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.3647, allocations: 115 kB / 405.5 MB, free: 39.18 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.3648, allocations: 8.375 kB / 405.5 MB, free: 39.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.365, allocations: 22.39 kB / 405.5 MB, free: 39.17 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3651, allocations: 10.27 kB / 405.6 MB, free: 39.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3651, allocations: 17.61 kB / 405.6 MB, free: 39.15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001596/0.3653, allocations: 172.1 kB / 405.7 MB, free: 39.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3653, allocations: 3.938 kB / 405.7 MB, free: 39.03 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004955/0.3658, allocations: 56 kB / 405.8 MB, free: 39.02 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.0002234/0.366, allocations: 122 kB / 405.9 MB, free: 38.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006585/0.3667, allocations: 307.9 kB / 406.2 MB, free: 38.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3667, allocations: 1.938 kB / 406.2 MB, free: 38.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.48e-05/0.3668, allocations: 19.73 kB / 406.2 MB, free: 38.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009425/0.3677, allocations: 269.1 kB / 406.5 MB, free: 38.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.369, allocations: 0.631 MB / 407.1 MB, free: 38.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.3693, allocations: 0.7873 MB / 407.9 MB, free: 37.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.3694, allocations: 32.56 kB / 408 MB, free: 37.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.081e-05/0.3695, allocations: 25.78 kB / 408 MB, free: 37.39 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3695, allocations: 1.125 kB / 408 MB, free: 37.39 MB / 318.1 MB Notification: Performance of Templates: time 0.00693/0.3764, allocations: 3.86 MB / 411.8 MB, free: 33.64 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)