Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.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.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003093/0.003099, allocations: 187.2 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 4.081/4.081, allocations: 205.4 MB / 222.6 MB, free: 13.83 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.001855/0.001856, allocations: 94.8 kB / 270.9 MB, free: 13.36 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.1857/0.1857, allocations: 12.59 MB / 331.8 MB, free: 10.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009491/0.0009495, allocations: 14.66 kB / 392 MB, free: 54.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1673, allocations: 50.38 MB / 442.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger): time 0.007499/0.1748, allocations: 1.238 MB / 443.6 MB, free: 10.37 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.1765, allocations: 480.2 kB / 444 MB, free: 9.891 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.1767, allocations: 0 / 444 MB, free: 9.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.21e-05/0.1768, allocations: 3.984 kB / 444.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.1769, allocations: 11.86 kB / 444.1 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000619/0.1776, allocations: 38.03 kB / 444.1 MB, free: 9.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1778, allocations: 47.88 kB / 444.1 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.178, allocations: 19.97 kB / 444.2 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.74e-05/0.1781, allocations: 19.92 kB / 444.2 MB, free: 9.754 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.352e-05/0.1782, allocations: 19.86 kB / 444.2 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.1782, allocations: 8 kB / 444.2 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.249e-05/0.1783, allocations: 4 kB / 444.2 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.1783, allocations: 3.984 kB / 444.2 MB, free: 9.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.281e-05/0.1784, allocations: 37.64 kB / 444.3 MB, free: 9.676 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1785, allocations: 43.91 kB / 444.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1786, allocations: 0 / 444.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.1786, allocations: 0 / 444.3 MB, free: 9.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.1786, allocations: 0 / 444.3 MB, free: 9.633 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007915/0.1794, allocations: 372 kB / 444.7 MB, free: 9.223 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.1795, allocations: 8.031 kB / 444.7 MB, free: 9.215 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.1796, allocations: 11.91 kB / 444.7 MB, free: 9.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1798, allocations: 186.9 kB / 444.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.1799, allocations: 0 / 444.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.1799, allocations: 15.98 kB / 444.9 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004527/0.1804, allocations: 125 kB / 445 MB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.1805, allocations: 0 / 445 MB, free: 8.824 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.1805, allocations: 4 kB / 445 MB, free: 8.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.1805, allocations: 3.984 kB / 445 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.1807, allocations: 27.98 kB / 445 MB, free: 8.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007583/0.1814, allocations: 305.5 kB / 445.3 MB, free: 8.438 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.1819, allocations: 162.3 kB / 445.5 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.1819, allocations: 3.938 kB / 445.5 MB, free: 8.238 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.1822, allocations: 67.52 kB / 445.6 MB, free: 8.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 5.52e-06/0.1822, allocations: 4 kB / 445.6 MB, free: 8.156 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005193/0.1828, allocations: 113.6 kB / 445.7 MB, free: 8.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.499e-05/0.1829, allocations: 81.11 kB / 445.8 MB, free: 7.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.1831, allocations: 121.8 kB / 445.9 MB, free: 7.812 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.1831, allocations: 29.7 kB / 445.9 MB, free: 7.777 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.1832, allocations: 158.7 kB / 446.1 MB, free: 7.621 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.598e-05/0.1833, allocations: 15.81 kB / 446.1 MB, free: 7.605 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.351e-05/0.1833, allocations: 4 kB / 446.1 MB, free: 7.602 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.1835, allocations: 326.8 kB / 446.4 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.1836, allocations: 19.94 kB / 446.4 MB, free: 7.254 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1837, allocations: 69.98 kB / 446.5 MB, free: 7.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.1839, allocations: 28.17 kB / 446.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1839, allocations: 0 / 446.5 MB, free: 7.137 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004109/0.1844, allocations: 113.5 kB / 446.6 MB, free: 7.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.1844, allocations: 4 kB / 446.6 MB, free: 7.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.1845, allocations: 4 kB / 446.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.1845, allocations: 0 / 446.6 MB, free: 7.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.1846, allocations: 4 kB / 446.6 MB, free: 7.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.1847, allocations: 4 kB / 446.6 MB, free: 7.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.1849, allocations: 27.98 kB / 446.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.185, allocations: 4 kB / 446.7 MB, free: 6.973 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition2,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001851/0.1852, allocations: 133.5 kB / 446.8 MB, free: 6.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004367/0.1896, allocations: 49.59 kB / 446.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.736e-05/0.1897, allocations: 12.38 kB / 446.9 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.1898, allocations: 0 / 446.9 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.1898, allocations: 0 / 446.9 MB, free: 6.762 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.1898, allocations: 3.984 kB / 446.9 MB, free: 6.758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007138/0.1906, allocations: 350.5 kB / 447.2 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.1906, allocations: 4.062 kB / 447.2 MB, free: 6.355 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.026e-05/0.1907, allocations: 4 kB / 447.2 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/0.1907, allocations: 0 / 447.2 MB, free: 6.352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.1907, allocations: 3.984 kB / 447.2 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.1908, allocations: 0 / 447.2 MB, free: 6.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1908, allocations: 11.88 kB / 447.2 MB, free: 6.336 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.1912, allocations: 210 kB / 447.4 MB, free: 6.105 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.065e-05/0.1913, allocations: 89.02 kB / 447.5 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.1913, allocations: 0 / 447.5 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/0.1916, allocations: 7.984 kB / 447.5 MB, free: 5.992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.1917, allocations: 11.95 kB / 447.5 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.1918, allocations: 7.984 kB / 447.6 MB, free: 5.973 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.092e-05/0.1919, allocations: 95.59 kB / 447.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.1919, allocations: 0 / 447.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006398/0.1926, allocations: 19.94 kB / 447.7 MB, free: 5.859 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: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.uu,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,booleanPulse.y,booleanPulse.pulseStart,triggeredBooleanSampler.y) * Number of discrete states: 1 (ClockedSignalToTrigger.y3) * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002051/0.1928, allocations: 107.2 kB / 447.8 MB, free: 5.742 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003643/0.1932, allocations: 67.97 kB / 447.8 MB, free: 5.676 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.1932, allocations: 3.938 kB / 447.8 MB, free: 5.672 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.1934, allocations: 23.92 kB / 447.9 MB, free: 5.648 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.1941, allocations: 40.03 kB / 447.9 MB, free: 5.613 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007298/0.1948, allocations: 207.7 kB / 448.1 MB, free: 5.379 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.1951, allocations: 0.6926 MB / 448.8 MB, free: 4.66 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.596e-05/0.1952, allocations: 23.42 kB / 448.8 MB, free: 4.637 MB / 282.7 MB Notification: Performance of SimCode: time 1.783e-06/0.1952, allocations: 0 / 448.8 MB, free: 4.637 MB / 282.7 MB Notification: Performance of Templates: time 0.009513/0.2048, allocations: 1.032 MB / 449.9 MB, free: 3.609 MB / 282.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedBooleanToTrigger.pipe 2>&1)