Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002412/0.002412, allocations: 175.3 kB / 8.192 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001288/0.001288, allocations: 100.1 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09788/0.09788, allocations: 12.59 MB / 322.3 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.397e-06/9.568e-06, allocations: 0 / 378.4 MB, free: 76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08622/0.08627, allocations: 50.37 MB / 428.7 MB, free: 25.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2944/0.3807, allocations: 79.23 MB / 0.4961 GB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.3809, allocations: 60.72 kB / 0.4961 GB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.02351/0.4045, allocations: 5.356 MB / 0.5014 GB, free: 11.39 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.382e-05/0.4046, allocations: 3.875 kB / 0.5014 GB, free: 11.39 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.000743/0.4053, allocations: 475.1 kB / 0.5018 GB, free: 11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.4054, allocations: 7.688 kB / 0.5018 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.324e-05/0.4055, allocations: 35 kB / 0.5019 GB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.4059, allocations: 256 kB / 0.5021 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.406, allocations: 11.67 kB / 0.5021 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.406, allocations: 19.28 kB / 0.5021 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003933/0.4064, allocations: 131.8 kB / 0.5023 GB, free: 10.76 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.4075, allocations: 0.5765 MB / 0.5028 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.4076, allocations: 3.938 kB / 0.5028 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.716e-05/0.4076, allocations: 3.875 kB / 0.5028 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.4077, allocations: 7.688 kB / 0.5028 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009188/0.4086, allocations: 0.9628 MB / 0.5038 GB, free: 9.598 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007118/0.4093, allocations: 0.6817 MB / 0.5044 GB, free: 8.918 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003448/0.4097, allocations: 200.4 kB / 0.5046 GB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.657e-05/0.4098, allocations: 26 kB / 0.5047 GB, free: 8.809 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/0.4099, allocations: 89.33 kB / 0.5047 GB, free: 8.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.757e-06/0.4099, allocations: 4 kB / 0.5047 GB, free: 8.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007007/0.4106, allocations: 268.3 kB / 0.505 GB, free: 8.633 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001197/0.4108, allocations: 328.2 kB / 0.5053 GB, free: 8.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.411, allocations: 180.7 kB / 0.5055 GB, free: 8.133 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.411, allocations: 25.7 kB / 0.5055 GB, free: 8.102 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.4111, allocations: 169.9 kB / 0.5057 GB, free: 7.941 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.4111, allocations: 30.08 kB / 0.5057 GB, free: 7.93 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.4112, allocations: 0 / 0.5057 GB, free: 7.93 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.855e-05/0.4112, allocations: 329.5 kB / 0.506 GB, free: 7.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.4114, allocations: 40.38 kB / 0.5061 GB, free: 7.605 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002503/0.4116, allocations: 296.3 kB / 0.5063 GB, free: 7.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.4118, allocations: 114.7 kB / 0.5064 GB, free: 7.219 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4119, allocations: 3.844 kB / 0.5064 GB, free: 7.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0005959/0.4125, allocations: 296.1 kB / 0.5067 GB, free: 7.098 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4125, allocations: 3.844 kB / 0.5067 GB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.4125, allocations: 11.69 kB / 0.5067 GB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/0.4126, allocations: 16.27 kB / 0.5068 GB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.4127, allocations: 33.86 kB / 0.5068 GB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.4127, allocations: 19.41 kB / 0.5068 GB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.413, allocations: 19.61 kB / 0.5068 GB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.4131, allocations: 22.19 kB / 0.5069 GB, free: 7.066 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 49 ($whenCondition1,booleanConstant.y,$PRE.booleanConstant.pulseStart,booleanConstant.pulseStart,superSample1.y,fractionalDelay.y,backSample1.y,superSample1.u,subSample1.y,backSample1.u,ClockedSignalToSquare.u,shiftSample1.y,UnitDelay1.y,UnitDelay1.u,$CLKPRE.UnitDelay1.u,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,fractionalDelay.u_buffer[1],fractionalDelay.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample3.y,booleanConstant1[3].y,booleanConstant1[2].y,booleanConstant1[1].y,shiftSample1.u,subSample1.u,assignClock2.y[3],assignClock2.y[2],assignClock2.y[1],assignClock2.u[3],assignClock2.u[2],assignClock2.u[1],sample1.y[3],sample1.y[2],sample1.y[1],sample2.y,hold1.u,hold1.y,assignClock1.y,assignClock1.u,ClockedSignalToSquare.y2,$CLKPRE.ClockedSignalToSquare.y2,ClockedSignalToSquare.y,fractionalDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0001686/0.4132, allocations: 77.2 kB / 0.5069 GB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005383/0.4138, allocations: 248.3 kB / 0.5072 GB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.4139, allocations: 35.98 kB / 0.5072 GB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.4139, allocations: 11.69 kB / 0.5072 GB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.414, allocations: 0 / 0.5072 GB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.414, allocations: 3.844 kB / 0.5072 GB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002687/0.4143, allocations: 210.7 kB / 0.5074 GB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.4143, allocations: 3.844 kB / 0.5074 GB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.4143, allocations: 15.19 kB / 0.5074 GB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.4144, allocations: 11.95 kB / 0.5074 GB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.4144, allocations: 3.844 kB / 0.5074 GB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.4144, allocations: 3.875 kB / 0.5074 GB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.4144, allocations: 7.781 kB / 0.5075 GB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006329/0.4151, allocations: 475.5 kB / 0.5079 GB, free: 6.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.4151, allocations: 100.5 kB / 0.508 GB, free: 6.223 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.4152, allocations: 7.922 kB / 0.508 GB, free: 6.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.4154, allocations: 15.64 kB / 0.508 GB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.4155, allocations: 7.859 kB / 0.508 GB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.4156, allocations: 19.05 kB / 0.5081 GB, free: 6.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001192/0.4157, allocations: 122.9 kB / 0.5082 GB, free: 6.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004994/0.4162, allocations: 34.56 kB / 0.5082 GB, free: 6.125 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition1,booleanConstant.y,booleanConstant.pulseStart,ClockedSignalToSquare.y,hold1.y,superSample1.y,fractionalDelay.y,backSample1.y,subSample1.y,superSample1.u,shiftSample1.y,ClockedSignalToSquare.u,backSample1.u,upSample1.y,upSample1.b_super,upSample1.u_super,UnitDelay1.u,UnitDelay1.y,assignClock1.u,assignClock1.y,hold1.u,sample2.y,sample1.y[1],sample1.y[2],sample1.y[3],assignClock2.u[1],assignClock2.u[2],assignClock2.u[3],assignClock2.y[1],assignClock2.y[2],assignClock2.y[3],subSample1.u,shiftSample1.u,booleanConstant1[1].y,booleanConstant1[2].y,booleanConstant1[3].y,sample3.y,upSample1.u,upSample1.dummy,upSample1.b,fractionalDelay.u,fractionalDelay.u_buffer[1],ClockedSignalToSquare.y2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * 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.000154/0.4164, allocations: 120.6 kB / 0.5083 GB, free: 6.023 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005134/0.4169, allocations: 221.6 kB / 0.5085 GB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4169, allocations: 0 / 0.5085 GB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.328e-05/0.417, allocations: 15 kB / 0.5085 GB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008882/0.4179, allocations: 190.4 kB / 0.5087 GB, free: 5.934 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4189, allocations: 434 kB / 0.5091 GB, free: 5.656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003351/0.4193, allocations: 0.8147 MB / 0.5099 GB, free: 4.906 MB / 330.7 MB Notification: Performance of SimCode: time 1.183e-06/0.4193, allocations: 0 / 0.5099 GB, free: 4.906 MB / 330.7 MB Notification: Performance of Templates: time 0.008005/0.4273, allocations: 3.076 MB / 0.5129 GB, free: 3.375 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe 2>&1)