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.01148/0.01148, allocations: 87.88 kB / 15.91 MB, free: 6.301 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.002191/0.002191, allocations: 199.3 kB / 16.83 MB, free: 6.234 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.9/1.9, allocations: 205.1 MB / 222.7 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07457/0.07457, allocations: 12.6 MB / 282.6 MB, free: 8.895 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.001666/0.001666, allocations: 79.89 kB / 342.8 MB, free: 21.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1137, allocations: 49.41 MB / 392.2 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.003734/0.1175, allocations: 2.318 MB / 394.5 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.119, allocations: 0.8541 MB / 395.4 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.1192, allocations: 7.938 kB / 395.4 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000181/0.1194, allocations: 35.66 kB / 395.4 MB, free: 488 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.1195, allocations: 35.78 kB / 395.4 MB, free: 452 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000575/0.1201, allocations: 199.7 kB / 395.6 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003071/0.1204, allocations: 283.3 kB / 395.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002364/0.1206, allocations: 140.8 kB / 396 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.1208, allocations: 107.4 kB / 396.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.121, allocations: 103.4 kB / 396.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.121, allocations: 12 kB / 396.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1211, allocations: 55.95 kB / 396.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.034e-05/0.1212, allocations: 55.7 kB / 396.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1213, allocations: 115.3 kB / 396.5 MB, free: 15.39 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.1217, allocations: 299.2 kB / 396.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1217, allocations: 0 / 396.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1217, allocations: 7.922 kB / 396.8 MB, free: 15.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1217, allocations: 0 / 396.8 MB, free: 15.09 MB / 302.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.0009169/0.1226, allocations: 0.5728 MB / 397.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1226, allocations: 8.031 kB / 397.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.216e-05/0.1227, allocations: 40.56 kB / 397.4 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1231, allocations: 303 kB / 397.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.1231, allocations: 16.81 kB / 397.7 MB, free: 14.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.1231, allocations: 16.38 kB / 397.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.1243, allocations: 0.6465 MB / 398.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.1243, allocations: 0 / 398.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1243, allocations: 4 kB / 398.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1243, allocations: 8 kB / 398.4 MB, free: 13.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003796/0.1247, allocations: 164.2 kB / 398.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.1253, allocations: 0.5296 MB / 399.1 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008179/0.1261, allocations: 0.5596 MB / 399.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.1265, allocations: 228.3 kB / 399.9 MB, free: 11.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007151/0.1272, allocations: 0.5973 MB / 400.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.1272, allocations: 34.56 kB / 400.5 MB, free: 10.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 2.976e-06/0.1272, allocations: 3.984 kB / 400.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.0009342/0.1282, allocations: 459 kB / 400.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.1283, allocations: 203.9 kB / 401.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1285, allocations: 237 kB / 401.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1285, allocations: 29.7 kB / 401.4 MB, free: 9.996 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.1286, allocations: 141 kB / 401.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.72e-05/0.1287, allocations: 31.73 kB / 401.6 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.1288, allocations: 70.38 kB / 401.6 MB, free: 9.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001119/0.1289, allocations: 338.8 kB / 402 MB, free: 9.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.129, allocations: 60.83 kB / 402 MB, free: 9.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.1293, allocations: 352 kB / 402.4 MB, free: 8.871 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.1297, allocations: 420.4 kB / 402.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1297, allocations: 4 kB / 402.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005106/0.1302, allocations: 393.5 kB / 403.2 MB, free: 7.934 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1302, allocations: 8 kB / 403.2 MB, free: 7.926 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.1303, allocations: 12 kB / 403.2 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.1303, allocations: 12 kB / 403.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.1305, allocations: 87.84 kB / 403.3 MB, free: 7.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.1305, allocations: 19.92 kB / 403.3 MB, free: 7.797 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.1307, allocations: 35.72 kB / 403.3 MB, free: 7.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.1308, allocations: 27.98 kB / 403.4 MB, free: 7.734 MB / 302.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.0001546/0.1309, allocations: 185.7 kB / 403.6 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000523/0.1315, allocations: 306.1 kB / 403.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005321/0.132, allocations: 324.1 kB / 404.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.132, allocations: 12 kB / 404.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.132, allocations: 0 / 404.2 MB, free: 6.902 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.132, allocations: 7.922 kB / 404.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.1324, allocations: 301.2 kB / 404.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.1324, allocations: 0 / 404.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.1327, allocations: 83.88 kB / 404.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1327, allocations: 4 kB / 404.6 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.1327, allocations: 4 kB / 404.6 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1327, allocations: 4 kB / 404.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1327, allocations: 0 / 404.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006236/0.1334, allocations: 0.5309 MB / 405.1 MB, free: 5.902 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.1334, allocations: 112.6 kB / 405.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/0.1335, allocations: 19.98 kB / 405.2 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.1337, allocations: 19.98 kB / 405.3 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1337, allocations: 7.938 kB / 405.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.1338, allocations: 11.98 kB / 405.3 MB, free: 5.715 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1339, allocations: 176.4 kB / 405.5 MB, free: 5.543 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1339, allocations: 0 / 405.5 MB, free: 5.543 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004248/0.1344, allocations: 56 kB / 405.5 MB, free: 5.488 MB / 302.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.0001758/0.1345, allocations: 131.3 kB / 405.6 MB, free: 5.352 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004724/0.135, allocations: 281.8 kB / 405.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.135, allocations: 0 / 405.9 MB, free: 5.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.414e-05/0.1351, allocations: 15.98 kB / 405.9 MB, free: 5.062 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008352/0.1359, allocations: 261.9 kB / 406.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1369, allocations: 0.616 MB / 406.8 MB, free: 4.152 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.1373, allocations: 0.7881 MB / 407.6 MB, free: 3.336 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.71e-05/0.1373, allocations: 34.97 kB / 407.6 MB, free: 3.301 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.1374, allocations: 27.44 kB / 407.6 MB, free: 3.273 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1374, allocations: 3.938 kB / 407.7 MB, free: 3.27 MB / 302.1 MB Notification: Performance of Templates: time 0.006862/0.1443, allocations: 3.643 MB / 411.3 MB, free: 15.62 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)