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.007328/0.007328, allocations: 89 kB / 15.91 MB, free: 6.301 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.00145/0.00145, allocations: 198.2 kB / 16.83 MB, free: 6.234 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.592/1.592, allocations: 205.1 MB / 222.7 MB, free: 4.703 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.0829/0.0829, allocations: 12.59 MB / 282.6 MB, free: 8.762 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.00183/0.00183, allocations: 87.89 kB / 342.8 MB, free: 21.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1379, allocations: 49.39 MB / 392.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.002046/0.14, allocations: 0.5567 MB / 392.7 MB, free: 3.156 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002299/0.1403, allocations: 79.77 kB / 392.8 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.1403, allocations: 0 / 392.8 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.1403, allocations: 0 / 392.8 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 1.855e-05/0.1404, allocations: 0 / 392.8 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000206/0.1406, allocations: 15.97 kB / 392.8 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.172e-05/0.1406, allocations: 4 kB / 392.8 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.719e-05/0.1407, allocations: 0 / 392.8 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.797e-05/0.1407, allocations: 4 kB / 392.8 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.761e-05/0.1408, allocations: 0 / 392.8 MB, free: 3.055 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.1408, allocations: 4 kB / 392.8 MB, free: 3.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.37e-05/0.1408, allocations: 3.938 kB / 392.8 MB, free: 3.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.262e-05/0.1409, allocations: 4 kB / 392.8 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.1409, allocations: 0 / 392.8 MB, free: 3.043 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.183e-05/0.141, allocations: 7.984 kB / 392.9 MB, free: 3.035 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.141, allocations: 3.938 kB / 392.9 MB, free: 3.031 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.574e-06/0.141, allocations: 3.984 kB / 392.9 MB, free: 3.027 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.141, allocations: 4 kB / 392.9 MB, free: 3.023 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.0004071/0.1414, allocations: 311.5 kB / 393.2 MB, free: 2.668 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.1415, allocations: 15.97 kB / 393.2 MB, free: 2.652 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.1415, allocations: 0.9375 kB / 393.2 MB, free: 2.652 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1417, allocations: 168.4 kB / 393.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.1417, allocations: 384 / 393.3 MB, free: 2.449 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.1417, allocations: 4.375 kB / 393.4 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002858/0.142, allocations: 152.9 kB / 393.5 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.1421, allocations: 79.47 kB / 393.6 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.361e-05/0.1421, allocations: 154.5 kB / 393.7 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/0.1422, allocations: 150.6 kB / 393.9 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.221e-05/0.1423, allocations: 150.6 kB / 394 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.1426, allocations: 449.9 kB / 394.5 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.338e-05/0.1427, allocations: 169.1 kB / 394.6 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.1428, allocations: 88.19 kB / 394.7 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.1428, allocations: 75.28 kB / 394.8 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.402e-05/0.1429, allocations: 109.8 kB / 394.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1429, allocations: 4 kB / 394.9 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of matching and sorting (n=0): time 9.028e-05/0.143, allocations: 37.56 kB / 394.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.143, allocations: 126.7 kB / 395.1 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.601e-05/0.1431, allocations: 93.86 kB / 395.2 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.1432, allocations: 25.7 kB / 395.2 MB, free: 500 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.1432, allocations: 84.08 kB / 395.3 MB, free: 412 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.294e-06/0.1432, allocations: 0 / 395.3 MB, free: 412 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-05/0.1432, allocations: 13.84 kB / 395.3 MB, free: 392 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1434, allocations: 310.8 kB / 395.6 MB, free: 72 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.064e-06/0.1434, allocations: 4 kB / 395.6 MB, free: 68 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.698e-06/0.1434, allocations: 0 / 395.6 MB, free: 68 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.478e-05/0.1434, allocations: 75.28 kB / 395.7 MB, free: 15.99 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-05/0.1435, allocations: 75.28 kB / 395.7 MB, free: 15.92 MB / 302.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.832e-05/0.1435, allocations: 37.62 kB / 395.8 MB, free: 15.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.1436, allocations: 83.28 kB / 395.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/0.1436, allocations: 83.22 kB / 395.9 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.989e-05/0.1437, allocations: 150.6 kB / 396.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.326e-05/0.1437, allocations: 79.22 kB / 396.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.083e-05/0.1438, allocations: 154.6 kB / 396.3 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.1439, allocations: 87.16 kB / 396.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.1439, allocations: 76.34 kB / 396.5 MB, free: 15.17 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 0.000118/0.144, allocations: 268.4 kB / 396.7 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.1441, allocations: 105 kB / 396.8 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.1442, allocations: 115.8 kB / 396.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-05/0.1442, allocations: 176.3 kB / 397.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.512e-05/0.1443, allocations: 184.2 kB / 397.3 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001273/0.1445, allocations: 184.2 kB / 397.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002923/0.1448, allocations: 401.2 kB / 397.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.74e-05/0.1448, allocations: 104.9 kB / 398 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.895e-05/0.1448, allocations: 109 kB / 398.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.435e-05/0.1449, allocations: 180.5 kB / 398.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/0.145, allocations: 180.2 kB / 398.4 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.439e-05/0.1451, allocations: 188.3 kB / 398.6 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.619e-05/0.1451, allocations: 184.2 kB / 398.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.1453, allocations: 299.8 kB / 399.1 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.52e-05/0.1454, allocations: 186.1 kB / 399.3 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.1454, allocations: 184.2 kB / 399.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.716e-05/0.1455, allocations: 104.9 kB / 399.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.476e-05/0.1456, allocations: 184.2 kB / 399.7 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.333e-05/0.1457, allocations: 104.9 kB / 399.8 MB, free: 11.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.428e-05/0.1457, allocations: 75.28 kB / 399.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1457, allocations: 0 / 399.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.146, allocations: 0 / 399.9 MB, free: 11.5 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.0001296/0.1461, allocations: 174.6 kB / 400.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.268e-05/0.1462, allocations: 4 kB / 400.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1462, allocations: 0 / 400.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.1462, allocations: 0 / 400.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.1467, allocations: 0.5301 MB / 400.6 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.1469, allocations: 158 kB / 400.8 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.1472, allocations: 0.6692 MB / 401.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.798e-06/0.1473, allocations: 0 / 401.4 MB, free: 9.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.985e-05/0.1473, allocations: 7.438 kB / 401.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1473, allocations: 0 / 401.4 MB, free: 9.895 MB / 302.1 MB Notification: Performance of Templates: time 0.002132/0.1494, allocations: 176.6 kB / 401.6 MB, free: 9.723 MB / 302.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)