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.001291/0.00129, allocations: 104 kB / 16.03 MB, free: 6.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 199.1 kB / 16.95 MB, free: 6.152 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.662/1.662, allocations: 205.1 MB / 222.8 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0936/0.0936, allocations: 12.58 MB / 282.7 MB, free: 15.64 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.002049/0.002049, allocations: 87.86 kB / 343 MB, free: 3.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4214/0.4234, allocations: 49.38 MB / 392.4 MB, free: 49.13 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.002803/0.4263, allocations: 0.5635 MB / 392.9 MB, free: 48.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003213/0.4267, allocations: 69.25 kB / 393 MB, free: 48.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/0.4268, allocations: 3.938 kB / 393 MB, free: 48.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.347e-05/0.4268, allocations: 0 / 393 MB, free: 48.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.947e-05/0.4268, allocations: 0 / 393 MB, free: 48.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.4271, allocations: 10.44 kB / 393 MB, free: 48.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.4272, allocations: 12.73 kB / 393 MB, free: 48.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.064e-05/0.4273, allocations: 6.016 kB / 393 MB, free: 48.72 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.077e-05/0.4273, allocations: 1.766 kB / 393 MB, free: 48.72 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.171e-05/0.4274, allocations: 5.219 kB / 393 MB, free: 48.71 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.823e-05/0.4274, allocations: 1.312 kB / 393 MB, free: 48.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.29e-05/0.4275, allocations: 0 / 393 MB, free: 48.71 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.881e-05/0.4275, allocations: 5.891 kB / 393 MB, free: 48.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.4275, allocations: 0 / 393 MB, free: 48.71 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.429e-05/0.4276, allocations: 3.844 kB / 393 MB, free: 48.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4276, allocations: 0 / 393 MB, free: 48.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.527e-06/0.4276, allocations: 0 / 393 MB, free: 48.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.4277, allocations: 1.188 kB / 393 MB, free: 48.71 MB / 318.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.000437/0.4281, allocations: 317.9 kB / 393.4 MB, free: 48.36 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.757e-05/0.4282, allocations: 9.875 kB / 393.4 MB, free: 48.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.4282, allocations: 5.688 kB / 393.4 MB, free: 48.35 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.4284, allocations: 176.9 kB / 393.5 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.4284, allocations: 384 / 393.5 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.4284, allocations: 1.906 kB / 393.5 MB, free: 48.14 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.4287, allocations: 158.1 kB / 393.7 MB, free: 47.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.4287, allocations: 75.47 kB / 393.8 MB, free: 47.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.4287, allocations: 158.5 kB / 393.9 MB, free: 47.76 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/0.4288, allocations: 151.3 kB / 394.1 MB, free: 47.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.4288, allocations: 151.7 kB / 394.2 MB, free: 47.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.4291, allocations: 449.1 kB / 394.7 MB, free: 46.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.628e-05/0.4292, allocations: 169.1 kB / 394.8 MB, free: 46.8 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.4292, allocations: 82.33 kB / 394.9 MB, free: 46.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.354e-05/0.4293, allocations: 75.28 kB / 395 MB, free: 46.65 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.329e-05/0.4293, allocations: 111.4 kB / 395.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.4293, allocations: 0 / 395.1 MB, free: 46.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 9.886e-05/0.4294, allocations: 31.28 kB / 395.1 MB, free: 46.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.4295, allocations: 131.3 kB / 395.2 MB, free: 46.36 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.4296, allocations: 97.05 kB / 395.3 MB, free: 46.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.4296, allocations: 25.7 kB / 395.4 MB, free: 46.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.149e-05/0.4296, allocations: 84.27 kB / 395.4 MB, free: 46.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.973e-06/0.4297, allocations: 0 / 395.4 MB, free: 46.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.927e-05/0.4297, allocations: 12.42 kB / 395.5 MB, free: 46.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.943e-05/0.4297, allocations: 311.5 kB / 395.8 MB, free: 45.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-06/0.4298, allocations: 0 / 395.8 MB, free: 45.81 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.825e-06/0.4298, allocations: 1.5 kB / 395.8 MB, free: 45.81 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/0.4298, allocations: 79.98 kB / 395.8 MB, free: 45.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/0.4298, allocations: 75.28 kB / 395.9 MB, free: 45.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.402e-05/0.4299, allocations: 29.19 kB / 395.9 MB, free: 45.62 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.4299, allocations: 84.31 kB / 396 MB, free: 45.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.4299, allocations: 85.3 kB / 396.1 MB, free: 45.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.428e-05/0.43, allocations: 155.2 kB / 396.3 MB, free: 45.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.942e-05/0.43, allocations: 84.95 kB / 396.3 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-05/0.43, allocations: 156.5 kB / 396.5 MB, free: 45.08 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.145e-05/0.4301, allocations: 78 kB / 396.6 MB, free: 45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.4301, allocations: 84.73 kB / 396.7 MB, free: 44.92 MB / 318.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.079e-05/0.4302, allocations: 258 kB / 396.9 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.4303, allocations: 107.4 kB / 397 MB, free: 44.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.772e-05/0.4303, allocations: 122.8 kB / 397.1 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-05/0.4304, allocations: 176.8 kB / 397.3 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-05/0.4304, allocations: 182.2 kB / 397.5 MB, free: 44.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/0.4305, allocations: 182.6 kB / 397.7 MB, free: 43.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.4306, allocations: 399.3 kB / 398.1 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.251e-05/0.4307, allocations: 107.3 kB / 398.2 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.4307, allocations: 103.2 kB / 398.3 MB, free: 43.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.896e-05/0.4307, allocations: 176.8 kB / 398.4 MB, free: 43.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.4308, allocations: 191 kB / 398.6 MB, free: 42.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.983e-05/0.4309, allocations: 177 kB / 398.8 MB, free: 42.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-05/0.4309, allocations: 182.2 kB / 399 MB, free: 42.48 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.431, allocations: 309.1 kB / 399.3 MB, free: 42.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.4311, allocations: 185 kB / 399.5 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.4311, allocations: 186.2 kB / 399.6 MB, free: 41.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.015e-05/0.4312, allocations: 110.6 kB / 399.7 MB, free: 41.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.4312, allocations: 178.6 kB / 399.9 MB, free: 41.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.4313, allocations: 106.7 kB / 400 MB, free: 41.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.204e-05/0.4313, allocations: 80.38 kB / 400.1 MB, free: 41.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4313, allocations: 0 / 400.1 MB, free: 41.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.4316, allocations: 0 / 400.1 MB, free: 41.29 MB / 318.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.0001297/0.4317, allocations: 170 kB / 400.3 MB, free: 41.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 4.496e-05/0.4317, allocations: 0 / 400.3 MB, free: 41.13 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4317, allocations: 1.75 kB / 400.3 MB, free: 41.13 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.4318, allocations: 0 / 400.3 MB, free: 41.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.4321, allocations: 462.8 kB / 400.7 MB, free: 40.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003167/0.4325, allocations: 150.4 kB / 400.9 MB, free: 40.51 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.4327, allocations: 0.6792 MB / 401.5 MB, free: 39.81 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.438e-05/0.4327, allocations: 0.6562 kB / 401.5 MB, free: 39.81 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.4328, allocations: 7.438 kB / 401.6 MB, free: 39.8 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4328, allocations: 0 / 401.6 MB, free: 39.8 MB / 318.1 MB Notification: Performance of Templates: time 0.003264/0.4361, allocations: 175.4 kB / 401.7 MB, free: 39.75 MB / 318.1 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)