Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002782/0.002787, allocations: 185.6 kB / 16.45 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.984/3.984, allocations: 205.4 MB / 222.6 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001839/0.001839, allocations: 98.8 kB / 270.9 MB, free: 13.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.2349/0.2349, allocations: 12.6 MB / 331.8 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009653/0.0009662, allocations: 14.88 kB / 392 MB, free: 54.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1707, allocations: 50.37 MB / 442.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger): time 0.003038/0.1738, allocations: 1.285 MB / 443.6 MB, free: 10.33 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1755, allocations: 484.2 kB / 444.1 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001644/0.1758, allocations: 0 / 444.1 MB, free: 9.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.583e-05/0.1758, allocations: 3.938 kB / 444.1 MB, free: 9.844 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.176, allocations: 7.984 kB / 444.1 MB, free: 9.836 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.1765, allocations: 39.89 kB / 444.1 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000153/0.1767, allocations: 35.89 kB / 444.2 MB, free: 9.762 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1769, allocations: 23.97 kB / 444.2 MB, free: 9.738 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.1771, allocations: 27.84 kB / 444.2 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.811e-05/0.1772, allocations: 27.8 kB / 444.3 MB, free: 9.684 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.1772, allocations: 4 kB / 444.3 MB, free: 9.68 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.156e-05/0.1773, allocations: 0 / 444.3 MB, free: 9.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.972e-05/0.1773, allocations: 11.94 kB / 444.3 MB, free: 9.668 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.053e-05/0.1774, allocations: 29.7 kB / 444.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001381/0.1776, allocations: 39.91 kB / 444.3 MB, free: 9.594 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.1776, allocations: 4 kB / 444.3 MB, free: 9.59 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.1776, allocations: 4 kB / 444.3 MB, free: 9.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1776, allocations: 0 / 444.3 MB, free: 9.586 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000742/0.1784, allocations: 356 kB / 444.7 MB, free: 9.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.1785, allocations: 8.031 kB / 444.7 MB, free: 9.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.655e-05/0.1786, allocations: 11.91 kB / 444.7 MB, free: 9.172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1788, allocations: 182.9 kB / 444.9 MB, free: 8.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.1789, allocations: 4 kB / 444.9 MB, free: 8.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.1789, allocations: 11.98 kB / 444.9 MB, free: 8.938 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.1795, allocations: 138.8 kB / 445 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1796, allocations: 0 / 445 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.1796, allocations: 0 / 445 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1796, allocations: 0 / 445 MB, free: 8.785 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.1799, allocations: 43.91 kB / 445.1 MB, free: 8.742 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008284/0.1808, allocations: 297.6 kB / 445.4 MB, free: 8.398 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.1812, allocations: 158.3 kB / 445.5 MB, free: 8.207 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.052e-05/0.1813, allocations: 8 kB / 445.5 MB, free: 8.199 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.1816, allocations: 63.48 kB / 445.6 MB, free: 8.125 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 5.09e-06/0.1816, allocations: 0 / 445.6 MB, free: 8.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007101/0.1824, allocations: 117.5 kB / 445.7 MB, free: 8.004 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.1825, allocations: 89.11 kB / 445.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1827, allocations: 110 kB / 445.9 MB, free: 7.781 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.1827, allocations: 34.02 kB / 445.9 MB, free: 7.742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.1828, allocations: 158.8 kB / 446.1 MB, free: 7.586 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.1829, allocations: 15.73 kB / 446.1 MB, free: 7.57 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.1829, allocations: 8 kB / 446.1 MB, free: 7.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.183, allocations: 318.7 kB / 446.4 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.1832, allocations: 31.92 kB / 446.5 MB, free: 7.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.1834, allocations: 61.14 kB / 446.5 MB, free: 7.133 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1836, allocations: 31.98 kB / 446.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1837, allocations: 0 / 446.6 MB, free: 7.102 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004819/0.1842, allocations: 109.5 kB / 446.7 MB, free: 6.988 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.1842, allocations: 8 kB / 446.7 MB, free: 6.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.1842, allocations: 3.984 kB / 446.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.1843, allocations: 4.156 kB / 446.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.1845, allocations: 15.94 kB / 446.7 MB, free: 6.957 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.1845, allocations: 7.984 kB / 446.7 MB, free: 6.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.1847, allocations: 11.98 kB / 446.7 MB, free: 6.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.1847, allocations: 4.188 kB / 446.7 MB, free: 6.934 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,ClockedRealToTrigger.y2,$CLKPRE.ClockedRealToTrigger.y2,$whenCondition1,ClockedRealToTrigger.y,$PRE.ClockedRealToTrigger.y3,ClockedRealToTrigger.y3) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedRealToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001548/0.1849, allocations: 125.6 kB / 446.8 MB, free: 6.801 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.1851, allocations: 61.53 kB / 446.9 MB, free: 6.734 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.634e-05/0.1852, allocations: 7.969 kB / 446.9 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1852, allocations: 0 / 446.9 MB, free: 6.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.1852, allocations: 8.312 kB / 446.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.1852, allocations: 0 / 446.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007049/0.1859, allocations: 346.5 kB / 447.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.186, allocations: 0 / 447.3 MB, free: 6.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.1862, allocations: 12 kB / 447.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.199e-05/0.1862, allocations: 3.984 kB / 447.3 MB, free: 6.305 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.1862, allocations: 4 kB / 447.3 MB, free: 6.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.996e-06/0.1863, allocations: 4 kB / 447.3 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1863, allocations: 0 / 447.3 MB, free: 6.297 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/0.1867, allocations: 209.9 kB / 447.5 MB, free: 6.066 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.205e-05/0.1868, allocations: 92.94 kB / 447.6 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.1869, allocations: 4 kB / 447.6 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.187, allocations: 4 kB / 447.6 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.838e-05/0.1871, allocations: 11.95 kB / 447.6 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.1872, allocations: 7.984 kB / 447.6 MB, free: 5.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.122e-05/0.1873, allocations: 91.25 kB / 447.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.1873, allocations: 0 / 447.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005679/0.1879, allocations: 12 kB / 447.7 MB, free: 5.828 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (ClockedRealToTrigger.y2,ClockedRealToTrigger.y,$whenCondition1,ClockedRealToTrigger.y3,triggeredSampler.y) * Number of discrete states: 1 (ClockedRealToTrigger.y3) * Number of clocked states: 1 (ClockedRealToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001715/0.188, allocations: 107.2 kB / 447.8 MB, free: 5.715 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.1885, allocations: 67.91 kB / 447.9 MB, free: 5.648 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1885, allocations: 0 / 447.9 MB, free: 5.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.1887, allocations: 20 kB / 447.9 MB, free: 5.629 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.1891, allocations: 27.67 kB / 447.9 MB, free: 5.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006671/0.1898, allocations: 220.2 kB / 448.1 MB, free: 5.359 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1901, allocations: 0.6977 MB / 448.8 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.1902, allocations: 15.44 kB / 448.8 MB, free: 4.621 MB / 282.7 MB Notification: Performance of SimCode: time 2.084e-06/0.1902, allocations: 0 / 448.8 MB, free: 4.621 MB / 282.7 MB Notification: Performance of Templates: time 0.004533/0.1948, allocations: 0.9214 MB / 449.8 MB, free: 3.703 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedRealToTrigger.pipe 2>&1)