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.001121/0.001121, allocations: 102.9 kB / 16.31 MB, free: 5.879 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.001081/0.001081, allocations: 187.3 kB / 17.24 MB, free: 5.539 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.63/1.63, allocations: 205.1 MB / 223.1 MB, free: 12.25 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.08477/0.08477, allocations: 12.59 MB / 283.1 MB, free: 15.44 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.001954/0.001955, allocations: 91.59 kB / 343.5 MB, free: 2.926 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3489, allocations: 49.39 MB / 392.9 MB, free: 49.14 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.002005/0.351, allocations: 0.4936 MB / 393.4 MB, free: 48.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002532/0.3512, allocations: 67.06 kB / 393.4 MB, free: 48.79 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.136e-05/0.3513, allocations: 1.219 kB / 393.4 MB, free: 48.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.3513, allocations: 0 / 393.4 MB, free: 48.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 1.749e-05/0.3513, allocations: 4 kB / 393.4 MB, free: 48.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.3516, allocations: 20.36 kB / 393.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.996e-05/0.3516, allocations: 3.641 kB / 393.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.258e-05/0.3517, allocations: 1.859 kB / 393.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.461e-05/0.3517, allocations: 2.141 kB / 393.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.402e-05/0.3518, allocations: 2.781 kB / 393.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.135e-05/0.3518, allocations: 0 / 393.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.989e-06/0.3518, allocations: 0 / 393.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.3518, allocations: 1.625 kB / 393.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.251e-05/0.3519, allocations: 9.156 kB / 393.5 MB, free: 48.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.079e-05/0.3519, allocations: 6.453 kB / 393.5 MB, free: 48.76 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.352, allocations: 4.703 kB / 393.5 MB, free: 48.76 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.352, allocations: 0 / 393.5 MB, free: 48.76 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.352, allocations: 0 / 393.5 MB, free: 48.76 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.0003274/0.3523, allocations: 315.3 kB / 393.8 MB, free: 48.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.3524, allocations: 10.44 kB / 393.8 MB, free: 48.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.676e-05/0.3524, allocations: 4.844 kB / 393.8 MB, free: 48.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.3526, allocations: 168.2 kB / 394 MB, free: 48.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.3526, allocations: 5.344 kB / 394 MB, free: 48.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.3526, allocations: 5.5 kB / 394 MB, free: 48.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.3529, allocations: 154.1 kB / 394.1 MB, free: 48.05 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.3529, allocations: 75.47 kB / 394.2 MB, free: 47.97 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.507e-05/0.353, allocations: 155.6 kB / 394.4 MB, free: 47.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/0.353, allocations: 155.4 kB / 394.5 MB, free: 47.67 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.353, allocations: 155.7 kB / 394.7 MB, free: 47.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.3532, allocations: 443.2 kB / 395.1 MB, free: 47.04 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.3533, allocations: 167 kB / 395.3 MB, free: 46.86 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.3533, allocations: 85.39 kB / 395.4 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3534, allocations: 75.28 kB / 395.4 MB, free: 46.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3534, allocations: 115.7 kB / 395.5 MB, free: 46.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.3534, allocations: 0 / 395.5 MB, free: 46.58 MB / 318.1 MB Notification: Performance of matching and sorting (n=0): time 7.875e-05/0.3535, allocations: 31.75 kB / 395.6 MB, free: 46.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.3535, allocations: 130.6 kB / 395.7 MB, free: 46.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.3536, allocations: 96.38 kB / 395.8 MB, free: 46.3 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.3536, allocations: 26.98 kB / 395.8 MB, free: 46.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.486e-05/0.3536, allocations: 80.14 kB / 395.9 MB, free: 46.19 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.3536, allocations: 0 / 395.9 MB, free: 46.19 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.755e-05/0.3537, allocations: 11.59 kB / 395.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.954e-05/0.3537, allocations: 312.7 kB / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-06/0.3538, allocations: 4 kB / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-06/0.3538, allocations: 0 / 396.2 MB, free: 45.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.785e-05/0.3538, allocations: 80.72 kB / 396.3 MB, free: 45.78 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/0.3538, allocations: 79.22 kB / 396.4 MB, free: 45.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.332e-05/0.3539, allocations: 29.97 kB / 396.4 MB, free: 45.67 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.3539, allocations: 80.62 kB / 396.5 MB, free: 45.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.3539, allocations: 79.88 kB / 396.6 MB, free: 45.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.286e-05/0.354, allocations: 160.6 kB / 396.7 MB, free: 45.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-05/0.354, allocations: 77.19 kB / 396.8 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-05/0.354, allocations: 158.5 kB / 396.9 MB, free: 45.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.3541, allocations: 77.11 kB / 397 MB, free: 45.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.3541, allocations: 81.11 kB / 397.1 MB, free: 44.98 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 6.417e-05/0.3542, allocations: 259.3 kB / 397.4 MB, free: 44.72 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.3542, allocations: 107 kB / 397.5 MB, free: 44.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.3543, allocations: 119.4 kB / 397.6 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/0.3543, allocations: 180.9 kB / 397.8 MB, free: 44.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.044e-05/0.3544, allocations: 186.1 kB / 397.9 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.854e-05/0.3544, allocations: 182.1 kB / 398.1 MB, free: 43.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.3545, allocations: 401 kB / 398.5 MB, free: 43.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/0.3546, allocations: 102.5 kB / 398.6 MB, free: 43.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.3546, allocations: 111 kB / 398.7 MB, free: 43.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.48e-05/0.3546, allocations: 178.5 kB / 398.9 MB, free: 43.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.3547, allocations: 184.9 kB / 399.1 MB, free: 42.9 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.999e-05/0.3547, allocations: 182.2 kB / 399.2 MB, free: 42.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.941e-05/0.3548, allocations: 182.6 kB / 399.4 MB, free: 42.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.797e-05/0.3549, allocations: 309 kB / 399.7 MB, free: 42.21 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.3549, allocations: 181 kB / 399.9 MB, free: 42.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.437e-05/0.355, allocations: 190.6 kB / 400.1 MB, free: 41.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.09e-05/0.3551, allocations: 101.5 kB / 400.2 MB, free: 41.72 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.811e-05/0.3551, allocations: 182.2 kB / 400.4 MB, free: 41.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.3551, allocations: 111.2 kB / 400.5 MB, free: 41.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.239e-05/0.3552, allocations: 77.5 kB / 400.5 MB, free: 41.35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3552, allocations: 0 / 400.5 MB, free: 41.35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3554, allocations: 0 / 400.5 MB, free: 41.35 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.0001432/0.3556, allocations: 171.6 kB / 400.7 MB, free: 41.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 5.023e-05/0.3556, allocations: 9.938 kB / 400.7 MB, free: 41.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3557, allocations: 96 / 400.7 MB, free: 41.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.948e-06/0.3557, allocations: 5.156 kB / 400.7 MB, free: 41.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.356, allocations: 454.6 kB / 401.2 MB, free: 40.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/0.3562, allocations: 152.9 kB / 401.3 MB, free: 40.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.3564, allocations: 0.6752 MB / 402 MB, free: 39.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.334e-05/0.3564, allocations: 0.6094 kB / 402 MB, free: 39.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.175e-05/0.3565, allocations: 11.44 kB / 402 MB, free: 39.85 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3565, allocations: 1.312 kB / 402 MB, free: 39.85 MB / 318.1 MB Notification: Performance of Templates: time 0.002346/0.3588, allocations: 173.1 kB / 402.2 MB, free: 39.8 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)