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.002437/0.002437, allocations: 185.7 kB / 15.81 MB, free: 6.352 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.393/2.393, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001126/0.001126, allocations: 98.84 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.1294/0.1294, allocations: 12.6 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005682/0.0005685, allocations: 16.44 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09316/0.09377, allocations: 50.37 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.0023/0.09612, allocations: 1.494 MB / 444 MB, free: 9.305 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.0976, allocations: 0.6635 MB / 444.6 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001575/0.09779, allocations: 7.938 kB / 444.6 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.09806, allocations: 27.78 kB / 444.7 MB, free: 8.598 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.373e-05/0.09815, allocations: 23.91 kB / 444.7 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.09874, allocations: 111.7 kB / 444.8 MB, free: 8.465 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002112/0.09897, allocations: 120.2 kB / 444.9 MB, free: 8.344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.0992, allocations: 97.5 kB / 445 MB, free: 8.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.09932, allocations: 71.64 kB / 445.1 MB, free: 8.184 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.09946, allocations: 67.56 kB / 445.1 MB, free: 8.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.0995, allocations: 4 kB / 445.2 MB, free: 8.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-05/0.09954, allocations: 4 kB / 445.2 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.09961, allocations: 39.84 kB / 445.2 MB, free: 8.07 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.665e-05/0.09968, allocations: 57.58 kB / 445.3 MB, free: 8.008 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.09988, allocations: 140.3 kB / 445.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.09989, allocations: 0 / 445.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.0999, allocations: 0 / 445.4 MB, free: 7.871 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.09992, allocations: 0 / 445.4 MB, free: 7.871 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.0007806/0.1007, allocations: 495.8 kB / 445.9 MB, free: 7.34 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1008, allocations: 8.031 kB / 445.9 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.181e-05/0.1008, allocations: 58.55 kB / 445.9 MB, free: 7.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.1009, allocations: 31.72 kB / 446 MB, free: 7.234 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.1013, allocations: 267.8 kB / 446.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.1013, allocations: 20.56 kB / 446.3 MB, free: 6.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.1014, allocations: 24 kB / 446.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.1026, allocations: 0.6314 MB / 446.9 MB, free: 6.188 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1026, allocations: 3.938 kB / 446.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.1026, allocations: 16 kB / 446.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.1027, allocations: 8 kB / 446.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.103, allocations: 128.1 kB / 447.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009367/0.104, allocations: 1.028 MB / 448.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008112/0.1048, allocations: 0.7244 MB / 448.8 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.863e-05/0.1049, allocations: 20.3 kB / 448.8 MB, free: 3.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001458/0.105, allocations: 98.05 kB / 448.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of pre-optimization done (n=43): time 4.699e-06/0.1051, allocations: 0 / 448.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of matching and sorting (n=43): time 0.001033/0.1061, allocations: 484.1 kB / 449.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.1063, allocations: 349 kB / 449.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.1066, allocations: 230.9 kB / 450 MB, free: 2.723 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.1066, allocations: 29.7 kB / 450 MB, free: 2.688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.1067, allocations: 121 kB / 450.1 MB, free: 2.562 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.1067, allocations: 35.8 kB / 450.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.447e-05/0.1068, allocations: 4 kB / 450.2 MB, free: 2.523 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.1069, allocations: 342.8 kB / 450.5 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.107, allocations: 56.84 kB / 450.5 MB, free: 2.125 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/0.1073, allocations: 315.4 kB / 450.8 MB, free: 1.691 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.1075, allocations: 115.8 kB / 451 MB, free: 1.578 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.1075, allocations: 4 kB / 451 MB, free: 1.574 MB / 282.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007018/0.1082, allocations: 373.5 kB / 451.3 MB, free: 1.203 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.1083, allocations: 8 kB / 451.3 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.1083, allocations: 8 kB / 451.3 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.1083, allocations: 16 kB / 451.4 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.1084, allocations: 31.84 kB / 451.4 MB, free: 1.141 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.1085, allocations: 15.94 kB / 451.4 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002949/0.1088, allocations: 43.67 kB / 451.5 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.1088, allocations: 24 kB / 451.5 MB, free: 1.059 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.0002454/0.1091, allocations: 195.1 kB / 451.7 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00059/0.1097, allocations: 284.8 kB / 451.9 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.046e-05/0.1098, allocations: 37.86 kB / 452 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.749e-05/0.1098, allocations: 8 kB / 452 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.1098, allocations: 4 kB / 452 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.1099, allocations: 12.14 kB / 452 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002842/0.1102, allocations: 257.3 kB / 452.3 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.1102, allocations: 4 kB / 452.3 MB, free: 216 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.1102, allocations: 15.94 kB / 452.3 MB, free: 200 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.1103, allocations: 7.984 kB / 452.3 MB, free: 192 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.1103, allocations: 11.95 kB / 452.3 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.1103, allocations: 7.938 kB / 452.3 MB, free: 172 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1103, allocations: 4 kB / 452.3 MB, free: 168 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008532/0.1112, allocations: 0.5102 MB / 452.8 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.1113, allocations: 108.7 kB / 452.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.775e-05/0.1114, allocations: 8.312 kB / 452.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.1116, allocations: 23.92 kB / 453 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.1117, allocations: 19.94 kB / 453 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.1117, allocations: 16 kB / 453 MB, free: 15.35 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002139/0.1119, allocations: 155.3 kB / 453.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.1119, allocations: 0 / 453.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005549/0.1125, allocations: 44 kB / 453.2 MB, free: 15.15 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.002017/0.1145, allocations: 1.885 MB / 455.1 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007105/0.1153, allocations: 253.5 kB / 455.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1153, allocations: 0 / 455.3 MB, free: 12.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.295e-05/0.1154, allocations: 15.94 kB / 455.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009817/0.1164, allocations: 200.5 kB / 455.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006081/0.1225, allocations: 7.598 MB / 463.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.1231, allocations: 0.7917 MB / 463.9 MB, free: 4.043 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.1233, allocations: 31.48 kB / 463.9 MB, free: 4.016 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002005/0.1235, allocations: 79.41 kB / 464 MB, free: 3.941 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.1235, allocations: 0 / 464 MB, free: 3.941 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.1521, allocations: 5.189 MB / 469.2 MB, free: 14.76 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002876/0.1525, allocations: 205.7 kB / 469.4 MB, free: 14.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/2.786, allocations: 3.938 kB / 469.4 MB, free: 14.52 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)