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.001508/0.001508, allocations: 175.4 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205 MB / 221.9 MB, free: 9.156 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.0007083/0.0007084, allocations: 97.17 kB / 269.9 MB, free: 8.684 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.07908/0.07908, allocations: 12.56 MB / 330.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 8 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08358/0.08399, allocations: 49.99 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.001662/0.08572, allocations: 1.538 MB / 442.7 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008619/0.0866, allocations: 0.6786 MB / 443.4 MB, free: 14.06 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.08671, allocations: 7.938 kB / 443.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.08689, allocations: 31.77 kB / 443.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.08694, allocations: 11.88 kB / 443.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003397/0.08729, allocations: 123.8 kB / 443.5 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.08747, allocations: 195.8 kB / 443.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.08764, allocations: 99.31 kB / 443.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.911e-05/0.08771, allocations: 63.66 kB / 443.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.692e-05/0.08781, allocations: 71.5 kB / 443.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.08784, allocations: 4 kB / 444 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.08788, allocations: 8 kB / 444 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.549e-05/0.08795, allocations: 51.77 kB / 444 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.08802, allocations: 87.23 kB / 444.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.08817, allocations: 199.1 kB / 444.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.08818, allocations: 0 / 444.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08819, allocations: 0 / 444.3 MB, free: 13.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.177e-06/0.0882, allocations: 4 kB / 444.3 MB, free: 13.11 MB / 298.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.0005792/0.08879, allocations: 487.7 kB / 444.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.08882, allocations: 8.031 kB / 444.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.759e-05/0.08888, allocations: 54.73 kB / 444.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.08893, allocations: 32.56 kB / 444.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.08918, allocations: 269.1 kB / 445.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.08921, allocations: 20.94 kB / 445.1 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.08924, allocations: 20.38 kB / 445.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.08995, allocations: 0.6587 MB / 445.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.08997, allocations: 4 kB / 445.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.08999, allocations: 8 kB / 445.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.09002, allocations: 8 kB / 445.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000175/0.0902, allocations: 135.7 kB / 446 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005635/0.09077, allocations: 1.028 MB / 447 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.09122, allocations: 0.728 MB / 447.7 MB, free: 9.238 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.09142, allocations: 229.3 kB / 448 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.09146, allocations: 12.05 kB / 448 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.431e-05/0.09155, allocations: 101.8 kB / 448.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.964e-06/0.09156, allocations: 0 / 448.1 MB, free: 8.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.0005351/0.0921, allocations: 396.8 kB / 448.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.0922, allocations: 349.8 kB / 448.8 MB, free: 8.039 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.09235, allocations: 234.8 kB / 449 MB, free: 7.801 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.09238, allocations: 33.7 kB / 449.1 MB, free: 7.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.09243, allocations: 113.1 kB / 449.2 MB, free: 7.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.09247, allocations: 39.69 kB / 449.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/0.09252, allocations: 53.69 kB / 449.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.09258, allocations: 346.8 kB / 449.6 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.187e-05/0.09266, allocations: 56.84 kB / 449.7 MB, free: 7.141 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.09281, allocations: 311.5 kB / 450 MB, free: 6.711 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002392/0.09306, allocations: 407 kB / 450.4 MB, free: 6.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.09307, allocations: 4 kB / 450.4 MB, free: 6.184 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003708/0.09344, allocations: 369.6 kB / 450.7 MB, free: 5.816 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.09347, allocations: 14.48 kB / 450.7 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.09348, allocations: 8 kB / 450.7 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.0935, allocations: 12 kB / 450.8 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.295e-05/0.09357, allocations: 39.8 kB / 450.8 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.09359, allocations: 15.94 kB / 450.8 MB, free: 5.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.09376, allocations: 47.61 kB / 450.9 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.09379, allocations: 24 kB / 450.9 MB, free: 5.66 MB / 298.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.pulseStart,$PRE.booleanConstant.pulseStart,booleanConstant.y,superSample1.y,superSample1.u,subSample1.y,UnitDelay1.y,$CLKPRE.UnitDelay1.u,UnitDelay1.u,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,fractionalDelay.y,backSample1.y,backSample1.u,ClockedSignalToSquare.u,shiftSample1.y,fractionalDelay.u_buffer[1],fractionalDelay.u,$CLKPRE.upSample1.b,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.y,hold1.u,assignClock1.y,assignClock1.u,ClockedSignalToSquare.y,$CLKPRE.ClockedSignalToSquare.y2,ClockedSignalToSquare.y2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.09392, allocations: 197.6 kB / 451.1 MB, free: 5.457 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.09423, allocations: 285 kB / 451.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.0943, allocations: 37.81 kB / 451.4 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.09432, allocations: 11.98 kB / 451.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.09433, allocations: 0 / 451.4 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.09434, allocations: 8.156 kB / 451.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.09453, allocations: 257.3 kB / 451.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.09454, allocations: 4 kB / 451.7 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.09458, allocations: 19.92 kB / 451.7 MB, free: 4.793 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.09458, allocations: 7.938 kB / 451.7 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.09461, allocations: 8 kB / 451.7 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.09461, allocations: 4 kB / 451.7 MB, free: 4.773 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.09462, allocations: 7.938 kB / 451.7 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.09497, allocations: 402.8 kB / 452.1 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.09503, allocations: 120.6 kB / 452.2 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.109e-05/0.09506, allocations: 8 kB / 452.2 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.09517, allocations: 19.97 kB / 452.2 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.09522, allocations: 11.98 kB / 452.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.09524, allocations: 12 kB / 452.3 MB, free: 4.133 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.858e-05/0.09534, allocations: 155.3 kB / 452.4 MB, free: 3.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.09535, allocations: 4 kB / 452.4 MB, free: 3.977 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.09567, allocations: 48 kB / 452.5 MB, free: 3.93 MB / 298.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,subSample1.y,superSample1.u,upSample1.y,upSample1.b_super,upSample1.u_super,UnitDelay1.u,UnitDelay1.y,fractionalDelay.y,backSample1.y,shiftSample1.y,ClockedSignalToSquare.u,backSample1.u,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 (41): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007085/0.09638, allocations: 1.083 MB / 453.6 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002813/0.09667, allocations: 257.2 kB / 453.8 MB, free: 2.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.09669, allocations: 0.6875 kB / 453.8 MB, free: 2.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.36e-05/0.09672, allocations: 19.94 kB / 453.8 MB, free: 2.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005919/0.09732, allocations: 211.8 kB / 454 MB, free: 2.312 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.0989, allocations: 1.661 MB / 455.7 MB, free: 456 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.09917, allocations: 0.78 MB / 456.5 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.862e-05/0.09924, allocations: 31.48 kB / 456.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.09935, allocations: 83.41 kB / 456.6 MB, free: 15.53 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.09935, allocations: 0 / 456.6 MB, free: 15.53 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01437/0.1137, allocations: 5.168 MB / 461.8 MB, free: 10.35 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.1139, allocations: 232.2 kB / 462 MB, free: 10.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.149, allocations: 7.844 kB / 462 MB, free: 10.09 MB / 314.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)