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.001171/0.001171, allocations: 178.6 kB / 15.81 MB, free: 6.062 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.515/1.515, allocations: 205.4 MB / 222 MB, free: 13.82 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.0009376/0.0009376, allocations: 90.25 kB / 270.3 MB, free: 13.36 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.07099/0.07099, allocations: 12.6 MB / 331.2 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 14.59 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07452/0.07491, allocations: 50.39 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.001675/0.07662, allocations: 1.489 MB / 444 MB, free: 9.309 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.07755, allocations: 0.6712 MB / 444.7 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.07768, allocations: 11.88 kB / 444.7 MB, free: 8.617 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.07788, allocations: 19.86 kB / 444.7 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.194e-05/0.07793, allocations: 19.78 kB / 444.7 MB, free: 8.578 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.07827, allocations: 111.8 kB / 444.8 MB, free: 8.469 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.07844, allocations: 179.9 kB / 445 MB, free: 8.289 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.0786, allocations: 97.5 kB / 445.1 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.449e-05/0.07867, allocations: 59.66 kB / 445.2 MB, free: 8.141 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.879e-05/0.07877, allocations: 67.56 kB / 445.2 MB, free: 8.074 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.0788, allocations: 12 kB / 445.2 MB, free: 8.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.053e-05/0.07883, allocations: 4 kB / 445.2 MB, free: 8.059 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.749e-05/0.07888, allocations: 47.83 kB / 445.3 MB, free: 8.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.07893, allocations: 53.58 kB / 445.3 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001189/0.07905, allocations: 140.3 kB / 445.5 MB, free: 7.816 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.07907, allocations: 3.938 kB / 445.5 MB, free: 7.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.07907, allocations: 0 / 445.5 MB, free: 7.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.07909, allocations: 0 / 445.5 MB, free: 7.812 MB / 282.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.0005103/0.0796, allocations: 495.7 kB / 446 MB, free: 7.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.07964, allocations: 8.031 kB / 446 MB, free: 7.273 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.07969, allocations: 66.53 kB / 446 MB, free: 7.199 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.07974, allocations: 23.72 kB / 446.1 MB, free: 7.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.07996, allocations: 252 kB / 446.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.07999, allocations: 24.55 kB / 446.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.08002, allocations: 24 kB / 446.3 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007578/0.08079, allocations: 0.6391 MB / 447 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.08081, allocations: 0 / 447 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.08084, allocations: 12 kB / 447 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.08087, allocations: 8 kB / 447 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.08105, allocations: 136 kB / 447.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.08164, allocations: 1.028 MB / 448.2 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.08214, allocations: 0.7322 MB / 448.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.08235, allocations: 233.4 kB / 449.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.08239, allocations: 8.188 kB / 449.1 MB, free: 3.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.558e-05/0.08249, allocations: 98.03 kB / 449.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 1.813e-06/0.0825, allocations: 0 / 449.2 MB, free: 3.559 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.0005216/0.08302, allocations: 398.7 kB / 449.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.08312, allocations: 348.5 kB / 450 MB, free: 2.75 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.08328, allocations: 226.9 kB / 450.2 MB, free: 2.516 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.0833, allocations: 33.78 kB / 450.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.08336, allocations: 125 kB / 450.3 MB, free: 2.348 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.08339, allocations: 35.78 kB / 450.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.0834, allocations: 8 kB / 450.4 MB, free: 2.305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.243e-05/0.08346, allocations: 342.8 kB / 450.7 MB, free: 1.961 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.312e-05/0.08354, allocations: 56.84 kB / 450.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.08369, allocations: 315.5 kB / 451.1 MB, free: 1.473 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.08382, allocations: 103.9 kB / 451.2 MB, free: 1.371 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.08383, allocations: 7.953 kB / 451.2 MB, free: 1.363 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003744/0.08421, allocations: 373.3 kB / 451.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.08423, allocations: 12.25 kB / 451.6 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.08425, allocations: 12 kB / 451.6 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.08427, allocations: 12 kB / 451.6 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.08435, allocations: 28.11 kB / 451.6 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.08436, allocations: 19.92 kB / 451.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.08453, allocations: 39.78 kB / 451.7 MB, free: 0.8711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.08456, allocations: 31.98 kB / 451.7 MB, free: 0.8398 MB / 282.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,superSample1.u,subSample1.y,UnitDelay1.y,UnitDelay1.u,$CLKPRE.UnitDelay1.u,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,fractionalDelay.y,backSample1.y,backSample1.u,ClockedSignalToSquare.u,shiftSample1.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.0001298/0.0847, allocations: 195.5 kB / 451.9 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000317/0.08502, allocations: 280.8 kB / 452.2 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.439e-05/0.08508, allocations: 37.86 kB / 452.2 MB, free: 332 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.08511, allocations: 8 kB / 452.2 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.08512, allocations: 0 / 452.2 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.08513, allocations: 4 kB / 452.2 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.08529, allocations: 265.5 kB / 452.5 MB, free: 4 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.0853, allocations: 4 kB / 452.5 MB, free: 0 / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.08537, allocations: 19.88 kB / 452.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.08539, allocations: 4 kB / 452.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.08541, allocations: 15.92 kB / 452.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.08542, allocations: 7.984 kB / 452.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.08543, allocations: 7.938 kB / 452.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004394/0.08588, allocations: 397.2 kB / 452.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.08596, allocations: 108.8 kB / 453 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.086, allocations: 15.94 kB / 453 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.08612, allocations: 16 kB / 453.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.08616, allocations: 11.98 kB / 453.1 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.08619, allocations: 12 kB / 453.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.08632, allocations: 159.3 kB / 453.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.08632, allocations: 0 / 453.2 MB, free: 15.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003118/0.08664, allocations: 40 kB / 453.3 MB, free: 15.13 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 (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.0009228/0.08757, allocations: 1.095 MB / 454.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000358/0.08794, allocations: 253.6 kB / 454.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.08795, allocations: 0 / 454.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.902e-05/0.08799, allocations: 15.94 kB / 454.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006351/0.08864, allocations: 216.5 kB / 454.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.09068, allocations: 1.638 MB / 456.5 MB, free: 11.66 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.09101, allocations: 0.78 MB / 457.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.972e-05/0.0911, allocations: 30.97 kB / 457.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.09122, allocations: 89.16 kB / 457.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.09123, allocations: 0 / 457.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.1085, allocations: 5.168 MB / 462.5 MB, free: 5.59 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002756/0.1088, allocations: 208 kB / 462.8 MB, free: 5.355 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/2.114, allocations: 0 / 462.8 MB, free: 5.355 MB / 298.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)