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.0008962/0.0008961, allocations: 173.2 kB / 16.76 MB, free: 5.051 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.276/1.276, allocations: 205 MB / 222.5 MB, free: 9.145 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.0009837/0.0009837, allocations: 100.6 kB / 270.5 MB, free: 8.668 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.06873/0.06873, allocations: 12.56 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 19.98 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08226/0.08262, allocations: 49.98 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSimulatedADC): time 0.001974/0.08464, allocations: 1.986 MB / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.08579, allocations: 0.8541 MB / 444.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.08594, allocations: 11.94 kB / 444.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.08612, allocations: 35.66 kB / 444.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.08623, allocations: 35.72 kB / 444.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005117/0.08675, allocations: 203.7 kB / 444.8 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.08698, allocations: 283.2 kB / 445.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.0872, allocations: 140.8 kB / 445.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.08731, allocations: 87.38 kB / 445.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.08743, allocations: 83.44 kB / 445.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.08746, allocations: 4 kB / 445.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.125e-05/0.08755, allocations: 47.97 kB / 445.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.745e-05/0.08762, allocations: 51.69 kB / 445.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.0877, allocations: 91.3 kB / 445.6 MB, free: 12.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.08789, allocations: 227.7 kB / 445.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.0879, allocations: 0 / 445.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.08791, allocations: 0 / 445.8 MB, free: 12.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.08792, allocations: 0 / 445.8 MB, free: 12.27 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.0006521/0.08857, allocations: 0.5378 MB / 446.3 MB, free: 11.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.08861, allocations: 12.03 kB / 446.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.08867, allocations: 28.56 kB / 446.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.08895, allocations: 303.1 kB / 446.7 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.08898, allocations: 16.81 kB / 446.7 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.08901, allocations: 20.38 kB / 446.7 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009398/0.08996, allocations: 0.6699 MB / 447.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.08998, allocations: 4 kB / 447.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.09001, allocations: 4 kB / 447.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-06/0.09002, allocations: 7.984 kB / 447.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003521/0.09038, allocations: 184.2 kB / 447.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004373/0.09082, allocations: 0.5336 MB / 448.1 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.09153, allocations: 0.5829 MB / 448.7 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.09185, allocations: 244.3 kB / 448.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/0.09233, allocations: 0.5934 MB / 449.5 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.09236, allocations: 42.56 kB / 449.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 1.803e-06/0.09236, allocations: 0 / 449.6 MB, free: 8.082 MB / 298.7 MB Notification: Performance of matching and sorting (n=44): time 0.0008499/0.09322, allocations: 487.4 kB / 450 MB, free: 7.602 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.29e-05/0.09331, allocations: 208.2 kB / 450.2 MB, free: 7.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.09348, allocations: 237 kB / 450.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.09351, allocations: 29.7 kB / 450.5 MB, free: 7.082 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.516e-05/0.09357, allocations: 137 kB / 450.6 MB, free: 6.945 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.198e-05/0.09361, allocations: 35.67 kB / 450.7 MB, free: 6.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.09365, allocations: 37.7 kB / 450.7 MB, free: 6.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.596e-05/0.09371, allocations: 342.8 kB / 451 MB, free: 6.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.09382, allocations: 68.83 kB / 451.1 MB, free: 6.457 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.09402, allocations: 348 kB / 451.4 MB, free: 5.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.09432, allocations: 420.4 kB / 451.9 MB, free: 5.438 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.09433, allocations: 8 kB / 451.9 MB, free: 5.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0004435/0.09478, allocations: 397.6 kB / 452.3 MB, free: 5.035 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.0948, allocations: 8.938 kB / 452.3 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.09482, allocations: 12 kB / 452.3 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.09484, allocations: 12 kB / 452.3 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.09505, allocations: 87.83 kB / 452.4 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.09507, allocations: 19.92 kB / 452.4 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.09525, allocations: 47.62 kB / 452.4 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.09528, allocations: 24 kB / 452.5 MB, free: 4.828 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 ($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.0001213/0.09541, allocations: 177.6 kB / 452.6 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004819/0.09589, allocations: 314.1 kB / 452.9 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004994/0.0964, allocations: 352.2 kB / 453.3 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.09642, allocations: 8 kB / 453.3 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.09643, allocations: 0 / 453.3 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.09644, allocations: 3.938 kB / 453.3 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.09668, allocations: 305.2 kB / 453.6 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.0967, allocations: 4 kB / 453.6 MB, free: 3.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.09695, allocations: 79.89 kB / 453.7 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.09697, allocations: 4 kB / 453.7 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.09699, allocations: 19.92 kB / 453.7 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.097, allocations: 4 kB / 453.7 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.09701, allocations: 4 kB / 453.7 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005565/0.09757, allocations: 0.5428 MB / 454.3 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.634e-05/0.09762, allocations: 116.6 kB / 454.4 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.09767, allocations: 16 kB / 454.4 MB, free: 2.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.09788, allocations: 27.98 kB / 454.4 MB, free: 2.766 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.09792, allocations: 7.922 kB / 454.4 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.09795, allocations: 12 kB / 454.4 MB, free: 2.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001082/0.09806, allocations: 172.5 kB / 454.6 MB, free: 2.578 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09806, allocations: 0 / 454.6 MB, free: 2.578 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003829/0.09845, allocations: 56 kB / 454.7 MB, free: 2.523 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.0001351/0.09859, allocations: 119.2 kB / 454.8 MB, free: 2.398 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.09903, allocations: 296.4 kB / 455.1 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.09904, allocations: 0 / 455.1 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.01e-05/0.09908, allocations: 17.61 kB / 455.1 MB, free: 2.094 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007879/0.09988, allocations: 278 kB / 455.3 MB, free: 1.816 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/0.1008, allocations: 0.6485 MB / 456 MB, free: 1.129 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.1009, allocations: 0.7881 MB / 456.8 MB, free: 320 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.101, allocations: 31.44 kB / 456.8 MB, free: 288 kB / 298.7 MB Notification: Performance of SimCode: time 4.01e-07/0.101, allocations: 3.938 kB / 456.8 MB, free: 284 kB / 298.7 MB Notification: Performance of Templates: time 0.005494/0.1065, allocations: 3.663 MB / 460.5 MB, free: 12.61 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)