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.001716/0.001716, allocations: 178.1 kB / 16.15 MB, free: 5.527 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.552/1.552, allocations: 205.4 MB / 222.3 MB, free: 9.008 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.0007352/0.0007352, allocations: 88.23 kB / 270.7 MB, free: 8.23 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.06983/0.06983, allocations: 12.59 MB / 331.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003758, allocations: 8 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0886/0.089, allocations: 50.38 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.001912/0.09096, allocations: 1.519 MB / 444.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.09199, allocations: 0.6631 MB / 445.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001833/0.0922, allocations: 7.938 kB / 445.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.0925, allocations: 31.78 kB / 445.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.484e-05/0.0926, allocations: 11.86 kB / 445.4 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000521/0.09313, allocations: 127.8 kB / 445.5 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002471/0.09338, allocations: 191.8 kB / 445.7 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.09364, allocations: 107.3 kB / 445.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.09378, allocations: 63.66 kB / 445.8 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.09392, allocations: 71.5 kB / 445.9 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.09397, allocations: 8 kB / 445.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.616e-05/0.09401, allocations: 4 kB / 445.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.0941, allocations: 51.77 kB / 446 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.774e-05/0.09421, allocations: 109.1 kB / 446.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.09439, allocations: 191.1 kB / 446.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.0944, allocations: 0 / 446.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.09441, allocations: 0 / 446.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.09442, allocations: 0 / 446.3 MB, free: 12.14 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.0005944/0.09502, allocations: 483.8 kB / 446.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.09507, allocations: 16.03 kB / 446.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.09513, allocations: 62.72 kB / 446.8 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.09519, allocations: 36.5 kB / 446.9 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.09545, allocations: 269.1 kB / 447.1 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.09547, allocations: 16.94 kB / 447.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.0955, allocations: 24.38 kB / 447.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.09623, allocations: 0.6509 MB / 447.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.09626, allocations: 7.938 kB / 447.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.09628, allocations: 8 kB / 447.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.09632, allocations: 8 kB / 447.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.09651, allocations: 127.7 kB / 448 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006449/0.09717, allocations: 1.031 MB / 449 MB, free: 9.164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.09765, allocations: 0.7279 MB / 449.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.09787, allocations: 233.3 kB / 449.9 MB, free: 8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.09792, allocations: 12 kB / 450 MB, free: 7.988 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/0.09804, allocations: 97.81 kB / 450.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.09806, allocations: 0 / 450.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.0005507/0.09861, allocations: 408.6 kB / 450.5 MB, free: 7.465 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.09871, allocations: 345.2 kB / 450.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.09887, allocations: 238.8 kB / 451 MB, free: 6.812 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.0989, allocations: 29.7 kB / 451.1 MB, free: 6.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.09895, allocations: 121.2 kB / 451.2 MB, free: 6.652 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.09899, allocations: 35.69 kB / 451.2 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.099, allocations: 12 kB / 451.2 MB, free: 6.605 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.09905, allocations: 338.8 kB / 451.6 MB, free: 6.266 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.636e-05/0.09914, allocations: 60.77 kB / 451.6 MB, free: 6.203 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.09929, allocations: 315.5 kB / 451.9 MB, free: 5.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/0.09954, allocations: 394.7 kB / 452.3 MB, free: 5.258 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.09955, allocations: 0 / 452.3 MB, free: 5.258 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004175/0.09998, allocations: 373.6 kB / 452.7 MB, free: 4.887 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1, allocations: 16.94 kB / 452.7 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.1, allocations: 8 kB / 452.7 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1, allocations: 12 kB / 452.7 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.832e-05/0.1001, allocations: 35.8 kB / 452.7 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/0.1001, allocations: 19.92 kB / 452.8 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.1003, allocations: 35.69 kB / 452.8 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.1003, allocations: 24 kB / 452.8 MB, free: 4.738 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.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.1005, allocations: 206.8 kB / 453 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.1008, allocations: 273.2 kB / 453.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.1009, allocations: 45.73 kB / 453.3 MB, free: 4.211 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.1009, allocations: 8.062 kB / 453.3 MB, free: 4.203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1009, allocations: 8 kB / 453.3 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1009, allocations: 7.984 kB / 453.4 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.1011, allocations: 261.5 kB / 453.6 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.1011, allocations: 0 / 453.6 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.882e-05/0.1011, allocations: 23.86 kB / 453.6 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1011, allocations: 7.938 kB / 453.6 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.1012, allocations: 15.98 kB / 453.7 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1012, allocations: 4 kB / 453.7 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.1012, allocations: 0 / 453.7 MB, free: 3.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.1015, allocations: 398.6 kB / 454 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.256e-05/0.1016, allocations: 120.6 kB / 454.2 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.1016, allocations: 12 kB / 454.2 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.1017, allocations: 12 kB / 454.2 MB, free: 3.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.1018, allocations: 11.98 kB / 454.2 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.1018, allocations: 16 kB / 454.2 MB, free: 3.203 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.304e-05/0.1019, allocations: 155.3 kB / 454.4 MB, free: 3.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1019, allocations: 0 / 454.4 MB, free: 3.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003302/0.1023, allocations: 48 kB / 454.4 MB, free: 3.004 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.0006969/0.103, allocations: 1.091 MB / 455.5 MB, free: 1.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003033/0.1033, allocations: 261.6 kB / 455.8 MB, free: 1.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1033, allocations: 0 / 455.8 MB, free: 1.602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.659e-05/0.1033, allocations: 12 kB / 455.8 MB, free: 1.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.104, allocations: 224.3 kB / 456 MB, free: 1.371 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.1058, allocations: 1.654 MB / 457.6 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.1062, allocations: 0.78 MB / 458.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.225e-05/0.1062, allocations: 26.97 kB / 458.5 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.1064, allocations: 87.41 kB / 458.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1064, allocations: 0 / 458.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01711/0.1235, allocations: 5.178 MB / 463.7 MB, free: 9.41 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/0.1238, allocations: 231.9 kB / 463.9 MB, free: 9.152 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.992/2.116, allocations: 3.906 kB / 463.9 MB, free: 9.148 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)