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.001678/0.001678, allocations: 108.9 kB / 16.45 MB, free: 6.43 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.001398/0.001398, allocations: 187 kB / 17.39 MB, free: 5.691 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.745/1.745, allocations: 205.1 MB / 223.3 MB, free: 12.21 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.1039/0.1039, allocations: 12.59 MB / 283.2 MB, free: 15.4 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.001755/0.001755, allocations: 99.12 kB / 394.2 MB, free: 45.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1435, allocations: 49.39 MB / 443.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestSuperSampleClock): time 0.002342/0.1459, allocations: 0.49 MB / 444 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002788/0.1462, allocations: 71.83 kB / 444.1 MB, free: 60 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.1463, allocations: 0 / 444.1 MB, free: 60 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.1463, allocations: 3.938 kB / 444.1 MB, free: 56 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.756e-05/0.1463, allocations: 0 / 444.1 MB, free: 56 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.1466, allocations: 11.98 kB / 444.1 MB, free: 44 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.873e-05/0.1466, allocations: 12 kB / 444.1 MB, free: 32 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.878e-05/0.1467, allocations: 3.984 kB / 444.1 MB, free: 28 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.1467, allocations: 4 kB / 444.1 MB, free: 24 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.209e-05/0.1468, allocations: 7.875 kB / 444.2 MB, free: 16 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1468, allocations: 0 / 444.2 MB, free: 16 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.336e-06/0.1468, allocations: 0 / 444.2 MB, free: 16 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.581e-05/0.1468, allocations: 3.984 kB / 444.2 MB, free: 12 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.1469, allocations: 4 kB / 444.2 MB, free: 8 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 6.408e-05/0.147, allocations: 0 / 444.2 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.147, allocations: 0 / 444.2 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.147, allocations: 0 / 444.2 MB, free: 8 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.147, allocations: 4 kB / 444.2 MB, free: 4 kB / 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.000422/0.1474, allocations: 323.5 kB / 444.5 MB, free: 15.64 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.1475, allocations: 12.03 kB / 444.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.1475, allocations: 0.9375 kB / 444.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1478, allocations: 172.3 kB / 444.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.1478, allocations: 384 / 444.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.1478, allocations: 384 / 444.7 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.1481, allocations: 164.8 kB / 444.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.1482, allocations: 75.47 kB / 444.9 MB, free: 15.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.042e-05/0.1482, allocations: 154.5 kB / 445 MB, free: 15.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-05/0.1483, allocations: 150.6 kB / 445.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.939e-05/0.1484, allocations: 162.5 kB / 445.4 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.1487, allocations: 442 kB / 445.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1488, allocations: 169.1 kB / 445.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.835e-05/0.1488, allocations: 80.14 kB / 446 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/0.1489, allocations: 79.67 kB / 446.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.681e-05/0.149, allocations: 105.8 kB / 446.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.654e-06/0.149, allocations: 0 / 446.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 9.9e-05/0.1491, allocations: 33.58 kB / 446.2 MB, free: 13.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.1492, allocations: 130.7 kB / 446.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.1493, allocations: 101.8 kB / 446.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.1493, allocations: 25.7 kB / 446.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.1494, allocations: 84.27 kB / 446.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-06/0.1494, allocations: 0 / 446.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.1494, allocations: 9.719 kB / 446.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1495, allocations: 314.8 kB / 446.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-06/0.1496, allocations: 0 / 446.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.597e-06/0.1496, allocations: 0 / 446.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.543e-05/0.1496, allocations: 75.28 kB / 447 MB, free: 12.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.914e-05/0.1497, allocations: 75.28 kB / 447 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.186e-05/0.1497, allocations: 33.64 kB / 447.1 MB, free: 12.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.1498, allocations: 83.28 kB / 447.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.76e-05/0.1498, allocations: 83.2 kB / 447.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.436e-05/0.1499, allocations: 154.6 kB / 447.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.994e-05/0.15, allocations: 87.16 kB / 447.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.075e-05/0.15, allocations: 150.6 kB / 447.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/0.1501, allocations: 84.84 kB / 447.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.1502, allocations: 75.28 kB / 447.8 MB, free: 12.14 MB / 334.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.000135/0.1503, allocations: 260.4 kB / 448 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.1504, allocations: 112.9 kB / 448.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.088e-05/0.1504, allocations: 112 kB / 448.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.9e-05/0.1505, allocations: 176.3 kB / 448.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.676e-05/0.1506, allocations: 188.2 kB / 448.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.934e-05/0.1507, allocations: 176.3 kB / 448.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.151, allocations: 405.2 kB / 449.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.58e-05/0.151, allocations: 101 kB / 449.3 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.585e-05/0.1511, allocations: 112.9 kB / 449.4 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.911e-05/0.1512, allocations: 184.2 kB / 449.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-05/0.1513, allocations: 184.2 kB / 449.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.838e-05/0.1514, allocations: 180.2 kB / 449.9 MB, free: 9.859 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.839e-05/0.1515, allocations: 180.6 kB / 450.1 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.1517, allocations: 311.8 kB / 450.4 MB, free: 9.348 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.1518, allocations: 182.1 kB / 450.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.1519, allocations: 184.1 kB / 450.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.048e-05/0.152, allocations: 105 kB / 450.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.1521, allocations: 180.3 kB / 451 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.247e-05/0.1522, allocations: 108.9 kB / 451.1 MB, free: 8.551 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.072e-05/0.1523, allocations: 79.28 kB / 451.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1523, allocations: 0 / 451.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003253/0.1526, allocations: 0 / 451.2 MB, free: 8.473 MB / 334.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.0001938/0.1528, allocations: 174.5 kB / 451.4 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.614e-05/0.1529, allocations: 0 / 451.4 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1529, allocations: 0 / 451.4 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.04e-06/0.1529, allocations: 0 / 451.4 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.1533, allocations: 463.7 kB / 451.8 MB, free: 7.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.1537, allocations: 152.3 kB / 452 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.154, allocations: 0.6729 MB / 452.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.106e-05/0.154, allocations: 0 / 452.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.1541, allocations: 7.438 kB / 452.7 MB, free: 6.949 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1541, allocations: 3.938 kB / 452.7 MB, free: 6.945 MB / 334.1 MB Notification: Performance of Templates: time 0.002675/0.1567, allocations: 176.6 kB / 452.8 MB, free: 6.773 MB / 334.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)