Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.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.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 179.4 kB / 16.77 MB, free: 4.898 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.819/1.819, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0008276/0.0008276, allocations: 90.34 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1048/0.1048, allocations: 12.61 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004294/0.0004294, allocations: 16 kB / 392.6 MB, free: 66.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08857, allocations: 50.37 MB / 443 MB, free: 16.15 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger): time 0.001888/0.0905, allocations: 1.568 MB / 444.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.09167, allocations: 0.9604 MB / 445.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.09177, allocations: 3.938 kB / 445.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002917/0.09207, allocations: 59.78 kB / 445.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.09225, allocations: 75.73 kB / 445.6 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004677/0.09273, allocations: 199.6 kB / 445.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.09289, allocations: 147.6 kB / 446 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.09301, allocations: 37.53 kB / 446 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.896e-05/0.0931, allocations: 59.66 kB / 446 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.786e-05/0.09319, allocations: 71.73 kB / 446.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.09322, allocations: 4 kB / 446.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.09333, allocations: 59.89 kB / 446.2 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.0934, allocations: 47.83 kB / 446.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.866e-05/0.09347, allocations: 93.23 kB / 446.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.09364, allocations: 171.9 kB / 446.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.09365, allocations: 0 / 446.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.09366, allocations: 4 kB / 446.5 MB, free: 12.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.09367, allocations: 3.938 kB / 446.5 MB, free: 12.58 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005437/0.09422, allocations: 0.504 MB / 447 MB, free: 12.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.09426, allocations: 8.031 kB / 447 MB, free: 12.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.09432, allocations: 24.73 kB / 447 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.09457, allocations: 278.7 kB / 447.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.0946, allocations: 4.375 kB / 447.3 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.09462, allocations: 16.12 kB / 447.3 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.09492, allocations: 182.6 kB / 447.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.09493, allocations: 0 / 447.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.09495, allocations: 7.984 kB / 447.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.09497, allocations: 4 kB / 447.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.09508, allocations: 43.91 kB / 447.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.09553, allocations: 409.4 kB / 448 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.09576, allocations: 129.3 kB / 448.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.09588, allocations: 53.64 kB / 448.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.09591, allocations: 0 / 448.1 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.09609, allocations: 91.36 kB / 448.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.0961, allocations: 0 / 448.2 MB, free: 10.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003506/0.09646, allocations: 185.2 kB / 448.4 MB, free: 10.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.09652, allocations: 140.5 kB / 448.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.09676, allocations: 320.9 kB / 448.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.09679, allocations: 33.7 kB / 448.9 MB, free: 9.918 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.09685, allocations: 136 kB / 449 MB, free: 9.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.09688, allocations: 27.64 kB / 449 MB, free: 9.754 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.09689, allocations: 4 kB / 449.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.499e-05/0.09695, allocations: 338.8 kB / 449.4 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.326e-05/0.09703, allocations: 31.98 kB / 449.4 MB, free: 9.379 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.971e-05/0.09714, allocations: 116.9 kB / 449.5 MB, free: 9.234 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.0973, allocations: 125.9 kB / 449.7 MB, free: 9.09 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.09731, allocations: 4 kB / 449.7 MB, free: 9.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002272/0.09754, allocations: 161.2 kB / 449.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.09756, allocations: 7.938 kB / 449.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.09757, allocations: 4 kB / 449.8 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.09759, allocations: 8.094 kB / 449.8 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.0977, allocations: 23.98 kB / 449.9 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.09771, allocations: 3.938 kB / 449.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.237e-05/0.09779, allocations: 12 kB / 449.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.09781, allocations: 4 kB / 449.9 MB, free: 8.859 MB / 298.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: 16 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition2,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition1,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 (19): * Single equations (assignments): 19 * 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.0001048/0.09792, allocations: 168.9 kB / 450 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.09799, allocations: 73.41 kB / 450.1 MB, free: 8.605 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.09804, allocations: 21.72 kB / 450.1 MB, free: 8.586 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.09805, allocations: 4 kB / 450.1 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.09806, allocations: 11.92 kB / 450.1 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.09807, allocations: 0 / 450.1 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.09846, allocations: 474.2 kB / 450.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.09848, allocations: 128 / 450.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.09854, allocations: 15.98 kB / 450.6 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.09855, allocations: 3.938 kB / 450.6 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.09857, allocations: 4 kB / 450.6 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.09857, allocations: 0 / 450.6 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.09858, allocations: 4 kB / 450.6 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.09881, allocations: 252.1 kB / 450.9 MB, free: 7.758 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.09886, allocations: 100.8 kB / 451 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.205e-05/0.0989, allocations: 19.86 kB / 451 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.688e-05/0.09899, allocations: 0 / 451 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.09904, allocations: 15.98 kB / 451 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.09906, allocations: 8 kB / 451 MB, free: 7.598 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001624/0.09923, allocations: 236.4 kB / 451.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09924, allocations: 0 / 451.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002673/0.09951, allocations: 44.11 kB / 451.3 MB, free: 7.324 MB / 298.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.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,triggeredBooleanSampler.y,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 3 (integerTable.combiTimeTable.nextTimeEvent,ClockedSignalToTrigger.y3,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 1 (ClockedSignalToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007667/0.1003, allocations: 431.2 kB / 451.7 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002199/0.1005, allocations: 99.83 kB / 451.8 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1005, allocations: 4.312 kB / 451.8 MB, free: 6.793 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.1006, allocations: 39.92 kB / 451.9 MB, free: 6.754 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.101, allocations: 60.56 kB / 451.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.1015, allocations: 441 kB / 452.4 MB, free: 6.234 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.1016, allocations: 0.7478 MB / 453.1 MB, free: 5.461 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.1017, allocations: 23.42 kB / 453.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1017, allocations: 0 / 453.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of Templates: time 0.003846/0.1056, allocations: 3.069 MB / 456.2 MB, free: 2.363 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger.pipe 2>&1)