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.001973/0.001973, allocations: 100.8 kB / 16.45 MB, free: 6.48 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.002551/0.002551, allocations: 185.5 kB / 17.38 MB, free: 5.691 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.72/1.72, allocations: 205.1 MB / 223.3 MB, free: 12.21 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.07868/0.07868, allocations: 12.6 MB / 283.2 MB, free: 15.38 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.001972/0.001972, allocations: 88.11 kB / 394.2 MB, free: 45.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1249, allocations: 49.4 MB / 443.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.004248/0.1292, allocations: 2.275 MB / 445.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.131, allocations: 0.8774 MB / 446.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002936/0.1314, allocations: 7.938 kB / 446.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.1316, allocations: 47.52 kB / 446.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1318, allocations: 43.59 kB / 446.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008151/0.1326, allocations: 235.5 kB / 447 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004335/0.1331, allocations: 307.2 kB / 447.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.1334, allocations: 152.6 kB / 447.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.1336, allocations: 115.5 kB / 447.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.1338, allocations: 115.4 kB / 447.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.576e-05/0.1339, allocations: 28 kB / 447.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.134, allocations: 63.95 kB / 447.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1342, allocations: 71.69 kB / 447.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1343, allocations: 119.3 kB / 448 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.1347, allocations: 322.8 kB / 448.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1347, allocations: 0 / 448.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1347, allocations: 0 / 448.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1347, allocations: 0 / 448.3 MB, free: 11.72 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.0009715/0.1357, allocations: 0.5845 MB / 448.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1358, allocations: 8.031 kB / 448.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.901e-05/0.1359, allocations: 40.41 kB / 448.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.1363, allocations: 311.1 kB / 449.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.1364, allocations: 12.81 kB / 449.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.1364, allocations: 24.36 kB / 449.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.1376, allocations: 0.6349 MB / 449.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1376, allocations: 0 / 449.9 MB, free: 9.996 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.1377, allocations: 8 kB / 449.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.1377, allocations: 4 kB / 449.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004298/0.1381, allocations: 164.2 kB / 450.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.1389, allocations: 0.5298 MB / 450.6 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000991/0.1399, allocations: 0.5592 MB / 451.2 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/0.1403, allocations: 236.3 kB / 451.4 MB, free: 8.355 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000903/0.1412, allocations: 0.5856 MB / 452 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.623e-05/0.1412, allocations: 42.56 kB / 452 MB, free: 7.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.354e-06/0.1413, allocations: 0 / 452 MB, free: 7.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001138/0.1424, allocations: 455.7 kB / 452.5 MB, free: 7.141 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/0.1426, allocations: 211.8 kB / 452.7 MB, free: 6.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.1429, allocations: 237 kB / 452.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.1429, allocations: 33.7 kB / 452.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.143, allocations: 133 kB / 453.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.1431, allocations: 31.81 kB / 453.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.1432, allocations: 66.14 kB / 453.2 MB, free: 6.371 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1434, allocations: 346.8 kB / 453.5 MB, free: 6.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/0.1435, allocations: 60.78 kB / 453.6 MB, free: 5.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.1438, allocations: 348 kB / 453.9 MB, free: 5.492 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004405/0.1443, allocations: 420.4 kB / 454.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.1443, allocations: 7.938 kB / 454.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005637/0.1449, allocations: 389.5 kB / 454.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.1449, allocations: 8.188 kB / 454.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.1449, allocations: 16 kB / 454.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.145, allocations: 12 kB / 454.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.1452, allocations: 95.77 kB / 454.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.1452, allocations: 15.94 kB / 454.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.1454, allocations: 43.67 kB / 454.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.15e-05/0.1455, allocations: 24 kB / 454.9 MB, free: 4.344 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.0002014/0.1457, allocations: 179.6 kB / 455.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006007/0.1463, allocations: 302.1 kB / 455.4 MB, free: 3.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.1469, allocations: 328.3 kB / 455.7 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.147, allocations: 4 kB / 455.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.147, allocations: 0 / 455.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.147, allocations: 3.938 kB / 455.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.1475, allocations: 313.1 kB / 456 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.1475, allocations: 0 / 456 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.1477, allocations: 75.89 kB / 456.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.1478, allocations: 4 kB / 456.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.1478, allocations: 15.98 kB / 456.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1478, allocations: 0 / 456.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1478, allocations: 4 kB / 456.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007093/0.1485, allocations: 0.5194 MB / 456.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.091e-05/0.1486, allocations: 108.7 kB / 456.7 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.456e-05/0.1487, allocations: 16 kB / 456.8 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.1489, allocations: 19.98 kB / 456.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.1489, allocations: 12.16 kB / 456.8 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.149, allocations: 12 kB / 456.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.1491, allocations: 172.5 kB / 457 MB, free: 2.176 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1491, allocations: 0 / 457 MB, free: 2.176 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004588/0.1496, allocations: 59.91 kB / 457 MB, free: 2.117 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.0001998/0.1498, allocations: 123.1 kB / 457.1 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005565/0.1504, allocations: 297.6 kB / 457.4 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.1504, allocations: 4 kB / 457.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.1504, allocations: 15.98 kB / 457.5 MB, free: 1.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009274/0.1514, allocations: 273.9 kB / 457.7 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.1526, allocations: 0.52 MB / 458.2 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.153, allocations: 0.78 MB / 459 MB, free: 36 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.517e-05/0.1531, allocations: 30.97 kB / 459.1 MB, free: 4 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.1532, allocations: 31.47 kB / 459.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1532, allocations: 0 / 459.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of Templates: time 0.007863/0.1611, allocations: 4.077 MB / 463.2 MB, free: 11.89 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)