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.003192/0.003198, allocations: 187.7 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.7/3.7, allocations: 205.4 MB / 222.6 MB, free: 13.84 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.001977/0.001977, allocations: 106.8 kB / 270.9 MB, free: 13.36 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.1736/0.1736, allocations: 12.6 MB / 331.8 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001038, allocations: 13.44 kB / 392 MB, free: 54.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.2126, allocations: 50.38 MB / 442.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.001082/0.2138, allocations: 220.5 kB / 442.6 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004058/0.2143, allocations: 67.84 kB / 442.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.953e-05/0.2144, allocations: 0 / 442.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.2145, allocations: 3.938 kB / 442.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.332e-05/0.2145, allocations: 0 / 442.6 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.2148, allocations: 19.92 kB / 442.7 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 5.623e-05/0.2149, allocations: 0 / 442.7 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.268e-05/0.215, allocations: 3.984 kB / 442.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.215, allocations: 4 kB / 442.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.328e-05/0.2151, allocations: 0 / 442.7 MB, free: 11.31 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.2151, allocations: 4 kB / 442.7 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.2152, allocations: 0 / 442.7 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.979e-05/0.2152, allocations: 3.938 kB / 442.7 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.2153, allocations: 29.7 kB / 442.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 4.95e-05/0.2153, allocations: 3.984 kB / 442.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2154, allocations: 3.938 kB / 442.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2154, allocations: 0 / 442.7 MB, free: 11.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.2154, allocations: 0 / 442.7 MB, free: 11.26 MB / 282.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.0003763/0.2158, allocations: 319.4 kB / 443 MB, free: 10.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.2159, allocations: 12.03 kB / 443 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.85e-05/0.2159, allocations: 0 / 443 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.2162, allocations: 167 kB / 443.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.2162, allocations: 0 / 443.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.2162, allocations: 3.953 kB / 443.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003459/0.2166, allocations: 156.3 kB / 443.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.2166, allocations: 79.28 kB / 443.4 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.2167, allocations: 150.6 kB / 443.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.2168, allocations: 154.6 kB / 443.7 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.307e-05/0.2169, allocations: 154.5 kB / 443.9 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00041/0.2173, allocations: 445.9 kB / 444.3 MB, free: 9.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.162e-05/0.2174, allocations: 169.1 kB / 444.5 MB, free: 9.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.2175, allocations: 83.22 kB / 444.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.2175, allocations: 109.8 kB / 444.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of pre-optimization done (n=0): time 3.126e-06/0.2176, allocations: 0 / 444.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001247/0.2177, allocations: 29.64 kB / 444.7 MB, free: 9.082 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.2178, allocations: 130.7 kB / 444.8 MB, free: 8.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.2179, allocations: 93.86 kB / 444.9 MB, free: 8.84 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.2179, allocations: 25.7 kB / 444.9 MB, free: 8.809 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.218, allocations: 150.6 kB / 445.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.218, allocations: 0 / 445.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.91e-07/0.218, allocations: 0 / 445.1 MB, free: 8.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.2181, allocations: 318.8 kB / 445.4 MB, free: 8.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-06/0.2182, allocations: 4.125 kB / 445.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.983e-06/0.2182, allocations: 0 / 445.4 MB, free: 8.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.2182, allocations: 75.28 kB / 445.5 MB, free: 8.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.925e-05/0.2183, allocations: 75.28 kB / 445.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001013/0.2184, allocations: 33.64 kB / 445.6 MB, free: 8.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.2184, allocations: 83.23 kB / 445.7 MB, free: 8.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.62e-05/0.2185, allocations: 75.28 kB / 445.7 MB, free: 7.992 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.77e-05/0.2186, allocations: 154.6 kB / 445.9 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.44e-05/0.2186, allocations: 83.22 kB / 446 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-05/0.2187, allocations: 154.7 kB / 446.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.2188, allocations: 83.22 kB / 446.2 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.669e-05/0.2188, allocations: 85.11 kB / 446.3 MB, free: 7.441 MB / 282.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.0001223/0.219, allocations: 260.2 kB / 446.5 MB, free: 7.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.767e-05/0.2191, allocations: 105 kB / 446.6 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.48e-05/0.2192, allocations: 119.8 kB / 446.8 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-05/0.2192, allocations: 184.2 kB / 446.9 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.343e-05/0.2193, allocations: 180.2 kB / 447.1 MB, free: 6.566 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.634e-05/0.2194, allocations: 180.3 kB / 447.3 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.2197, allocations: 401.2 kB / 447.7 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.502e-05/0.2198, allocations: 108.9 kB / 447.8 MB, free: 5.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.2198, allocations: 101 kB / 447.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-05/0.2199, allocations: 180.2 kB / 448.1 MB, free: 5.531 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.2199, allocations: 188.3 kB / 448.2 MB, free: 5.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.613e-05/0.22, allocations: 184.2 kB / 448.4 MB, free: 5.152 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-05/0.2201, allocations: 184.2 kB / 448.6 MB, free: 4.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.2202, allocations: 312.1 kB / 448.9 MB, free: 4.637 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.2203, allocations: 178.1 kB / 449.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.494e-05/0.2204, allocations: 188.2 kB / 449.3 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.2205, allocations: 101 kB / 449.4 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.2206, allocations: 188.2 kB / 449.5 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.2207, allocations: 104.9 kB / 449.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.2208, allocations: 79.28 kB / 449.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.2208, allocations: 0 / 449.7 MB, free: 3.762 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006689/0.2215, allocations: 0 / 449.7 MB, free: 3.762 MB / 282.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.000162/0.2217, allocations: 170.5 kB / 449.9 MB, free: 3.586 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.556e-05/0.2218, allocations: 4.094 kB / 449.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.2218, allocations: 0 / 449.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.2218, allocations: 0 / 449.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000354/0.2222, allocations: 0.5299 MB / 450.4 MB, free: 3.051 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.2225, allocations: 171.8 kB / 450.6 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.2227, allocations: 0.6776 MB / 451.3 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.2227, allocations: 7.438 kB / 451.3 MB, free: 2.137 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.2227, allocations: 4 kB / 451.3 MB, free: 2.133 MB / 282.7 MB Notification: Performance of Templates: time 0.00266/0.2254, allocations: 318.8 kB / 451.6 MB, free: 1.824 MB / 282.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)