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.0006967/0.0006968, allocations: 97.72 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007214/0.0007214, allocations: 184.7 kB / 16.96 MB, free: 6.871 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.207/1.207, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.063/0.063, allocations: 12.6 MB / 284 MB, free: 8.602 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.0006298/0.0006299, allocations: 16 kB / 345.2 MB, free: 20.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07588/0.07652, allocations: 50.39 MB / 395.5 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.002292/0.07884, allocations: 1.956 MB / 397.5 MB, free: 476 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.08032, allocations: 0.8464 MB / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.08053, allocations: 4 kB / 398.3 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001533/0.0807, allocations: 39.66 kB / 398.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.08084, allocations: 35.72 kB / 398.4 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.08144, allocations: 191.7 kB / 398.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.08175, allocations: 279.3 kB / 398.9 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.082, allocations: 136.8 kB / 399 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.08213, allocations: 83.41 kB / 399.1 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.08228, allocations: 91.41 kB / 399.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.608e-05/0.08232, allocations: 7.938 kB / 399.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.089e-05/0.08242, allocations: 43.97 kB / 399.2 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.291e-05/0.0825, allocations: 51.7 kB / 399.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.08261, allocations: 121 kB / 399.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.08289, allocations: 283.1 kB / 399.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.0829, allocations: 0 / 399.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.08291, allocations: 0 / 399.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.08292, allocations: 0 / 399.7 MB, free: 14.27 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.0007567/0.08368, allocations: 0.5456 MB / 400.2 MB, free: 13.67 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.08372, allocations: 12.03 kB / 400.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.0838, allocations: 32.56 kB / 400.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.08414, allocations: 291.1 kB / 400.6 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.271e-05/0.08417, allocations: 20.81 kB / 400.6 MB, free: 13.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.0842, allocations: 20.36 kB / 400.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.08534, allocations: 0.6738 MB / 401.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.08536, allocations: 0 / 401.3 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.08539, allocations: 8 kB / 401.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.0854, allocations: 8 kB / 401.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.08585, allocations: 180.2 kB / 401.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.08641, allocations: 0.5413 MB / 402 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008396/0.08727, allocations: 0.5791 MB / 402.6 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003657/0.08764, allocations: 240.2 kB / 402.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005606/0.08821, allocations: 0.5934 MB / 403.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.08825, allocations: 42.55 kB / 403.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=44): time 1.723e-06/0.08826, allocations: 4 kB / 403.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=44): time 0.000954/0.08922, allocations: 483.6 kB / 403.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.08934, allocations: 208 kB / 404.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.08956, allocations: 237 kB / 404.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.08959, allocations: 33.7 kB / 404.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.775e-05/0.08969, allocations: 133 kB / 404.5 MB, free: 8.945 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.201e-05/0.08974, allocations: 35.72 kB / 404.6 MB, free: 8.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.08979, allocations: 33.7 kB / 404.6 MB, free: 8.871 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.08989, allocations: 342.8 kB / 404.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.09001, allocations: 64.84 kB / 405 MB, free: 8.465 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.09028, allocations: 352 kB / 405.3 MB, free: 7.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.09067, allocations: 428.4 kB / 405.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.09068, allocations: 0 / 405.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000538/0.09123, allocations: 393.5 kB / 406.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.09125, allocations: 9.25 kB / 406.1 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.09127, allocations: 12 kB / 406.2 MB, free: 7.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.0913, allocations: 12 kB / 406.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.09153, allocations: 95.77 kB / 406.3 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.09156, allocations: 19.88 kB / 406.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.09175, allocations: 47.61 kB / 406.3 MB, free: 6.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.09178, allocations: 28.25 kB / 406.4 MB, free: 6.824 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.0001526/0.09194, allocations: 173.8 kB / 406.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/0.0925, allocations: 330.1 kB / 406.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005818/0.09309, allocations: 340.2 kB / 407.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.09311, allocations: 4 kB / 407.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.09312, allocations: 0 / 407.2 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.09313, allocations: 11.92 kB / 407.2 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.09345, allocations: 301.2 kB / 407.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.09346, allocations: 0 / 407.5 MB, free: 5.617 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.09376, allocations: 91.89 kB / 407.6 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.09377, allocations: 0 / 407.6 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.0938, allocations: 12 kB / 407.6 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.0938, allocations: 4 kB / 407.6 MB, free: 5.512 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.09381, allocations: 3.984 kB / 407.6 MB, free: 5.508 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006563/0.09447, allocations: 0.5426 MB / 408.1 MB, free: 4.941 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.09456, allocations: 116.6 kB / 408.3 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.09461, allocations: 16 kB / 408.3 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.09482, allocations: 27.98 kB / 408.3 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.011e-05/0.09486, allocations: 3.938 kB / 408.3 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.442e-05/0.09489, allocations: 19.92 kB / 408.3 MB, free: 4.742 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.09504, allocations: 168.5 kB / 408.5 MB, free: 4.578 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09504, allocations: 4 kB / 408.5 MB, free: 4.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004153/0.09546, allocations: 52 kB / 408.5 MB, free: 4.523 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.0001493/0.09562, allocations: 123.2 kB / 408.7 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005011/0.09613, allocations: 293.9 kB / 409 MB, free: 4.109 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.09614, allocations: 4 kB / 409 MB, free: 4.105 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.288e-05/0.09619, allocations: 8.25 kB / 409 MB, free: 4.098 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008629/0.09706, allocations: 282.1 kB / 409.2 MB, free: 3.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.0981, allocations: 0.6353 MB / 409.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.0984, allocations: 0.7881 MB / 410.7 MB, free: 2.336 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.963e-05/0.0985, allocations: 30.97 kB / 410.7 MB, free: 2.305 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.974e-05/0.09857, allocations: 31.42 kB / 410.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.09857, allocations: 0 / 410.7 MB, free: 2.273 MB / 302.1 MB Notification: Performance of Templates: time 0.00677/0.1053, allocations: 3.611 MB / 414.3 MB, free: 14.66 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: