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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestBooleanSamplerAndHolds",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestBooleanSamplerAndHolds",fmuType="me",version="2.0",platforms={"static"}) [: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.001722/0.001722, allocations: 190 kB / 7.846 MB, free: 2.516 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.896/1.896, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001806/0.001806, allocations: 98.05 kB / 261.5 MB, free: 13.62 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.1123/0.1123, allocations: 12.58 MB / 322 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2617/0.3741, allocations: 56.5 MB / 378.5 MB, free: 75.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.4998, allocations: 50.37 MB / 428.9 MB, free: 25.22 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.8484, allocations: 79.23 MB / 0.4962 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/0.8487, allocations: 56.25 kB / 0.4962 GB, free: 11.93 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.02507/0.8737, allocations: 5.834 MB / 0.5019 GB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.8738, allocations: 7.688 kB / 0.5019 GB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/0.8739, allocations: 31.03 kB / 0.502 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.8744, allocations: 254.3 kB / 0.5022 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.8744, allocations: 8.25 kB / 0.5022 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.051e-05/0.8745, allocations: 19.31 kB / 0.5022 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004116/0.8749, allocations: 133.2 kB / 0.5024 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.8763, allocations: 0.5849 MB / 0.5029 GB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.8764, allocations: 3.938 kB / 0.5029 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.8765, allocations: 7.828 kB / 0.5029 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.8765, allocations: 3.875 kB / 0.503 GB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.8778, allocations: 0.9655 MB / 0.5039 GB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007431/0.8786, allocations: 0.6758 MB / 0.5046 GB, free: 9.082 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.8789, allocations: 198.8 kB / 0.5047 GB, free: 8.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.495e-05/0.879, allocations: 22.97 kB / 0.5048 GB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.8791, allocations: 94.7 kB / 0.5049 GB, free: 8.887 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.897e-06/0.8792, allocations: 0 / 0.5049 GB, free: 8.887 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007102/0.8799, allocations: 264.7 kB / 0.5051 GB, free: 8.797 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.88, allocations: 335 kB / 0.5054 GB, free: 8.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.8803, allocations: 176.4 kB / 0.5056 GB, free: 8.293 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.089e-05/0.8804, allocations: 25.7 kB / 0.5056 GB, free: 8.262 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.52e-05/0.8805, allocations: 111.2 kB / 0.5057 GB, free: 8.168 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.098e-05/0.8805, allocations: 28.36 kB / 0.5058 GB, free: 8.156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.8806, allocations: 0 / 0.5058 GB, free: 8.156 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.8807, allocations: 341.7 kB / 0.5061 GB, free: 7.832 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.8808, allocations: 45.98 kB / 0.5061 GB, free: 7.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.8811, allocations: 296.8 kB / 0.5064 GB, free: 7.48 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.8813, allocations: 109.3 kB / 0.5065 GB, free: 7.441 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.8813, allocations: 3.719 kB / 0.5065 GB, free: 7.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007882/0.8821, allocations: 295.9 kB / 0.5068 GB, free: 7.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.8822, allocations: 4.75 kB / 0.5068 GB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.8822, allocations: 11.72 kB / 0.5068 GB, free: 7.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.169e-05/0.8823, allocations: 19.22 kB / 0.5068 GB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.8824, allocations: 30.48 kB / 0.5069 GB, free: 7.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.8824, allocations: 19.73 kB / 0.5069 GB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.8828, allocations: 19.52 kB / 0.5069 GB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.083e-05/0.8828, allocations: 22.84 kB / 0.5069 GB, free: 7.289 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.0001902/0.883, allocations: 155.3 kB / 0.5071 GB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005566/0.8836, allocations: 247 kB / 0.5073 GB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.8837, allocations: 36.05 kB / 0.5073 GB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.8837, allocations: 15.66 kB / 0.5074 GB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.8838, allocations: 0 / 0.5074 GB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/0.8838, allocations: 7.906 kB / 0.5074 GB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002709/0.8841, allocations: 199.1 kB / 0.5075 GB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.8841, allocations: 8.094 kB / 0.5076 GB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.868e-05/0.8842, allocations: 23.08 kB / 0.5076 GB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.8842, allocations: 3.844 kB / 0.5076 GB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.46e-05/0.8842, allocations: 7.828 kB / 0.5076 GB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.8842, allocations: 3.844 kB / 0.5076 GB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/0.8842, allocations: 11.66 kB / 0.5076 GB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006287/0.8849, allocations: 468.7 kB / 0.5081 GB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006615/0.8856, allocations: 0.8583 MB / 0.5089 GB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.8856, allocations: 96.45 kB / 0.509 GB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.8857, allocations: 11.45 kB / 0.509 GB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.8859, allocations: 7.375 kB / 0.509 GB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.886, allocations: 11.67 kB / 0.509 GB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.779e-05/0.8861, allocations: 15.09 kB / 0.509 GB, free: 5.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001193/0.8862, allocations: 130.2 kB / 0.5091 GB, free: 5.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001411/0.8876, allocations: 37.94 kB / 0.5092 GB, free: 5.512 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.0001978/0.8878, allocations: 117.1 kB / 0.5093 GB, free: 5.414 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005838/0.8884, allocations: 219.1 kB / 0.5095 GB, free: 5.375 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.8884, allocations: 3.938 kB / 0.5095 GB, free: 5.371 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.446e-05/0.8885, allocations: 14.97 kB / 0.5095 GB, free: 5.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.8896, allocations: 178.1 kB / 0.5097 GB, free: 5.336 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.8908, allocations: 408.1 kB / 0.5101 GB, free: 5.086 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.8912, allocations: 0.8227 MB / 0.5109 GB, free: 4.328 MB / 330.7 MB Notification: Performance of SimCode: time 1.663e-06/0.8912, allocations: 0 / 0.5109 GB, free: 4.328 MB / 330.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestBooleanSamplerAndHolds_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestBooleanSamplerAndHolds.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe 2>&1)