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.001831/0.001831, allocations: 96.86 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 172.8 kB / 16.62 MB, free: 6.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.033/2.033, allocations: 205.4 MB / 222.8 MB, free: 5.867 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.1155/0.1155, allocations: 12.6 MB / 283.7 MB, free: 8.918 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.001211/0.001211, allocations: 23.98 kB / 344.5 MB, free: 21.28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1496, allocations: 50.39 MB / 394.9 MB, free: 2.812 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler): time 0.002444/0.1521, allocations: 1.46 MB / 396.4 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001112/0.1532, allocations: 0.5116 MB / 396.9 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000147/0.1534, allocations: 4 kB / 396.9 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.1536, allocations: 19.86 kB / 396.9 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001024/0.1537, allocations: 7.875 kB / 396.9 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004667/0.1542, allocations: 59.88 kB / 397 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002233/0.1544, allocations: 111.5 kB / 397.1 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001973/0.1546, allocations: 77.3 kB / 397.2 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1548, allocations: 39.78 kB / 397.2 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.1549, allocations: 43.77 kB / 397.2 MB, free: 476 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.1549, allocations: 0 / 397.2 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.1549, allocations: 4 kB / 397.2 MB, free: 472 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.155, allocations: 23.92 kB / 397.3 MB, free: 448 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.1551, allocations: 45.58 kB / 397.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1552, allocations: 92.06 kB / 397.4 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1552, allocations: 0 / 397.4 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1552, allocations: 4 kB / 397.4 MB, free: 300 kB / 286.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1553, allocations: 0 / 397.4 MB, free: 300 kB / 286.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.0007325/0.156, allocations: 434.8 kB / 397.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.156, allocations: 8.031 kB / 397.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.1561, allocations: 15.81 kB / 397.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1564, allocations: 218.7 kB / 398.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/0.1565, allocations: 8 kB / 398.1 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.1565, allocations: 16 kB / 398.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007067/0.1572, allocations: 343.5 kB / 398.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1572, allocations: 4 kB / 398.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.861e-05/0.1572, allocations: 4 kB / 398.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.1573, allocations: 4 kB / 398.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.1575, allocations: 119.8 kB / 398.6 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007388/0.1583, allocations: 466.4 kB / 399 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004872/0.1588, allocations: 250.3 kB / 399.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.159, allocations: 131.4 kB / 399.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.1591, allocations: 4 kB / 399.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.1591, allocations: 42.55 kB / 399.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.1591, allocations: 0 / 399.4 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006153/0.1598, allocations: 273.3 kB / 399.7 MB, free: 13.77 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.1599, allocations: 148.9 kB / 399.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.16, allocations: 158.1 kB / 400 MB, free: 13.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.1601, allocations: 29.92 kB / 400 MB, free: 13.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.1602, allocations: 108 kB / 400.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.1602, allocations: 19.88 kB / 400.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.806e-06/0.1602, allocations: 4 kB / 400.2 MB, free: 13.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1603, allocations: 322.8 kB / 400.5 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.1605, allocations: 43.97 kB / 400.5 MB, free: 12.89 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.1606, allocations: 154.5 kB / 400.7 MB, free: 12.68 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.1608, allocations: 75.89 kB / 400.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1608, allocations: 0 / 400.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003653/0.1612, allocations: 213.6 kB / 400.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.1612, allocations: 12 kB / 401 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.1612, allocations: 4 kB / 401 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1612, allocations: 4 kB / 401 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.1614, allocations: 43.91 kB / 401 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.1614, allocations: 7.938 kB / 401 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.1615, allocations: 19.84 kB / 401 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.1615, allocations: 15.98 kB / 401 MB, free: 12.29 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.1617, allocations: 137.8 kB / 401.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.162, allocations: 165.8 kB / 401.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.794e-05/0.162, allocations: 20.83 kB / 401.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.1621, allocations: 4 kB / 401.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.1621, allocations: 4 kB / 401.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1621, allocations: 0 / 401.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.1624, allocations: 213.5 kB / 401.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1624, allocations: 0 / 401.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.1625, allocations: 39.95 kB / 401.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.1625, allocations: 0 / 401.6 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.122e-05/0.1626, allocations: 11.95 kB / 401.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.1626, allocations: 3.984 kB / 401.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.1626, allocations: 3.984 kB / 401.6 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004957/0.1631, allocations: 400.1 kB / 402 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.048e-05/0.1632, allocations: 88.95 kB / 402.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1632, allocations: 8 kB / 402.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.1633, allocations: 15.94 kB / 402.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.1634, allocations: 4 kB / 402.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.1635, allocations: 19.92 kB / 402.2 MB, free: 11.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.1636, allocations: 107.2 kB / 402.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1636, allocations: 0 / 402.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003482/0.1639, allocations: 27.91 kB / 402.3 MB, free: 10.93 MB / 302.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 (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.0001525/0.1641, allocations: 103 kB / 402.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.1645, allocations: 151.9 kB / 402.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1645, allocations: 0 / 402.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.1645, allocations: 28.98 kB / 402.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/0.1652, allocations: 112.1 kB / 402.7 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.1659, allocations: 398.6 kB / 403.1 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.1663, allocations: 0.7399 MB / 403.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.17e-05/0.1664, allocations: 24.95 kB / 403.8 MB, free: 9.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.1664, allocations: 19.42 kB / 403.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1664, allocations: 0 / 403.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of Templates: time 0.004384/0.1708, allocations: 1.155 MB / 405 MB, free: 8.145 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestRealSampler.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: