Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.002205/0.002205, allocations: 179.4 kB / 8.407 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.113/2.113, allocations: 205.3 MB / 214.1 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 91.47 kB / 262.1 MB, free: 1.613 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.09859/0.09859, allocations: 12.6 MB / 322.7 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.922e-05, allocations: 4 kB / 378.9 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3063, allocations: 50.37 MB / 429.3 MB, free: 18.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.4451, allocations: 75.43 MB / 0.4929 GB, free: 6.875 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001945/0.4454, allocations: 51.98 kB / 0.4929 GB, free: 6.824 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005365/0.4507, allocations: 1.387 MB / 0.4943 GB, free: 5.438 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4508, allocations: 4 kB / 0.4943 GB, free: 5.434 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.4508, allocations: 0 / 0.4943 GB, free: 5.434 MB / 346.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.0002734/0.4511, allocations: 306.6 kB / 0.4946 GB, free: 5.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.4511, allocations: 8.031 kB / 0.4946 GB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.231e-05/0.4512, allocations: 0 / 0.4946 GB, free: 5.082 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.4514, allocations: 167.1 kB / 0.4947 GB, free: 4.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.4514, allocations: 4 kB / 0.4947 GB, free: 4.875 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.4514, allocations: 3.953 kB / 0.4948 GB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.319e-05/0.4515, allocations: 4 kB / 0.4948 GB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002238/0.4517, allocations: 156.2 kB / 0.4949 GB, free: 4.695 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.607e-05/0.4518, allocations: 75.28 kB / 0.495 GB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.885e-05/0.4518, allocations: 150.6 kB / 0.4951 GB, free: 4.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-05/0.4519, allocations: 154.6 kB / 0.4953 GB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.4522, allocations: 418.5 kB / 0.4957 GB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.405e-05/0.4523, allocations: 177.1 kB / 0.4958 GB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.4524, allocations: 80.14 kB / 0.4959 GB, free: 3.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.713e-05/0.4524, allocations: 79.28 kB / 0.496 GB, free: 3.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/0.4525, allocations: 113.8 kB / 0.4961 GB, free: 3.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 1.734e-06/0.4525, allocations: 0 / 0.4961 GB, free: 3.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 7.721e-05/0.4526, allocations: 25.7 kB / 0.4961 GB, free: 3.379 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.4526, allocations: 51.41 kB / 0.4962 GB, free: 3.316 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.245e-05/0.4527, allocations: 89 kB / 0.4963 GB, free: 3.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.4527, allocations: 25.7 kB / 0.4963 GB, free: 3.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.4528, allocations: 154.7 kB / 0.4964 GB, free: 3.039 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-06/0.4528, allocations: 3.938 kB / 0.4964 GB, free: 3.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-07/0.4528, allocations: 0 / 0.4964 GB, free: 3.035 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.453, allocations: 314.8 kB / 0.4967 GB, free: 2.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.038e-06/0.453, allocations: 3.938 kB / 0.4967 GB, free: 2.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-06/0.453, allocations: 0 / 0.4967 GB, free: 2.715 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.22e-05/0.4531, allocations: 79.28 kB / 0.4968 GB, free: 2.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.271e-05/0.4531, allocations: 75.28 kB / 0.4969 GB, free: 2.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.026e-05/0.4532, allocations: 29.69 kB / 0.4969 GB, free: 2.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.62e-05/0.4532, allocations: 83.28 kB / 0.497 GB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.4533, allocations: 83.22 kB / 0.4971 GB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.448e-05/0.4534, allocations: 158.5 kB / 0.4972 GB, free: 2.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.063e-05/0.4534, allocations: 75.28 kB / 0.4973 GB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.114e-05/0.4535, allocations: 150.8 kB / 0.4974 GB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.142e-05/0.4536, allocations: 83.22 kB / 0.4975 GB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.4536, allocations: 83.28 kB / 0.4976 GB, free: 1.82 MB / 346.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 0.0001236/0.4537, allocations: 255.5 kB / 0.4978 GB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.4538, allocations: 107.6 kB / 0.4979 GB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.999e-05/0.4539, allocations: 112.5 kB / 0.498 GB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.157e-05/0.454, allocations: 180.3 kB / 0.4982 GB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.328e-05/0.4541, allocations: 184.2 kB / 0.4984 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.275e-05/0.4541, allocations: 180.2 kB / 0.4986 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.4544, allocations: 381.8 kB / 0.4989 GB, free: 372 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/0.4544, allocations: 101 kB / 0.499 GB, free: 264 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.611e-05/0.4545, allocations: 108.9 kB / 0.4991 GB, free: 148 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.233e-05/0.4546, allocations: 176.3 kB / 0.4993 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.178e-05/0.4547, allocations: 184.2 kB / 0.4995 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-05/0.4548, allocations: 184.2 kB / 0.4997 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.589e-05/0.4549, allocations: 176.3 kB / 0.4998 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.455, allocations: 307.7 kB / 0.5001 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.4551, allocations: 190.1 kB / 0.5003 GB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.308e-05/0.4552, allocations: 176.3 kB / 0.5005 GB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.292e-05/0.4553, allocations: 104.9 kB / 0.5006 GB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.4554, allocations: 184.2 kB / 0.5007 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.4555, allocations: 109 kB / 0.5008 GB, free: 14.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.282e-05/0.4555, allocations: 79.22 kB / 0.5009 GB, free: 14.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4555, allocations: 4.094 kB / 0.5009 GB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003142/0.4559, allocations: 0 / 0.5009 GB, free: 14.2 MB / 362.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 0.0001452/0.456, allocations: 174.5 kB / 0.5011 GB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4e-05/0.4561, allocations: 0 / 0.5011 GB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4561, allocations: 3.938 kB / 0.5011 GB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.424e-06/0.4561, allocations: 0.5 kB / 0.5011 GB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.4565, allocations: 0.5257 MB / 0.5016 GB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.4567, allocations: 141.1 kB / 0.5017 GB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.457, allocations: 0.6767 MB / 0.5024 GB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.457, allocations: 11.44 kB / 0.5024 GB, free: 12.61 MB / 362.7 MB Notification: Performance of SimCode: time 7.01e-07/0.457, allocations: 0 / 0.5024 GB, free: 12.61 MB / 362.7 MB Notification: Performance of Templates: time 0.001659/0.4587, allocations: 307.9 kB / 0.5027 GB, free: 12.3 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.pipe 2>&1)