Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.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.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 105.2 kB / 16.45 MB, free: 6.445 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.001197/0.001197, allocations: 186.4 kB / 17.39 MB, free: 5.668 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.698/1.698, allocations: 205.1 MB / 223.3 MB, free: 12.2 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.08202/0.08202, allocations: 12.58 MB / 283.2 MB, free: 15.39 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.001841/0.001841, allocations: 88 kB / 394.2 MB, free: 45.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.14, allocations: 49.41 MB / 443.6 MB, free: 480 kB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.003293/0.1433, allocations: 1.767 MB / 445.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1443, allocations: 0.5346 MB / 445.9 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1445, allocations: 4 kB / 445.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.1447, allocations: 19.8 kB / 445.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.153e-05/0.1447, allocations: 19.78 kB / 445.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.1451, allocations: 63.88 kB / 446 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.1453, allocations: 123.5 kB / 446.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.1455, allocations: 93.42 kB / 446.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1456, allocations: 51.84 kB / 446.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.1458, allocations: 67.69 kB / 446.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.1458, allocations: 8 kB / 446.3 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.185e-05/0.1458, allocations: 8 kB / 446.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.697e-05/0.1459, allocations: 35.86 kB / 446.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.48e-05/0.146, allocations: 67.61 kB / 446.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.1462, allocations: 131.5 kB / 446.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1462, allocations: 0 / 446.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1463, allocations: 0 / 446.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.1463, allocations: 0 / 446.5 MB, free: 13.47 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007001/0.147, allocations: 450.8 kB / 447 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.147, allocations: 8.031 kB / 447 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.1471, allocations: 16.75 kB / 447 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.1474, allocations: 238 kB / 447.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.1474, allocations: 8.375 kB / 447.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.1474, allocations: 12.38 kB / 447.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006178/0.148, allocations: 350.5 kB / 447.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1481, allocations: 0 / 447.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.1481, allocations: 4 kB / 447.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.61e-05/0.1481, allocations: 12 kB / 447.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.1484, allocations: 111.8 kB / 447.7 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.149, allocations: 458.4 kB / 448.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004578/0.1494, allocations: 262.2 kB / 448.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.1497, allocations: 131.4 kB / 448.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.1497, allocations: 0 / 448.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.1497, allocations: 38.56 kB / 448.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.1497, allocations: 0 / 448.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006156/0.1504, allocations: 273.5 kB / 448.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.1505, allocations: 144.5 kB / 449 MB, free: 10.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1506, allocations: 150.3 kB / 449.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1507, allocations: 33.7 kB / 449.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.197e-05/0.1508, allocations: 108 kB / 449.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.1508, allocations: 19.83 kB / 449.3 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.288e-05/0.1509, allocations: 29.72 kB / 449.3 MB, free: 10.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1511, allocations: 330.9 kB / 449.7 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1512, allocations: 35.95 kB / 449.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001634/0.1514, allocations: 143.4 kB / 449.8 MB, free: 9.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.1517, allocations: 203.2 kB / 450 MB, free: 9.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1517, allocations: 0 / 450 MB, free: 9.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003845/0.1521, allocations: 205 kB / 450.2 MB, free: 9.359 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.1521, allocations: 8.562 kB / 450.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.1521, allocations: 7.938 kB / 450.2 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.1521, allocations: 12 kB / 450.3 MB, free: 9.332 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.1523, allocations: 39.92 kB / 450.3 MB, free: 9.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.1523, allocations: 7.938 kB / 450.3 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.1524, allocations: 11.98 kB / 450.3 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.1524, allocations: 8 kB / 450.3 MB, free: 9.266 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (18): * Single equations (assignments): 18 * 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.0001326/0.1526, allocations: 145.7 kB / 450.5 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.1528, allocations: 169.4 kB / 450.6 MB, free: 8.941 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.826e-05/0.1529, allocations: 24.81 kB / 450.7 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.1529, allocations: 4 kB / 450.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.1529, allocations: 0 / 450.7 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.153, allocations: 3.984 kB / 450.7 MB, free: 8.91 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.1533, allocations: 209.5 kB / 450.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1533, allocations: 0 / 450.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.1534, allocations: 39.91 kB / 450.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1534, allocations: 0 / 450.9 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.1535, allocations: 12.16 kB / 450.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1535, allocations: 0 / 450.9 MB, free: 8.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1535, allocations: 4 kB / 450.9 MB, free: 8.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004758/0.154, allocations: 396.4 kB / 451.3 MB, free: 8.191 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.154, allocations: 92.86 kB / 451.4 MB, free: 8.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.1541, allocations: 11.94 kB / 451.4 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.1542, allocations: 8 kB / 451.4 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.1543, allocations: 11.92 kB / 451.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.1543, allocations: 15.94 kB / 451.4 MB, free: 8.035 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.1544, allocations: 107.2 kB / 451.6 MB, free: 7.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1544, allocations: 0 / 451.6 MB, free: 7.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003468/0.1548, allocations: 24 kB / 451.6 MB, free: 7.906 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (17): * Single equations (assignments): 16 * Array equations: 1 * 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.0001173/0.1549, allocations: 103.1 kB / 451.7 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003401/0.1552, allocations: 151.7 kB / 451.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1553, allocations: 0 / 451.8 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.27e-05/0.1553, allocations: 17.11 kB / 451.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.1559, allocations: 119.7 kB / 452 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007386/0.1567, allocations: 360.4 kB / 452.3 MB, free: 7.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.1571, allocations: 0.7396 MB / 453.1 MB, free: 6.363 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.061e-05/0.1572, allocations: 17.08 kB / 453.1 MB, free: 6.348 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.1573, allocations: 15.44 kB / 453.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1573, allocations: 0 / 453.1 MB, free: 6.332 MB / 334.1 MB Notification: Performance of Templates: time 0.004796/0.1621, allocations: 1.362 MB / 454.4 MB, free: 4.969 MB / 334.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.pipe 2>&1)