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.001513/0.001512, allocations: 183.1 kB / 15.8 MB, free: 6.316 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.048/2.048, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.001135/0.001135, allocations: 102.8 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09496/0.09496, allocations: 12.58 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005517/0.0005516, allocations: 16.16 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08931, allocations: 50.37 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.2309, allocations: 80.06 MB / 0.5103 GB, free: 10.65 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.2312, allocations: 63.98 kB / 0.5103 GB, free: 10.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02696/0.2581, allocations: 5.758 MB / 0.516 GB, free: 4.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2582, allocations: 0 / 0.516 GB, free: 4.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.2582, allocations: 4 kB / 0.516 GB, free: 4.816 MB / 362.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.001026/0.2593, allocations: 0.4926 MB / 0.5165 GB, free: 4.273 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.2593, allocations: 8.031 kB / 0.5165 GB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.2594, allocations: 62.47 kB / 0.5165 GB, free: 4.195 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.156e-05/0.2595, allocations: 31.62 kB / 0.5166 GB, free: 4.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.26, allocations: 260.4 kB / 0.5168 GB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.2601, allocations: 20.56 kB / 0.5168 GB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.2602, allocations: 24 kB / 0.5168 GB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.2617, allocations: 0.6235 MB / 0.5175 GB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.2617, allocations: 3.938 kB / 0.5175 GB, free: 3.121 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.2618, allocations: 8 kB / 0.5175 GB, free: 3.113 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.2618, allocations: 11.94 kB / 0.5175 GB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.2622, allocations: 131.6 kB / 0.5176 GB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.2635, allocations: 1.024 MB / 0.5186 GB, free: 1.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009977/0.2646, allocations: 0.7085 MB / 0.5193 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.606e-05/0.2647, allocations: 19.98 kB / 0.5193 GB, free: 0.9453 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.2648, allocations: 93.95 kB / 0.5194 GB, free: 0.832 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.337e-06/0.2649, allocations: 0 / 0.5194 GB, free: 0.832 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001179/0.2661, allocations: 397.6 kB / 0.5198 GB, free: 448 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/0.2663, allocations: 349.3 kB / 0.5201 GB, free: 24 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2829/0.5493, allocations: 207.3 kB / 0.5203 GB, free: 85.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.737e-05/0.5494, allocations: 36.42 kB / 0.5203 GB, free: 85.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.5495, allocations: 112.8 kB / 0.5205 GB, free: 85.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.5496, allocations: 33.61 kB / 0.5205 GB, free: 85.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.5496, allocations: 9.219 kB / 0.5205 GB, free: 85.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.411e-05/0.5497, allocations: 340.4 kB / 0.5208 GB, free: 85.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.5499, allocations: 53.52 kB / 0.5209 GB, free: 85.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.5502, allocations: 315.6 kB / 0.5212 GB, free: 84.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.5505, allocations: 112.8 kB / 0.5213 GB, free: 84.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.5505, allocations: 6.016 kB / 0.5213 GB, free: 84.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008119/0.5513, allocations: 372.3 kB / 0.5216 GB, free: 84.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.5514, allocations: 9.344 kB / 0.5216 GB, free: 84.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.5514, allocations: 8.031 kB / 0.5217 GB, free: 84.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.444e-05/0.5514, allocations: 14.52 kB / 0.5217 GB, free: 84.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.5516, allocations: 31.98 kB / 0.5217 GB, free: 84.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.794e-05/0.5516, allocations: 20.59 kB / 0.5217 GB, free: 84.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003015/0.5519, allocations: 26.16 kB / 0.5217 GB, free: 84.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.87e-05/0.552, allocations: 25.47 kB / 0.5218 GB, free: 84.68 MB / 362.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 () * Number of clocked states: 4 (UnitDelay1.u,upSample1.b_super,upSample1.b,ClockedSignalToSquare.y2) * 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.0003953/0.5524, allocations: 189 kB / 0.522 GB, free: 84.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000969/0.5534, allocations: 283.1 kB / 0.5222 GB, free: 84.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.5536, allocations: 36.62 kB / 0.5223 GB, free: 84.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.5536, allocations: 6.875 kB / 0.5223 GB, free: 84.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.5536, allocations: 4.734 kB / 0.5223 GB, free: 84.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/0.5537, allocations: 4.625 kB / 0.5223 GB, free: 84.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.5541, allocations: 246.5 kB / 0.5225 GB, free: 84.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.5542, allocations: 5.562 kB / 0.5225 GB, free: 84.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.5543, allocations: 19.94 kB / 0.5225 GB, free: 84.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.669e-05/0.5543, allocations: 9.047 kB / 0.5225 GB, free: 84.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.5544, allocations: 16.5 kB / 0.5226 GB, free: 84.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.5544, allocations: 12.06 kB / 0.5226 GB, free: 84.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.5544, allocations: 2.75 kB / 0.5226 GB, free: 84.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/0.5555, allocations: 0.4964 MB / 0.5231 GB, free: 83.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.884e-05/0.5556, allocations: 106.9 kB / 0.5232 GB, free: 83.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.624e-05/0.5557, allocations: 13.36 kB / 0.5232 GB, free: 83.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.556, allocations: 14.39 kB / 0.5232 GB, free: 83.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.586e-05/0.5561, allocations: 18.27 kB / 0.5232 GB, free: 83.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.5562, allocations: 15.72 kB / 0.5232 GB, free: 83.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002961/0.5565, allocations: 156 kB / 0.5234 GB, free: 83.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.5565, allocations: 0 / 0.5234 GB, free: 83.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009514/0.5575, allocations: 48.53 kB / 0.5234 GB, free: 83.75 MB / 362.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 () * Number of clocked states: 4 (upSample1.b_super,UnitDelay1.u,upSample1.b,ClockedSignalToSquare.y2) * 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.002161/0.5597, allocations: 1.886 MB / 0.5253 GB, free: 82.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009802/0.5607, allocations: 261 kB / 0.5255 GB, free: 82.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.5607, allocations: 0 / 0.5255 GB, free: 82.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000101/0.5609, allocations: 19.91 kB / 0.5255 GB, free: 82.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.5623, allocations: 209.3 kB / 0.5257 GB, free: 82.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.567, allocations: 7.6 MB / 0.5331 GB, free: 75.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.5674, allocations: 0.7862 MB / 0.5339 GB, free: 74.48 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001647/0.5676, allocations: 27.23 kB / 0.5339 GB, free: 74.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.5678, allocations: 82.27 kB / 0.534 GB, free: 74.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5678, allocations: 0 / 0.534 GB, free: 74.46 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03959/0.6074, allocations: 5.21 MB / 0.5391 GB, free: 73.82 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/0.6078, allocations: 204.2 kB / 0.5393 GB, free: 73.58 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.589/3.197, allocations: 0 / 0.5393 GB, free: 73.58 MB / 362.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)