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.001038/0.001038, allocations: 178.3 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.3 MB / 213.8 MB, free: 1.75 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.0008073/0.0008072, allocations: 90.62 kB / 261.8 MB, free: 1.68 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.07739/0.07739, allocations: 12.6 MB / 322.4 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.378e-05/1.38e-05, allocations: 0 / 378.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2232, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09384/0.3171, allocations: 75.43 MB / 0.4929 GB, free: 6.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.3173, allocations: 47.98 kB / 0.493 GB, free: 6.758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003267/0.3206, allocations: 1.387 MB / 0.4943 GB, free: 5.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3206, allocations: 4 kB / 0.4943 GB, free: 5.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3207, allocations: 0 / 0.4943 GB, free: 5.367 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.0002472/0.3209, allocations: 310.6 kB / 0.4946 GB, free: 5.02 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.321, allocations: 8.031 kB / 0.4946 GB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.843e-05/0.321, allocations: 4 kB / 0.4946 GB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3212, allocations: 163.1 kB / 0.4948 GB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.3212, allocations: 0 / 0.4948 GB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.3213, allocations: 3.953 kB / 0.4948 GB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.404e-05/0.3213, allocations: 4 kB / 0.4948 GB, free: 4.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.3215, allocations: 152.2 kB / 0.4949 GB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/0.3215, allocations: 75.28 kB / 0.495 GB, free: 4.559 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.35e-05/0.3216, allocations: 150.6 kB / 0.4951 GB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.987e-05/0.3217, allocations: 158.5 kB / 0.4953 GB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.3219, allocations: 430.5 kB / 0.4957 GB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.862e-05/0.322, allocations: 169.1 kB / 0.4959 GB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/0.3221, allocations: 80.14 kB / 0.4959 GB, free: 3.539 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.3221, allocations: 75.28 kB / 0.496 GB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.3222, allocations: 121.7 kB / 0.4961 GB, free: 3.336 MB / 346.7 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3222, allocations: 0 / 0.4961 GB, free: 3.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=0): time 6.423e-05/0.3222, allocations: 29.7 kB / 0.4962 GB, free: 3.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.3223, allocations: 51.41 kB / 0.4962 GB, free: 3.238 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.619e-05/0.3223, allocations: 85 kB / 0.4963 GB, free: 3.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.3224, allocations: 25.7 kB / 0.4963 GB, free: 3.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.3224, allocations: 80.27 kB / 0.4964 GB, free: 3.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.042e-06/0.3224, allocations: 7.938 kB / 0.4964 GB, free: 3.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.3224, allocations: 0 / 0.4964 GB, free: 3.027 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.3225, allocations: 314.8 kB / 0.4967 GB, free: 2.711 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-06/0.3225, allocations: 0 / 0.4967 GB, free: 2.711 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.883e-06/0.3225, allocations: 3.938 kB / 0.4967 GB, free: 2.707 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.621e-05/0.3226, allocations: 79.27 kB / 0.4968 GB, free: 2.629 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.995e-05/0.3226, allocations: 75.28 kB / 0.4968 GB, free: 2.555 MB / 346.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.986e-05/0.3226, allocations: 25.7 kB / 0.4969 GB, free: 2.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.3227, allocations: 87.28 kB / 0.497 GB, free: 2.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/0.3227, allocations: 79.28 kB / 0.497 GB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.952e-05/0.3228, allocations: 158.5 kB / 0.4972 GB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-05/0.3228, allocations: 75.28 kB / 0.4973 GB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.26e-05/0.3229, allocations: 154.8 kB / 0.4974 GB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.143e-05/0.323, allocations: 87.2 kB / 0.4975 GB, free: 1.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.323, allocations: 79.28 kB / 0.4976 GB, free: 1.812 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.000108/0.3231, allocations: 251.5 kB / 0.4978 GB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.249e-05/0.3232, allocations: 105 kB / 0.4979 GB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.3232, allocations: 112.5 kB / 0.498 GB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.977e-05/0.3233, allocations: 176.3 kB / 0.4982 GB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.459e-05/0.3234, allocations: 188.2 kB / 0.4984 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.923e-05/0.3234, allocations: 184.2 kB / 0.4985 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001768/0.3236, allocations: 377.8 kB / 0.4989 GB, free: 368 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.964e-05/0.3237, allocations: 101 kB / 0.499 GB, free: 260 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.3237, allocations: 112.9 kB / 0.4991 GB, free: 140 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.078e-05/0.3238, allocations: 176.3 kB / 0.4993 GB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/0.3239, allocations: 184.3 kB / 0.4994 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.754e-05/0.3239, allocations: 180.2 kB / 0.4996 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.337e-05/0.324, allocations: 180.3 kB / 0.4998 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.3241, allocations: 308.8 kB / 0.5001 GB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/0.3242, allocations: 186.1 kB / 0.5003 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.203e-05/0.3243, allocations: 176.3 kB / 0.5004 GB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.724e-05/0.3244, allocations: 108.9 kB / 0.5005 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.3245, allocations: 184.2 kB / 0.5007 GB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.3245, allocations: 101 kB / 0.5008 GB, free: 14.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.999e-05/0.3245, allocations: 79.22 kB / 0.5009 GB, free: 14.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3245, allocations: 8.031 kB / 0.5009 GB, free: 14.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002514/0.3248, allocations: 4 kB / 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.0001376/0.3249, allocations: 170.5 kB / 0.501 GB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 2.752e-05/0.325, allocations: 0 / 0.501 GB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.325, allocations: 0 / 0.501 GB, free: 14.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.031e-06/0.325, allocations: 3.938 kB / 0.5011 GB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.3253, allocations: 0.5257 MB / 0.5016 GB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001563/0.3255, allocations: 119.9 kB / 0.5017 GB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.3257, allocations: 0.6768 MB / 0.5023 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.554e-06/0.3257, allocations: 0 / 0.5023 GB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.3257, allocations: 7.438 kB / 0.5023 GB, free: 12.63 MB / 362.7 MB Notification: Performance of SimCode: time 1.734e-06/0.3257, allocations: 0 / 0.5023 GB, free: 12.63 MB / 362.7 MB Notification: Performance of Templates: time 0.001462/0.3272, allocations: 163.9 kB / 0.5025 GB, free: 12.47 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)