Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.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.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001644/0.001644, allocations: 181.4 kB / 13.23 MB, free: 2.086 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.701/1.701, allocations: 205.2 MB / 219 MB, free: 9.141 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.0008537/0.0008536, allocations: 91.7 kB / 267.1 MB, free: 9.266 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.0816/0.0816, allocations: 12.6 MB / 327.8 MB, free: 12.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.547e-05/2.549e-05, allocations: 4 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09195/0.09199, allocations: 50.37 MB / 436.4 MB, free: 19.23 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4255, allocations: 76.09 MB / 0.5004 GB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001748/0.4257, allocations: 50.97 kB / 0.5005 GB, free: 11.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003316/0.4291, allocations: 1.407 MB / 0.5019 GB, free: 11.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4291, allocations: 0 / 0.5019 GB, free: 11.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.4291, allocations: 0 / 0.5019 GB, free: 11.56 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001895/0.4293, allocations: 310.1 kB / 0.5022 GB, free: 11.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4294, allocations: 7.75 kB / 0.5022 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.4294, allocations: 4.469 kB / 0.5022 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.4295, allocations: 169.7 kB / 0.5023 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.4296, allocations: 0 / 0.5023 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.4296, allocations: 7.938 kB / 0.5023 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.4298, allocations: 156.2 kB / 0.5025 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.4298, allocations: 75.28 kB / 0.5026 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.4298, allocations: 154.6 kB / 0.5027 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.4298, allocations: 150.6 kB / 0.5029 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.4299, allocations: 154.4 kB / 0.503 GB, free: 10.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.43, allocations: 443.9 kB / 0.5034 GB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.172e-05/0.4301, allocations: 173.1 kB / 0.5036 GB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.4301, allocations: 80.41 kB / 0.5037 GB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.4301, allocations: 79.23 kB / 0.5037 GB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.4301, allocations: 109.8 kB / 0.5038 GB, free: 9.414 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.4301, allocations: 0 / 0.5038 GB, free: 9.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 5.806e-05/0.4302, allocations: 36.03 kB / 0.5039 GB, free: 9.379 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.4302, allocations: 134.6 kB / 0.504 GB, free: 9.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.327e-05/0.4303, allocations: 85 kB / 0.5041 GB, free: 9.145 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.2e-06/0.4303, allocations: 29.48 kB / 0.5041 GB, free: 9.113 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.19e-05/0.4303, allocations: 80.14 kB / 0.5042 GB, free: 9.031 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.4303, allocations: 0 / 0.5042 GB, free: 9.031 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.3e-07/0.4303, allocations: 0 / 0.5042 GB, free: 9.031 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.423e-05/0.4304, allocations: 310.8 kB / 0.5045 GB, free: 8.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-06/0.4304, allocations: 4.062 kB / 0.5045 GB, free: 8.715 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-06/0.4304, allocations: 4 kB / 0.5045 GB, free: 8.711 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.145e-05/0.4304, allocations: 75.28 kB / 0.5046 GB, free: 8.637 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.4304, allocations: 75.28 kB / 0.5046 GB, free: 8.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.016e-05/0.4305, allocations: 35.86 kB / 0.5047 GB, free: 8.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.4305, allocations: 82.95 kB / 0.5048 GB, free: 8.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.4305, allocations: 82.94 kB / 0.5048 GB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.4306, allocations: 150.6 kB / 0.505 GB, free: 8.227 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.146e-05/0.4306, allocations: 83.22 kB / 0.5051 GB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/0.4306, allocations: 150.6 kB / 0.5052 GB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.4307, allocations: 81.19 kB / 0.5053 GB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.4307, allocations: 82.59 kB / 0.5054 GB, free: 7.844 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.4307, allocations: 255.3 kB / 0.5056 GB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.4308, allocations: 107.1 kB / 0.5057 GB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.4308, allocations: 119.6 kB / 0.5058 GB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.303e-05/0.4308, allocations: 176.3 kB / 0.506 GB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/0.4309, allocations: 182.1 kB / 0.5062 GB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.853e-05/0.4309, allocations: 184.1 kB / 0.5063 GB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001268/0.431, allocations: 399 kB / 0.5067 GB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.4311, allocations: 108.9 kB / 0.5068 GB, free: 6.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.519e-05/0.4311, allocations: 105 kB / 0.5069 GB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/0.4311, allocations: 185.6 kB / 0.5071 GB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.4311, allocations: 180.2 kB / 0.5073 GB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.25e-05/0.4312, allocations: 180.2 kB / 0.5074 GB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-05/0.4312, allocations: 191.8 kB / 0.5076 GB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.875e-05/0.4313, allocations: 299.3 kB / 0.5079 GB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.4313, allocations: 184.2 kB / 0.5081 GB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.4313, allocations: 180.3 kB / 0.5083 GB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.558e-05/0.4314, allocations: 104.9 kB / 0.5084 GB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.4314, allocations: 193.8 kB / 0.5085 GB, free: 4.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.4314, allocations: 104.9 kB / 0.5086 GB, free: 4.312 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.547e-05/0.4315, allocations: 75.28 kB / 0.5087 GB, free: 4.238 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4315, allocations: 0 / 0.5087 GB, free: 4.238 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.4317, allocations: 0 / 0.5087 GB, free: 4.238 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.403e-05/0.4318, allocations: 171.5 kB / 0.5089 GB, free: 4.074 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 3.004e-05/0.4318, allocations: 4.578 kB / 0.5089 GB, free: 4.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4318, allocations: 3.938 kB / 0.5089 GB, free: 4.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.4318, allocations: 0 / 0.5089 GB, free: 4.066 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.4322, allocations: 0.524 MB / 0.5094 GB, free: 19.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001431/0.4323, allocations: 113.1 kB / 0.5095 GB, free: 19.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.4325, allocations: 0.6835 MB / 0.5102 GB, free: 18.71 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.963e-06/0.4326, allocations: 0 / 0.5102 GB, free: 18.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.422e-05/0.4326, allocations: 7.438 kB / 0.5102 GB, free: 18.7 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4326, allocations: 0 / 0.5102 GB, free: 18.7 MB / 346.7 MB Notification: Performance of Templates: time 0.001432/0.434, allocations: 174.2 kB / 0.5103 GB, free: 18.65 MB / 346.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1)