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.002649/0.002648, allocations: 181.7 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.337/2.337, allocations: 205.2 MB / 219 MB, free: 9.203 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.001164/0.001163, allocations: 89.84 kB / 267.1 MB, free: 9.277 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.1226/0.1226, allocations: 12.58 MB / 327.8 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.912e-05, allocations: 4 kB / 386.1 MB, free: 69.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 50.38 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.5478, allocations: 79.97 MB / 0.5043 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.5481, allocations: 57.47 kB / 0.5044 GB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0248/0.5729, allocations: 5.731 MB / 0.51 GB, free: 10.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.573, allocations: 0 / 0.51 GB, free: 10.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.573, allocations: 7.938 kB / 0.51 GB, free: 10.16 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.0008068/0.5739, allocations: 488.5 kB / 0.5105 GB, free: 9.734 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.5739, allocations: 11.56 kB / 0.5105 GB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.366e-05/0.574, allocations: 55.8 kB / 0.5105 GB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/0.5741, allocations: 31.12 kB / 0.5106 GB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.5746, allocations: 260.8 kB / 0.5108 GB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.5746, allocations: 21.53 kB / 0.5108 GB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.5747, allocations: 22.12 kB / 0.5109 GB, free: 9.426 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.5759, allocations: 0.63 MB / 0.5115 GB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.576, allocations: 0 / 0.5115 GB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.5761, allocations: 7.625 kB / 0.5115 GB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.5761, allocations: 7.625 kB / 0.5115 GB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.5764, allocations: 131.8 kB / 0.5116 GB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.5776, allocations: 1.027 MB / 0.5126 GB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008289/0.5784, allocations: 0.7011 MB / 0.5133 GB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003922/0.5789, allocations: 228.6 kB / 0.5135 GB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.204e-05/0.579, allocations: 11.33 kB / 0.5135 GB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.5791, allocations: 99.91 kB / 0.5136 GB, free: 7.191 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 3.957e-06/0.5792, allocations: 0 / 0.5136 GB, free: 7.191 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.0007878/0.58, allocations: 307.2 kB / 0.5139 GB, free: 7.09 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001559/0.5801, allocations: 348.9 kB / 0.5142 GB, free: 6.707 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002806/0.5804, allocations: 204.1 kB / 0.5144 GB, free: 6.594 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.439e-05/0.5805, allocations: 35.39 kB / 0.5145 GB, free: 6.559 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.5806, allocations: 118.8 kB / 0.5146 GB, free: 6.469 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.5806, allocations: 35.44 kB / 0.5146 GB, free: 6.453 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/0.5806, allocations: 10.47 kB / 0.5146 GB, free: 6.453 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.5808, allocations: 337.2 kB / 0.515 GB, free: 6.133 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.5809, allocations: 49.75 kB / 0.515 GB, free: 6.133 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.5812, allocations: 309 kB / 0.5153 GB, free: 5.785 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.5814, allocations: 109.7 kB / 0.5154 GB, free: 5.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.5814, allocations: 3.844 kB / 0.5154 GB, free: 5.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007736/0.5822, allocations: 370.7 kB / 0.5158 GB, free: 5.609 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.5823, allocations: 15.89 kB / 0.5158 GB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.5823, allocations: 7.719 kB / 0.5158 GB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.751e-05/0.5823, allocations: 15.38 kB / 0.5158 GB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.5825, allocations: 27.23 kB / 0.5158 GB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.228e-05/0.5825, allocations: 19.45 kB / 0.5158 GB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003077/0.5828, allocations: 21.81 kB / 0.5159 GB, free: 5.582 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.351e-05/0.5829, allocations: 22.81 kB / 0.5159 GB, free: 5.582 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.0002039/0.5831, allocations: 170 kB / 0.516 GB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005963/0.5837, allocations: 268.6 kB / 0.5163 GB, free: 5.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.5838, allocations: 45.34 kB / 0.5163 GB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.5839, allocations: 11.66 kB / 0.5164 GB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.5839, allocations: 0 / 0.5164 GB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.5839, allocations: 3.875 kB / 0.5164 GB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.5842, allocations: 251.3 kB / 0.5166 GB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.5843, allocations: 7.875 kB / 0.5166 GB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.5844, allocations: 19.05 kB / 0.5166 GB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.5844, allocations: 3.969 kB / 0.5166 GB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.5844, allocations: 7.125 kB / 0.5166 GB, free: 5.102 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/0.5844, allocations: 19.56 kB / 0.5167 GB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5844, allocations: 128 / 0.5167 GB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.5852, allocations: 0.5034 MB / 0.5171 GB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.152e-05/0.5853, allocations: 100.5 kB / 0.5172 GB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/0.5854, allocations: 18.88 kB / 0.5173 GB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.5856, allocations: 11.44 kB / 0.5173 GB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.988e-05/0.5857, allocations: 14.92 kB / 0.5173 GB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/0.5857, allocations: 7.719 kB / 0.5173 GB, free: 4.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.5859, allocations: 168.1 kB / 0.5174 GB, free: 4.496 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5859, allocations: 0 / 0.5174 GB, free: 4.496 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005372/0.5865, allocations: 45.22 kB / 0.5175 GB, free: 4.496 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.001469/0.588, allocations: 1.869 MB / 0.5193 GB, free: 2.902 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006545/0.5887, allocations: 251.8 kB / 0.5196 GB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.5887, allocations: 0 / 0.5196 GB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.729e-05/0.5888, allocations: 20.66 kB / 0.5196 GB, free: 2.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009598/0.5898, allocations: 204.7 kB / 0.5198 GB, free: 2.801 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.5913, allocations: 0.4942 MB / 0.5203 GB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/0.5916, allocations: 0.7845 MB / 0.521 GB, free: 1.762 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001413/0.5918, allocations: 30.44 kB / 0.521 GB, free: 1.742 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001622/0.5919, allocations: 84.62 kB / 0.5211 GB, free: 1.727 MB / 330.7 MB Notification: Performance of SimCode: time 1.373e-06/0.592, allocations: 0 / 0.5211 GB, free: 1.727 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0306/0.6226, allocations: 5.204 MB / 0.5262 GB, free: 13.27 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002755/0.6229, allocations: 173.4 kB / 0.5264 GB, free: 13.05 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.232, allocations: 0 / 0.5264 GB, free: 13.05 MB / 346.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)