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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 181 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.002036/0.002036, allocations: 92.58 kB / 261.8 MB, free: 13.45 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.1361/0.1361, allocations: 12.58 MB / 322.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.218e-05/2.211e-05, allocations: 4 kB / 379 MB, free: 75.2 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.08974, allocations: 50.38 MB / 429.4 MB, free: 24.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.5591, allocations: 79.29 MB / 0.4968 GB, free: 12.11 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/0.5595, allocations: 63.88 kB / 0.4968 GB, free: 12.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02715/0.5867, allocations: 5.693 MB / 0.5024 GB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5868, allocations: 0 / 0.5024 GB, free: 11.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.5868, allocations: 7.656 kB / 0.5024 GB, free: 11.52 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.0006798/0.5875, allocations: 479.5 kB / 0.5029 GB, free: 11.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.5875, allocations: 11.25 kB / 0.5029 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.747e-05/0.5876, allocations: 30.47 kB / 0.5029 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.5881, allocations: 253.7 kB / 0.5032 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.5881, allocations: 15.62 kB / 0.5032 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.5882, allocations: 15.38 kB / 0.5032 GB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003539/0.5885, allocations: 132.4 kB / 0.5033 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009679/0.5895, allocations: 0.5723 MB / 0.5039 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.5895, allocations: 11.78 kB / 0.5039 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.5896, allocations: 0 / 0.5039 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.5896, allocations: 7.406 kB / 0.5039 GB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000823/0.5904, allocations: 0.9676 MB / 0.5048 GB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006412/0.5911, allocations: 0.6741 MB / 0.5055 GB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.5914, allocations: 198 kB / 0.5057 GB, free: 8.762 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.674e-05/0.5915, allocations: 19.61 kB / 0.5057 GB, free: 8.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.5917, allocations: 94.73 kB / 0.5058 GB, free: 8.664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.487e-06/0.5917, allocations: 0 / 0.5058 GB, free: 8.664 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.000652/0.5923, allocations: 271.1 kB / 0.506 GB, free: 8.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.5925, allocations: 328.1 kB / 0.5064 GB, free: 8.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.5927, allocations: 182.2 kB / 0.5065 GB, free: 8.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.5927, allocations: 25.7 kB / 0.5066 GB, free: 8.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.5928, allocations: 121.2 kB / 0.5067 GB, free: 7.949 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.5929, allocations: 31.22 kB / 0.5067 GB, free: 7.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.296e-05/0.5929, allocations: 0 / 0.5067 GB, free: 7.934 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.073e-05/0.593, allocations: 338.1 kB / 0.507 GB, free: 7.613 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.5931, allocations: 41.5 kB / 0.5071 GB, free: 7.609 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002348/0.5933, allocations: 301.1 kB / 0.5074 GB, free: 7.262 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.5936, allocations: 104 kB / 0.5074 GB, free: 7.223 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.5936, allocations: 7.781 kB / 0.5075 GB, free: 7.219 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006135/0.5942, allocations: 315.6 kB / 0.5078 GB, free: 7.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.5942, allocations: 7.469 kB / 0.5078 GB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.5943, allocations: 11.34 kB / 0.5078 GB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/0.5943, allocations: 15.48 kB / 0.5078 GB, free: 7.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.5944, allocations: 34.14 kB / 0.5078 GB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.5945, allocations: 19.77 kB / 0.5078 GB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/0.5947, allocations: 15.28 kB / 0.5079 GB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/0.5948, allocations: 26.5 kB / 0.5079 GB, free: 7.059 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.0001848/0.595, allocations: 153.3 kB / 0.508 GB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00057/0.5956, allocations: 284.1 kB / 0.5083 GB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.5957, allocations: 35.02 kB / 0.5083 GB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.5959, allocations: 31.67 kB / 0.5084 GB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5959, allocations: 7.688 kB / 0.5084 GB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/0.5959, allocations: 3.844 kB / 0.5084 GB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5959, allocations: 3.875 kB / 0.5084 GB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.5962, allocations: 198.2 kB / 0.5086 GB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.5962, allocations: 3.875 kB / 0.5086 GB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.713e-05/0.5963, allocations: 23.36 kB / 0.5086 GB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.608e-06/0.5963, allocations: 4 kB / 0.5086 GB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.5963, allocations: 15.64 kB / 0.5086 GB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.5963, allocations: 7.797 kB / 0.5086 GB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.5963, allocations: 3.844 kB / 0.5086 GB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/0.5969, allocations: 475.5 kB / 0.5091 GB, free: 6.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.597, allocations: 100.5 kB / 0.5092 GB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.597, allocations: 3.906 kB / 0.5092 GB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.5972, allocations: 11.7 kB / 0.5092 GB, free: 6.102 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.5973, allocations: 11.28 kB / 0.5092 GB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.138e-05/0.5973, allocations: 18.98 kB / 0.5092 GB, free: 6.094 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000105/0.5975, allocations: 118.8 kB / 0.5093 GB, free: 6.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5975, allocations: 0 / 0.5093 GB, free: 6.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005346/0.598, allocations: 38.73 kB / 0.5094 GB, free: 6.012 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.001186/0.5992, allocations: 1.842 MB / 0.5112 GB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005132/0.5997, allocations: 212.8 kB / 0.5114 GB, free: 4.379 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.5998, allocations: 0 / 0.5114 GB, free: 4.379 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.616e-05/0.5998, allocations: 22.59 kB / 0.5114 GB, free: 4.371 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.6006, allocations: 174.4 kB / 0.5116 GB, free: 4.332 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.6019, allocations: 463.5 kB / 0.512 GB, free: 4.02 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.6022, allocations: 0.7809 MB / 0.5128 GB, free: 3.281 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001192/0.6023, allocations: 34.59 kB / 0.5128 GB, free: 3.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.6025, allocations: 79.34 kB / 0.5129 GB, free: 3.25 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6025, allocations: 0 / 0.5129 GB, free: 3.25 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0581/0.6606, allocations: 4.599 MB / 0.5174 GB, free: 1.098 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/0.6609, allocations: 166.5 kB / 0.5175 GB, free: 0.9062 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/3.482, allocations: 3.438 kB / 0.5175 GB, free: 0.9062 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)