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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007921/0.0007922, allocations: 103 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008758/0.0008759, allocations: 181.8 kB / 16.96 MB, free: 6.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.4 MB / 223.2 MB, free: 5.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.062/0.062, allocations: 12.6 MB / 284 MB, free: 8.578 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006613/0.0006613, allocations: 20 kB / 345.2 MB, free: 20.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0784/0.07908, allocations: 50.39 MB / 395.5 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.0005438/0.07965, allocations: 227 kB / 395.8 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.07987, allocations: 75.83 kB / 395.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.552e-05/0.07992, allocations: 0 / 395.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.07994, allocations: 0 / 395.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 1.925e-05/0.07997, allocations: 0 / 395.8 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.08016, allocations: 15.92 kB / 395.9 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 3.743e-05/0.08021, allocations: 4 kB / 395.9 MB, free: 2.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.08026, allocations: 3.984 kB / 395.9 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.753e-05/0.08028, allocations: 8 kB / 395.9 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.281e-05/0.08032, allocations: 0 / 395.9 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.08034, allocations: 0 / 395.9 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-06/0.08035, allocations: 0 / 395.9 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.08037, allocations: 3.938 kB / 395.9 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.607e-05/0.08041, allocations: 29.7 kB / 395.9 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 4.136e-05/0.08046, allocations: 3.984 kB / 395.9 MB, free: 2.062 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.08047, allocations: 0 / 395.9 MB, free: 2.062 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.08047, allocations: 0 / 395.9 MB, free: 2.062 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.08048, allocations: 0 / 395.9 MB, free: 2.062 MB / 286.1 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.0002336/0.08072, allocations: 323.5 kB / 396.2 MB, free: 1.695 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.08076, allocations: 8.031 kB / 396.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.0808, allocations: 0.9375 kB / 396.2 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.08094, allocations: 168.3 kB / 396.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.08095, allocations: 384 / 396.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-06/0.08096, allocations: 384 / 396.4 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.08117, allocations: 160.9 kB / 396.6 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.0812, allocations: 75.47 kB / 396.6 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.08125, allocations: 158.4 kB / 396.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.08129, allocations: 150.6 kB / 396.9 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.58e-05/0.08134, allocations: 154.5 kB / 397.1 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.08159, allocations: 449.9 kB / 397.5 MB, free: 296 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.657e-05/0.08166, allocations: 169.1 kB / 397.7 MB, free: 116 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.651e-05/0.08169, allocations: 84.08 kB / 397.8 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.08173, allocations: 75.28 kB / 397.8 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.08177, allocations: 117.9 kB / 398 MB, free: 15.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.08178, allocations: 0 / 398 MB, free: 15.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.344e-05/0.08185, allocations: 33.64 kB / 398 MB, free: 15.79 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.0819, allocations: 126.7 kB / 398.1 MB, free: 15.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.08197, allocations: 97.84 kB / 398.2 MB, free: 15.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.08198, allocations: 25.7 kB / 398.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.59e-05/0.08201, allocations: 80.14 kB / 398.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/0.08202, allocations: 128 / 398.3 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/0.08204, allocations: 13.72 kB / 398.3 MB, free: 15.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.08213, allocations: 318.8 kB / 398.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-06/0.08214, allocations: 0 / 398.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.054e-06/0.08215, allocations: 3.938 kB / 398.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.075e-05/0.08217, allocations: 75.28 kB / 398.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.179e-05/0.0822, allocations: 75.28 kB / 398.8 MB, free: 14.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.948e-05/0.08225, allocations: 29.7 kB / 398.8 MB, free: 14.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.08229, allocations: 79.28 kB / 398.9 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.08232, allocations: 87.2 kB / 399 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.537e-05/0.08238, allocations: 158.5 kB / 399.1 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.245e-05/0.08241, allocations: 83.28 kB / 399.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.174e-05/0.08246, allocations: 154.5 kB / 399.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.97e-05/0.08252, allocations: 75.28 kB / 399.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.08255, allocations: 76.34 kB / 399.5 MB, free: 14.2 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.047e-05/0.08265, allocations: 272.3 kB / 399.8 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.0827, allocations: 101 kB / 399.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.08275, allocations: 119.8 kB / 400 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-05/0.08281, allocations: 180.2 kB / 400.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-05/0.08287, allocations: 180.3 kB / 400.3 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.057e-05/0.08292, allocations: 184.2 kB / 400.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.08311, allocations: 397.2 kB / 400.9 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/0.08315, allocations: 109 kB / 401 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.155e-05/0.08318, allocations: 108.9 kB / 401.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-05/0.08324, allocations: 176.6 kB / 401.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.325e-05/0.0833, allocations: 188.1 kB / 401.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-05/0.08335, allocations: 184.3 kB / 401.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.841e-05/0.08341, allocations: 180.3 kB / 401.8 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.08352, allocations: 303.8 kB / 402.1 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.018e-05/0.08358, allocations: 186 kB / 402.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.08365, allocations: 184.2 kB / 402.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.08372, allocations: 101 kB / 402.6 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.737e-05/0.08378, allocations: 188.2 kB / 402.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.08382, allocations: 101 kB / 402.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of sorting global known variables: time 2.785e-05/0.08385, allocations: 75.28 kB / 403 MB, free: 10.53 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.08386, allocations: 0 / 403 MB, free: 10.53 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002269/0.08409, allocations: 4.094 kB / 403 MB, free: 10.53 MB / 302.1 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 (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.0001181/0.08422, allocations: 174.5 kB / 403.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 3.95e-05/0.08426, allocations: 3.938 kB / 403.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.08427, allocations: 0 / 403.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.08427, allocations: 0 / 403.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.08462, allocations: 0.5224 MB / 403.7 MB, free: 9.816 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000165/0.08479, allocations: 153.9 kB / 403.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.08497, allocations: 0.6731 MB / 404.5 MB, free: 8.938 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.065e-06/0.08499, allocations: 3.984 kB / 404.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.505e-05/0.08501, allocations: 7.438 kB / 404.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.08501, allocations: 0 / 404.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of Templates: time 0.001347/0.08636, allocations: 164.9 kB / 404.6 MB, free: 8.766 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: