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.000948/0.000948, allocations: 181 kB / 15.8 MB, free: 6.34 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.567/1.567, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009456/0.0009455, allocations: 90.86 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07265/0.07265, allocations: 12.59 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003784, allocations: 13.72 kB / 392 MB, free: 54.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1021, allocations: 50.37 MB / 442.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1034/0.2056, allocations: 76.18 MB / 0.5064 GB, free: 14.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.2059, allocations: 55.97 kB / 0.5064 GB, free: 14.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003489/0.2094, allocations: 1.409 MB / 0.5078 GB, free: 13.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.2094, allocations: 0 / 0.5078 GB, free: 13.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.822e-06/0.2094, allocations: 0 / 0.5078 GB, free: 13.22 MB / 362.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.0002786/0.2097, allocations: 315.4 kB / 0.5081 GB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2097, allocations: 8.031 kB / 0.5081 GB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.2098, allocations: 7.984 kB / 0.5081 GB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.2099, allocations: 163 kB / 0.5083 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.21, allocations: 0 / 0.5083 GB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.21, allocations: 7.953 kB / 0.5083 GB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.2102, allocations: 160.3 kB / 0.5084 GB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.2103, allocations: 75.28 kB / 0.5085 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-05/0.2103, allocations: 150.6 kB / 0.5087 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/0.2104, allocations: 154.6 kB / 0.5088 GB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.285e-05/0.2105, allocations: 150.6 kB / 0.509 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.2107, allocations: 445.9 kB / 0.5094 GB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.25e-05/0.2108, allocations: 173.1 kB / 0.5095 GB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.2109, allocations: 79.28 kB / 0.5096 GB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.613e-05/0.2109, allocations: 109.8 kB / 0.5097 GB, free: 11.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2109, allocations: 0 / 0.5097 GB, free: 11.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.475e-05/0.211, allocations: 33.64 kB / 0.5098 GB, free: 11.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.2111, allocations: 126.7 kB / 0.5099 GB, free: 10.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.76e-05/0.2112, allocations: 85 kB / 0.51 GB, free: 10.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.2112, allocations: 25.7 kB / 0.51 GB, free: 10.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.2112, allocations: 88.27 kB / 0.5101 GB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-06/0.2112, allocations: 3.984 kB / 0.5101 GB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1e-07/0.2112, allocations: 0 / 0.5101 GB, free: 10.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.2113, allocations: 310.8 kB / 0.5104 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-06/0.2114, allocations: 4 kB / 0.5104 GB, free: 10.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-06/0.2114, allocations: 0 / 0.5104 GB, free: 10.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.595e-05/0.2114, allocations: 75.28 kB / 0.5104 GB, free: 10.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.711e-05/0.2114, allocations: 75.28 kB / 0.5105 GB, free: 10.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.478e-05/0.2115, allocations: 37.62 kB / 0.5105 GB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.2116, allocations: 83.28 kB / 0.5106 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/0.2116, allocations: 83.17 kB / 0.5107 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.907e-05/0.2117, allocations: 151.1 kB / 0.5109 GB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.979e-05/0.2117, allocations: 79.22 kB / 0.5109 GB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.217e-05/0.2118, allocations: 162.6 kB / 0.5111 GB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.2118, allocations: 75.28 kB / 0.5112 GB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.2119, allocations: 91.19 kB / 0.5112 GB, free: 9.473 MB / 362.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 () * Number of clocked 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.0001205/0.212, allocations: 260.2 kB / 0.5115 GB, free: 9.207 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.2121, allocations: 109 kB / 0.5116 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.175e-05/0.2121, allocations: 111.8 kB / 0.5117 GB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.218e-05/0.2122, allocations: 184.2 kB / 0.5119 GB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.98e-05/0.2123, allocations: 188.2 kB / 0.5121 GB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.112e-05/0.2124, allocations: 180.3 kB / 0.5122 GB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.2126, allocations: 395 kB / 0.5126 GB, free: 7.973 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.629e-05/0.2127, allocations: 104.9 kB / 0.5127 GB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.76e-05/0.2127, allocations: 109 kB / 0.5128 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.785e-05/0.2128, allocations: 188.2 kB / 0.513 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.107e-05/0.2129, allocations: 180.3 kB / 0.5132 GB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.195e-05/0.2129, allocations: 176.3 kB / 0.5133 GB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.774e-05/0.213, allocations: 192.1 kB / 0.5135 GB, free: 7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.2132, allocations: 311.8 kB / 0.5138 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.87e-05/0.2133, allocations: 182.1 kB / 0.514 GB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.491e-05/0.2133, allocations: 176.3 kB / 0.5141 GB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.2134, allocations: 108.9 kB / 0.5143 GB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.2135, allocations: 184.2 kB / 0.5144 GB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.2135, allocations: 108.9 kB / 0.5145 GB, free: 5.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.823e-05/0.2136, allocations: 79.28 kB / 0.5146 GB, free: 5.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2136, allocations: 0 / 0.5146 GB, free: 5.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002502/0.2138, allocations: 0 / 0.5146 GB, free: 5.797 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 () * Number of clocked 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.000125/0.214, allocations: 166.5 kB / 0.5148 GB, free: 5.625 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 4.21e-05/0.214, allocations: 4.484 kB / 0.5148 GB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.214, allocations: 0 / 0.5148 GB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.214, allocations: 0 / 0.5148 GB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.2143, allocations: 0.5223 MB / 0.5153 GB, free: 5.098 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.2145, allocations: 161.9 kB / 0.5154 GB, free: 4.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.2148, allocations: 0.6731 MB / 0.5161 GB, free: 4.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.037e-05/0.2148, allocations: 0 / 0.5161 GB, free: 4.211 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.773e-05/0.2148, allocations: 7.438 kB / 0.5161 GB, free: 4.203 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2148, allocations: 0 / 0.5161 GB, free: 4.203 MB / 362.7 MB Notification: Performance of Templates: time 0.001712/0.2165, allocations: 164.2 kB / 0.5163 GB, free: 4.043 MB / 362.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)