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.0015/0.0015, allocations: 105 kB / 16.45 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.001653/0.001653, allocations: 189 kB / 17.39 MB, free: 5.648 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.804/1.804, allocations: 205.1 MB / 223.3 MB, free: 12.2 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.07794/0.07794, allocations: 12.59 MB / 283.2 MB, free: 15.39 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.001775/0.001775, allocations: 86.91 kB / 394.2 MB, free: 45.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1101, allocations: 49.4 MB / 443.6 MB, free: 488 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.004083/0.1142, allocations: 2.279 MB / 445.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.1158, allocations: 0.8774 MB / 446.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/0.1161, allocations: 7.938 kB / 446.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.1163, allocations: 47.52 kB / 446.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.1164, allocations: 43.61 kB / 446.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000705/0.1171, allocations: 223.6 kB / 447 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003331/0.1175, allocations: 323.1 kB / 447.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.1178, allocations: 152.7 kB / 447.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1179, allocations: 111.5 kB / 447.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1181, allocations: 119.4 kB / 447.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.1182, allocations: 28 kB / 447.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1183, allocations: 63.97 kB / 447.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1184, allocations: 67.7 kB / 447.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1185, allocations: 127.2 kB / 448 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000374/0.1189, allocations: 318.8 kB / 448.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1189, allocations: 0 / 448.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1189, allocations: 0 / 448.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1189, allocations: 0 / 448.3 MB, free: 11.7 MB / 334.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.0009968/0.1199, allocations: 0.5806 MB / 448.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.12, allocations: 12.03 kB / 448.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.022e-05/0.1201, allocations: 40.41 kB / 448.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005494/0.1206, allocations: 311.1 kB / 449.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.1207, allocations: 20.81 kB / 449.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.1207, allocations: 20.38 kB / 449.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.1221, allocations: 0.6349 MB / 449.9 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.1222, allocations: 0 / 449.9 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.1222, allocations: 4 kB / 449.9 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.1222, allocations: 7.938 kB / 449.9 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004335/0.1226, allocations: 160.2 kB / 450.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008544/0.1235, allocations: 0.5298 MB / 450.6 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.1246, allocations: 0.5632 MB / 451.2 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.125, allocations: 236.2 kB / 451.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007424/0.1257, allocations: 0.5817 MB / 452 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.1258, allocations: 46.55 kB / 452 MB, free: 7.562 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.435e-06/0.1258, allocations: 0 / 452 MB, free: 7.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.0009794/0.1268, allocations: 455.7 kB / 452.5 MB, free: 7.113 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.1269, allocations: 216 kB / 452.7 MB, free: 6.859 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.1272, allocations: 237 kB / 452.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.1272, allocations: 29.7 kB / 453 MB, free: 6.578 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.763e-05/0.1273, allocations: 133 kB / 453.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.1274, allocations: 31.81 kB / 453.1 MB, free: 6.414 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.414e-05/0.1275, allocations: 74.12 kB / 453.2 MB, free: 6.336 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1276, allocations: 334.8 kB / 453.5 MB, free: 6 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1277, allocations: 68.77 kB / 453.6 MB, free: 5.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003059/0.128, allocations: 344 kB / 453.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.1285, allocations: 424.4 kB / 454.3 MB, free: 4.918 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.1285, allocations: 4 kB / 454.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006067/0.1292, allocations: 392.7 kB / 454.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.1292, allocations: 8.938 kB / 454.7 MB, free: 4.516 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.1292, allocations: 8 kB / 454.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.672e-05/0.1293, allocations: 16 kB / 454.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002487/0.1295, allocations: 91.78 kB / 454.8 MB, free: 4.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/0.1295, allocations: 19.92 kB / 454.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002215/0.1298, allocations: 39.69 kB / 454.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.1298, allocations: 24 kB / 454.9 MB, free: 4.32 MB / 334.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.0001906/0.13, allocations: 175.6 kB / 455.1 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/0.1306, allocations: 306.1 kB / 455.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006219/0.1312, allocations: 324.3 kB / 455.7 MB, free: 3.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.1312, allocations: 4 kB / 455.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.1313, allocations: 4 kB / 455.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1313, allocations: 3.938 kB / 455.7 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/0.1316, allocations: 301.2 kB / 456 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/0.1317, allocations: 7.938 kB / 456 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002877/0.132, allocations: 87.81 kB / 456.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.132, allocations: 0 / 456.1 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.132, allocations: 16 kB / 456.1 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.132, allocations: 4 kB / 456.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.132, allocations: 0 / 456.1 MB, free: 3.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007356/0.1328, allocations: 0.5193 MB / 456.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.275e-05/0.1329, allocations: 112.7 kB / 456.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.881e-05/0.1329, allocations: 15.98 kB / 456.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.1331, allocations: 19.98 kB / 456.8 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1332, allocations: 3.938 kB / 456.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.1332, allocations: 20 kB / 456.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001803/0.1334, allocations: 172.5 kB / 457 MB, free: 2.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1334, allocations: 0 / 457 MB, free: 2.145 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004961/0.1339, allocations: 59.91 kB / 457 MB, free: 2.086 MB / 334.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.0002136/0.1341, allocations: 115.1 kB / 457.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005862/0.1347, allocations: 301.3 kB / 457.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/0.1348, allocations: 0 / 457.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.954e-05/0.1348, allocations: 16.42 kB / 457.5 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009105/0.1357, allocations: 274.2 kB / 457.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.1368, allocations: 0.5159 MB / 458.2 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1372, allocations: 0.7878 MB / 459 MB, free: 8 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.1373, allocations: 34.97 kB / 459.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.163e-05/0.1374, allocations: 23.44 kB / 459.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1374, allocations: 0 / 459.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of Templates: time 0.009183/0.1466, allocations: 3.96 MB / 463.1 MB, free: 11.98 MB / 350.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)