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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001474/0.001474, allocations: 185.1 kB / 7.844 MB, free: 2.27 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.198/1.198, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0008864/0.0008865, allocations: 79.44 kB / 261.5 MB, free: 13.61 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.06406/0.06406, allocations: 12.59 MB / 322 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.312e-06/6.452e-06, allocations: 0 / 378.4 MB, free: 75.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08467/0.08469, allocations: 50.37 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2545/0.3393, allocations: 75.35 MB / 0.4923 GB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001765/0.3395, allocations: 57.48 kB / 0.4923 GB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.003042/0.3426, allocations: 1.074 MB / 0.4934 GB, free: 11.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.3426, allocations: 0.5 kB / 0.4934 GB, free: 11.73 MB / 330.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.0001685/0.3428, allocations: 311.3 kB / 0.4937 GB, free: 11.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3428, allocations: 7.844 kB / 0.4937 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.3429, allocations: 3.906 kB / 0.4937 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.343, allocations: 168.9 kB / 0.4939 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.343, allocations: 0 / 0.4939 GB, free: 11.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.343, allocations: 4.547 kB / 0.4939 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.9e-05/0.3431, allocations: 1.594 kB / 0.4939 GB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.3432, allocations: 157.4 kB / 0.494 GB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3433, allocations: 75.28 kB / 0.4941 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/0.3433, allocations: 154.1 kB / 0.4942 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.3433, allocations: 151.4 kB / 0.4944 GB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.3435, allocations: 423.5 kB / 0.4948 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.78e-05/0.3435, allocations: 169 kB / 0.4949 GB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.3435, allocations: 84.8 kB / 0.495 GB, free: 9.961 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.3436, allocations: 79.22 kB / 0.4951 GB, free: 9.883 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.3436, allocations: 105.8 kB / 0.4952 GB, free: 9.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.3436, allocations: 4 kB / 0.4952 GB, free: 9.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=0): time 6.22e-05/0.3437, allocations: 26.45 kB / 0.4952 GB, free: 9.734 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.66e-05/0.3437, allocations: 52.11 kB / 0.4953 GB, free: 9.672 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.086e-05/0.3437, allocations: 88.88 kB / 0.4954 GB, free: 9.582 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.62e-06/0.3437, allocations: 25.7 kB / 0.4954 GB, free: 9.551 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.163e-05/0.3438, allocations: 81.45 kB / 0.4955 GB, free: 9.469 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.3438, allocations: 0 / 0.4955 GB, free: 9.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/0.3438, allocations: 0 / 0.4955 GB, free: 9.469 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.643e-05/0.3438, allocations: 323 kB / 0.4958 GB, free: 9.148 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.539e-06/0.3438, allocations: 0 / 0.4958 GB, free: 9.148 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.104e-06/0.3438, allocations: 3.938 kB / 0.4958 GB, free: 9.145 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.072e-05/0.3438, allocations: 75.28 kB / 0.4959 GB, free: 9.07 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.3439, allocations: 83.94 kB / 0.4959 GB, free: 8.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 4.809e-05/0.3439, allocations: 30.16 kB / 0.496 GB, free: 8.957 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.3439, allocations: 3.875 kB / 0.496 GB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.344, allocations: 79.69 kB / 0.496 GB, free: 8.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.344, allocations: 155.3 kB / 0.4962 GB, free: 8.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.059e-05/0.344, allocations: 79.92 kB / 0.4963 GB, free: 8.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.109e-05/0.344, allocations: 150.6 kB / 0.4964 GB, free: 8.504 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.433e-05/0.3441, allocations: 80.17 kB / 0.4965 GB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.3441, allocations: 79.88 kB / 0.4966 GB, free: 8.352 MB / 330.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 5.401e-05/0.3442, allocations: 267.6 kB / 0.4968 GB, free: 8.086 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.3442, allocations: 101.7 kB / 0.4969 GB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.622e-05/0.3442, allocations: 112.3 kB / 0.497 GB, free: 7.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.3443, allocations: 180.9 kB / 0.4972 GB, free: 7.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.461e-05/0.3443, allocations: 178.7 kB / 0.4974 GB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-05/0.3443, allocations: 176.9 kB / 0.4975 GB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/0.3444, allocations: 395.6 kB / 0.4979 GB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.3445, allocations: 105.6 kB / 0.498 GB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.401e-05/0.3445, allocations: 101.8 kB / 0.4981 GB, free: 6.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.218e-05/0.3445, allocations: 180.8 kB / 0.4983 GB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.3445, allocations: 176.9 kB / 0.4985 GB, free: 6.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-05/0.3446, allocations: 184.5 kB / 0.4986 GB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-05/0.3446, allocations: 181.1 kB / 0.4988 GB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 5.849e-05/0.3447, allocations: 305.1 kB / 0.4991 GB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.493e-05/0.3448, allocations: 183 kB / 0.4993 GB, free: 21.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.669e-05/0.3448, allocations: 177.3 kB / 0.4994 GB, free: 21.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.3449, allocations: 109.3 kB / 0.4995 GB, free: 21.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.357e-05/0.345, allocations: 185.4 kB / 0.4997 GB, free: 20.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.345, allocations: 105.6 kB / 0.4998 GB, free: 20.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.703e-05/0.3451, allocations: 78.84 kB / 0.4999 GB, free: 20.78 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.3453, allocations: 3.875 kB / 0.4999 GB, free: 20.78 MB / 346.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.0001084/0.3454, allocations: 171.1 kB / 0.5001 GB, free: 20.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 2.748e-05/0.3455, allocations: 8.031 kB / 0.5001 GB, free: 20.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3455, allocations: 0 / 0.5001 GB, free: 20.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.3455, allocations: 0 / 0.5001 GB, free: 20.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3458, allocations: 0.5228 MB / 0.5006 GB, free: 20.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001559/0.346, allocations: 117 kB / 0.5007 GB, free: 19.95 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002579/0.3462, allocations: 0.6903 MB / 0.5014 GB, free: 19.24 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3462, allocations: 0 / 0.5014 GB, free: 19.24 MB / 346.7 MB Notification: Performance of Templates: time 0.001513/0.3477, allocations: 169.9 kB / 0.5015 GB, free: 19.2 MB / 346.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)