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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.0008658/0.0008658, allocations: 173.4 kB / 16.79 MB, free: 4.887 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.4 MB / 223 MB, free: 8.988 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007335/0.0007337, allocations: 101.4 kB / 271.3 MB, free: 8.219 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07055/0.07055, allocations: 12.59 MB / 332.2 MB, free: 11.21 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003581/0.0003581, allocations: 15.94 kB / 393.3 MB, free: 65.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07053/0.07091, allocations: 50.38 MB / 443.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.001878/0.07283, allocations: 1.947 MB / 445.6 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.07399, allocations: 0.8465 MB / 446.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.07416, allocations: 11.88 kB / 446.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.07431, allocations: 39.66 kB / 446.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.07443, allocations: 27.8 kB / 446.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005723/0.07501, allocations: 203.6 kB / 446.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002226/0.07524, allocations: 283.2 kB / 447 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.07545, allocations: 132.8 kB / 447.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.07557, allocations: 91.44 kB / 447.3 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.07572, allocations: 83.38 kB / 447.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.07576, allocations: 11.98 kB / 447.3 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.542e-05/0.07585, allocations: 39.97 kB / 447.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.182e-05/0.07593, allocations: 43.77 kB / 447.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.133e-05/0.07601, allocations: 136.9 kB / 447.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.0762, allocations: 223.6 kB / 447.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.07621, allocations: 0 / 447.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.07622, allocations: 4 kB / 447.8 MB, free: 11.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.07623, allocations: 0 / 447.8 MB, free: 11.28 MB / 298.7 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.0006658/0.0769, allocations: 0.5339 MB / 448.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.07694, allocations: 8.031 kB / 448.3 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.367e-05/0.077, allocations: 32.56 kB / 448.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.07727, allocations: 299.1 kB / 448.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.0773, allocations: 16.81 kB / 448.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.07734, allocations: 20.38 kB / 448.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009557/0.0783, allocations: 0.6699 MB / 449.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.07832, allocations: 3.938 kB / 449.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.07835, allocations: 8 kB / 449.4 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.07836, allocations: 8 kB / 449.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.07872, allocations: 180.2 kB / 449.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004464/0.07918, allocations: 0.5336 MB / 450.1 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.07991, allocations: 0.5829 MB / 450.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003147/0.08024, allocations: 248.3 kB / 450.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004884/0.08074, allocations: 0.5817 MB / 451.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.08077, allocations: 46.5 kB / 451.5 MB, free: 7.105 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 2.274e-06/0.08078, allocations: 0 / 451.5 MB, free: 7.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008583/0.08164, allocations: 487.6 kB / 452 MB, free: 6.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.288e-05/0.08174, allocations: 211.9 kB / 452.2 MB, free: 6.375 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.08192, allocations: 233 kB / 452.5 MB, free: 6.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.08195, allocations: 37.7 kB / 452.5 MB, free: 6.098 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.658e-05/0.08201, allocations: 133 kB / 452.6 MB, free: 5.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.408e-05/0.08205, allocations: 39.66 kB / 452.7 MB, free: 5.926 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.08206, allocations: 8 kB / 452.7 MB, free: 5.918 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.505e-05/0.08212, allocations: 338.8 kB / 453 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.919e-05/0.08223, allocations: 68.83 kB / 453.1 MB, free: 5.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.08242, allocations: 344 kB / 453.4 MB, free: 5.039 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.08271, allocations: 428.4 kB / 453.8 MB, free: 4.488 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.08272, allocations: 3.938 kB / 453.8 MB, free: 4.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000446/0.08317, allocations: 393.5 kB / 454.2 MB, free: 4.094 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.0832, allocations: 8.625 kB / 454.2 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.08322, allocations: 15.98 kB / 454.2 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.08324, allocations: 12 kB / 454.2 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.08347, allocations: 83.84 kB / 454.3 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.08349, allocations: 19.92 kB / 454.3 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.0837, allocations: 43.69 kB / 454.4 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.08373, allocations: 28.25 kB / 454.4 MB, free: 3.887 MB / 298.7 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 (sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[1],$CLKPRE.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.0001288/0.08387, allocations: 178.4 kB / 454.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004923/0.08437, allocations: 322.1 kB / 454.9 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005164/0.08489, allocations: 352.2 kB / 455.2 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.08491, allocations: 4 kB / 455.2 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.08492, allocations: 0 / 455.2 MB, free: 3.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.08493, allocations: 7.938 kB / 455.3 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.08519, allocations: 301.2 kB / 455.6 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.0852, allocations: 0 / 455.6 MB, free: 2.676 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.08547, allocations: 79.89 kB / 455.6 MB, free: 2.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.08548, allocations: 4 kB / 455.6 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/0.08551, allocations: 23.92 kB / 455.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.08551, allocations: 0 / 455.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.08552, allocations: 4 kB / 455.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.08608, allocations: 0.5465 MB / 456.2 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.08614, allocations: 112.6 kB / 456.3 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.08619, allocations: 20 kB / 456.3 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.0864, allocations: 27.97 kB / 456.4 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.08644, allocations: 3.938 kB / 456.4 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.08647, allocations: 12 kB / 456.4 MB, free: 1.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001134/0.08658, allocations: 172.5 kB / 456.5 MB, free: 1.637 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08659, allocations: 0 / 456.5 MB, free: 1.637 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004001/0.087, allocations: 56 kB / 456.6 MB, free: 1.582 MB / 298.7 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.0001417/0.08715, allocations: 123.4 kB / 456.7 MB, free: 1.453 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004434/0.0876, allocations: 297.9 kB / 457 MB, free: 1.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.08761, allocations: 0 / 457 MB, free: 1.164 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.08766, allocations: 15.98 kB / 457 MB, free: 1.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008368/0.08851, allocations: 274.1 kB / 457.3 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009225/0.08945, allocations: 0.6643 MB / 458 MB, free: 176 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.08978, allocations: 0.7842 MB / 458.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.742e-05/0.08986, allocations: 35.38 kB / 458.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.08987, allocations: 3.938 kB / 458.8 MB, free: 15.32 MB / 314.7 MB Notification: Performance of Templates: time 0.005558/0.09543, allocations: 3.663 MB / 462.4 MB, free: 11.66 MB / 314.7 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)