Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.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.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001173, allocations: 189.8 kB / 7.846 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0009376/0.0009376, allocations: 100.4 kB / 261.5 MB, free: 13.54 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.0654/0.0654, allocations: 12.59 MB / 322 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.432e-06, allocations: 0 / 378.4 MB, free: 75.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0731/0.07312, allocations: 50.37 MB / 428.8 MB, free: 25.25 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2428/0.316, allocations: 79.23 MB / 0.4961 GB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001427/0.3161, allocations: 64.05 kB / 0.4961 GB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01415/0.3303, allocations: 5.351 MB / 0.5014 GB, free: 11.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.3304, allocations: 3.812 kB / 0.5014 GB, free: 11.36 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.0004741/0.3308, allocations: 482.6 kB / 0.5018 GB, free: 10.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.3309, allocations: 8.484 kB / 0.5018 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.403e-05/0.3309, allocations: 30.44 kB / 0.5019 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.3312, allocations: 258 kB / 0.5021 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.3313, allocations: 7.625 kB / 0.5021 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3313, allocations: 18.84 kB / 0.5021 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002367/0.3315, allocations: 131.5 kB / 0.5023 GB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/0.3322, allocations: 0.582 MB / 0.5028 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.3323, allocations: 3.938 kB / 0.5028 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.3323, allocations: 3.875 kB / 0.5028 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3323, allocations: 3.781 kB / 0.5028 GB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005097/0.3328, allocations: 0.9595 MB / 0.5038 GB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.3332, allocations: 0.6792 MB / 0.5044 GB, free: 8.832 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.3334, allocations: 206.2 kB / 0.5046 GB, free: 8.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.671e-05/0.3335, allocations: 22.73 kB / 0.5047 GB, free: 8.719 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.505e-05/0.3335, allocations: 95.75 kB / 0.5048 GB, free: 8.629 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 2.074e-06/0.3336, allocations: 0 / 0.5048 GB, free: 8.629 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.0003894/0.3339, allocations: 267.9 kB / 0.505 GB, free: 8.539 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.334, allocations: 328 kB / 0.5053 GB, free: 8.156 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3342, allocations: 177.9 kB / 0.5055 GB, free: 8.039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3342, allocations: 25.7 kB / 0.5055 GB, free: 8.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.423e-05/0.3342, allocations: 107 kB / 0.5056 GB, free: 7.914 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.3343, allocations: 37.92 kB / 0.5057 GB, free: 7.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.116e-06/0.3343, allocations: 0 / 0.5057 GB, free: 7.898 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.878e-05/0.3343, allocations: 339.4 kB / 0.506 GB, free: 7.574 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.3344, allocations: 46.98 kB / 0.506 GB, free: 7.566 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3346, allocations: 301.4 kB / 0.5063 GB, free: 7.219 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.3347, allocations: 104.7 kB / 0.5064 GB, free: 7.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3347, allocations: 3.844 kB / 0.5064 GB, free: 7.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003574/0.335, allocations: 300 kB / 0.5067 GB, free: 7.062 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.3351, allocations: 8.812 kB / 0.5067 GB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3351, allocations: 15.58 kB / 0.5067 GB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.3351, allocations: 19.41 kB / 0.5067 GB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.574e-05/0.3352, allocations: 30.58 kB / 0.5068 GB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3352, allocations: 19.61 kB / 0.5068 GB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.3354, allocations: 11.5 kB / 0.5068 GB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.937e-05/0.3354, allocations: 26.31 kB / 0.5068 GB, free: 7.031 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 8.769e-05/0.3355, allocations: 147.3 kB / 0.507 GB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.3358, allocations: 248.7 kB / 0.5072 GB, free: 6.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.3359, allocations: 36.48 kB / 0.5072 GB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.3359, allocations: 11.75 kB / 0.5073 GB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3359, allocations: 7.812 kB / 0.5073 GB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.3359, allocations: 7.953 kB / 0.5073 GB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3361, allocations: 199.6 kB / 0.5075 GB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3361, allocations: 8.062 kB / 0.5075 GB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.24e-05/0.3362, allocations: 19.3 kB / 0.5075 GB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3362, allocations: 3.812 kB / 0.5075 GB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3362, allocations: 7.656 kB / 0.5075 GB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.3362, allocations: 7.859 kB / 0.5075 GB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3362, allocations: 7.812 kB / 0.5075 GB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003415/0.3366, allocations: 469.7 kB / 0.508 GB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.507e-05/0.3366, allocations: 103.3 kB / 0.5081 GB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3366, allocations: 7.828 kB / 0.5081 GB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.3368, allocations: 11.69 kB / 0.5081 GB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.3368, allocations: 11.77 kB / 0.5081 GB, free: 6.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.3368, allocations: 14.66 kB / 0.5081 GB, free: 6.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.569e-05/0.3369, allocations: 125 kB / 0.5082 GB, free: 6.008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.3372, allocations: 30.31 kB / 0.5082 GB, free: 6.008 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.0001014/0.3374, allocations: 123.2 kB / 0.5084 GB, free: 5.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.3376, allocations: 218.4 kB / 0.5086 GB, free: 5.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3376, allocations: 0.9375 kB / 0.5086 GB, free: 5.871 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.608e-05/0.3377, allocations: 19.58 kB / 0.5086 GB, free: 5.867 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.3382, allocations: 189.9 kB / 0.5088 GB, free: 5.816 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005742/0.3388, allocations: 407.4 kB / 0.5092 GB, free: 5.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.339, allocations: 0.8198 MB / 0.51 GB, free: 4.816 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.339, allocations: 4 kB / 0.51 GB, free: 4.812 MB / 330.7 MB Notification: Performance of Templates: time 0.00592/0.3449, allocations: 2.864 MB / 0.5128 GB, free: 3.469 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe 2>&1)