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.002279/0.002279, allocations: 104.1 kB / 16.45 MB, free: 6.43 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.002123/0.002123, allocations: 186.4 kB / 17.38 MB, free: 5.656 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.882/1.882, allocations: 205.1 MB / 223.3 MB, free: 12.22 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.08008/0.08008, 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.002023/0.002024, allocations: 86.3 kB / 394.1 MB, free: 45.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1171, allocations: 49.41 MB / 443.6 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.004019/0.1211, allocations: 2.271 MB / 445.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00168/0.1228, allocations: 0.8774 MB / 446.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.1231, allocations: 11.94 kB / 446.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.1233, allocations: 47.47 kB / 446.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001335/0.1235, allocations: 39.64 kB / 446.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007303/0.1242, allocations: 227.5 kB / 447 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.1246, allocations: 311.2 kB / 447.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002885/0.1249, allocations: 152.7 kB / 447.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.125, allocations: 119.4 kB / 447.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.1252, allocations: 111.4 kB / 447.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.1252, allocations: 31.94 kB / 447.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1253, allocations: 63.97 kB / 447.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1255, allocations: 67.75 kB / 447.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.1256, allocations: 127.2 kB / 448 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.1259, allocations: 318.8 kB / 448.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.126, allocations: 7.984 kB / 448.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.126, allocations: 0 / 448.3 MB, free: 11.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.126, allocations: 0 / 448.3 MB, free: 11.71 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.001053/0.127, allocations: 0.5728 MB / 448.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.1271, allocations: 8.031 kB / 448.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.088e-05/0.1272, allocations: 36.47 kB / 448.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.1276, allocations: 311.1 kB / 449.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.1277, allocations: 16.81 kB / 449.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.1277, allocations: 24.38 kB / 449.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.129, allocations: 0.6349 MB / 449.9 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.129, allocations: 3.984 kB / 449.9 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.129, allocations: 8 kB / 449.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.129, allocations: 7.938 kB / 449.9 MB, free: 9.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004254/0.1295, allocations: 160.2 kB / 450.1 MB, free: 9.824 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.1302, allocations: 0.526 MB / 450.6 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.1312, allocations: 0.5669 MB / 451.2 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004001/0.1316, allocations: 240.3 kB / 451.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007526/0.1323, allocations: 0.5817 MB / 452 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.1324, allocations: 46.5 kB / 452 MB, free: 7.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 1.753e-06/0.1324, allocations: 0 / 452 MB, free: 7.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001075/0.1335, allocations: 447.6 kB / 452.5 MB, free: 7.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000165/0.1337, allocations: 216 kB / 452.7 MB, free: 6.891 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.1339, allocations: 241 kB / 452.9 MB, free: 6.641 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.134, allocations: 29.7 kB / 452.9 MB, free: 6.605 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.763e-05/0.1341, allocations: 133 kB / 453.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.1341, allocations: 31.81 kB / 453.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.1342, allocations: 70.12 kB / 453.2 MB, free: 6.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1344, allocations: 338.8 kB / 453.5 MB, free: 6.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1345, allocations: 68.83 kB / 453.6 MB, free: 5.961 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.1348, allocations: 340 kB / 453.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004519/0.1353, allocations: 424.4 kB / 454.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1353, allocations: 4 kB / 454.3 MB, free: 4.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005439/0.1358, allocations: 392.6 kB / 454.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1359, allocations: 8.969 kB / 454.7 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.1359, allocations: 8 kB / 454.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.905e-05/0.1359, allocations: 16 kB / 454.7 MB, free: 4.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002489/0.1362, allocations: 91.84 kB / 454.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/0.1362, allocations: 19.92 kB / 454.8 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.1364, allocations: 39.69 kB / 454.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.1365, allocations: 20 kB / 454.9 MB, free: 4.355 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.0001851/0.1367, allocations: 179.6 kB / 455.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005832/0.1373, allocations: 310.1 kB / 455.4 MB, free: 3.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006319/0.1379, allocations: 320.4 kB / 455.7 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1379, allocations: 4 kB / 455.7 MB, free: 3.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.1379, allocations: 4 kB / 455.7 MB, free: 3.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1379, allocations: 7.922 kB / 455.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.1383, allocations: 297.2 kB / 456 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/0.1383, allocations: 11.88 kB / 456 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002932/0.1386, allocations: 83.88 kB / 456.1 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1387, allocations: 3.938 kB / 456.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.1387, allocations: 8 kB / 456.1 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.1387, allocations: 4 kB / 456.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1387, allocations: 0 / 456.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.1394, allocations: 0.5194 MB / 456.6 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/0.1395, allocations: 112.9 kB / 456.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/0.1396, allocations: 15.98 kB / 456.8 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.1398, allocations: 23.92 kB / 456.8 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.1399, allocations: 7.922 kB / 456.8 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.1399, allocations: 20 kB / 456.8 MB, free: 2.344 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001691/0.1401, allocations: 172.5 kB / 457 MB, free: 2.172 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1401, allocations: 0 / 457 MB, free: 2.172 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004447/0.1405, allocations: 63.89 kB / 457 MB, free: 2.109 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.000212/0.1407, allocations: 115.2 kB / 457.2 MB, free: 1.984 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005594/0.1413, allocations: 301.1 kB / 457.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1413, allocations: 0 / 457.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.1414, allocations: 12.61 kB / 457.5 MB, free: 1.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/0.1423, allocations: 270 kB / 457.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.1434, allocations: 0.5237 MB / 458.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.1438, allocations: 0.7878 MB / 459 MB, free: 32 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001081/0.1439, allocations: 35.02 kB / 459.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.1439, allocations: 23.44 kB / 459.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.144, allocations: 0 / 459.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of Templates: time 0.008515/0.1525, allocations: 3.952 MB / 463 MB, free: 12.02 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)