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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001148/0.001149, allocations: 174.2 kB / 16.8 MB, free: 5.012 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.593/1.593, allocations: 205.4 MB / 223 MB, free: 9.016 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.0007516/0.0007515, allocations: 99.73 kB / 271.3 MB, free: 8.227 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.06647/0.06647, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 12 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08236/0.08273, allocations: 50.38 MB / 443.7 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.001728/0.0845, allocations: 1.511 MB / 445.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008551/0.08538, allocations: 0.667 MB / 445.9 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.08549, allocations: 7.938 kB / 445.9 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.08571, allocations: 27.78 kB / 445.9 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.08576, allocations: 15.86 kB / 445.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.08612, allocations: 123.8 kB / 446 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.08629, allocations: 195.8 kB / 446.2 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.08649, allocations: 98.98 kB / 446.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.18e-05/0.08658, allocations: 63.64 kB / 446.4 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.08669, allocations: 75.5 kB / 446.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.08672, allocations: 4 kB / 446.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.882e-05/0.08674, allocations: 8 kB / 446.5 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.08681, allocations: 43.78 kB / 446.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.999e-05/0.08689, allocations: 121 kB / 446.6 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.08701, allocations: 136 kB / 446.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.08702, allocations: 0 / 446.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.08703, allocations: 0 / 446.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.08705, allocations: 0 / 446.8 MB, free: 12.3 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.0005564/0.08761, allocations: 495.7 kB / 447.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.108e-05/0.08765, allocations: 12.03 kB / 447.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.0877, allocations: 28.56 kB / 447.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.08796, allocations: 273 kB / 447.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/0.08799, allocations: 16.94 kB / 447.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.08802, allocations: 24.38 kB / 447.6 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007036/0.08873, allocations: 0.6511 MB / 448.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.08876, allocations: 3.938 kB / 448.3 MB, free: 10.67 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.08878, allocations: 15.94 kB / 448.3 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.08881, allocations: 8 kB / 448.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.08899, allocations: 127.7 kB / 448.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006058/0.08961, allocations: 1.039 MB / 449.4 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.09009, allocations: 0.7177 MB / 450.2 MB, free: 8.488 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.09031, allocations: 229.9 kB / 450.4 MB, free: 8.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.09035, allocations: 23.92 kB / 450.4 MB, free: 8.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.244e-05/0.09045, allocations: 89.91 kB / 450.5 MB, free: 8.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.954e-06/0.09046, allocations: 0 / 450.5 MB, free: 8.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.0005431/0.09101, allocations: 408.6 kB / 450.9 MB, free: 7.691 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.572e-05/0.09112, allocations: 345.2 kB / 451.2 MB, free: 7.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.09128, allocations: 234.8 kB / 451.5 MB, free: 7.043 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.09131, allocations: 33.77 kB / 451.5 MB, free: 7.004 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.09136, allocations: 117.1 kB / 451.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.0914, allocations: 35.69 kB / 451.6 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/0.09141, allocations: 15.94 kB / 451.7 MB, free: 6.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.657e-05/0.09147, allocations: 334.8 kB / 452 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.448e-05/0.09155, allocations: 60.83 kB / 452 MB, free: 6.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.09171, allocations: 311.5 kB / 452.4 MB, free: 6.004 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.09197, allocations: 406.6 kB / 452.7 MB, free: 5.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.09198, allocations: 4 kB / 452.8 MB, free: 5.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000391/0.09238, allocations: 369.9 kB / 453.1 MB, free: 5.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.0924, allocations: 8.188 kB / 453.1 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.09242, allocations: 16 kB / 453.1 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.09244, allocations: 12 kB / 453.1 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.122e-05/0.09252, allocations: 35.84 kB / 453.2 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.09254, allocations: 19.88 kB / 453.2 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.09271, allocations: 43.67 kB / 453.2 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.09274, allocations: 20 kB / 453.3 MB, free: 4.957 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.0001368/0.09288, allocations: 194.5 kB / 453.5 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.09319, allocations: 277.2 kB / 453.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.09326, allocations: 37.86 kB / 453.8 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.09328, allocations: 8 kB / 453.8 MB, free: 4.438 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.09329, allocations: 8.062 kB / 453.8 MB, free: 4.43 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.0933, allocations: 3.984 kB / 453.8 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.09348, allocations: 269.4 kB / 454 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.0935, allocations: 4 kB / 454.1 MB, free: 4.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.09354, allocations: 15.94 kB / 454.1 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.09355, allocations: 11.88 kB / 454.1 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.09357, allocations: 15.98 kB / 454.1 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.09358, allocations: 7.938 kB / 454.1 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.09359, allocations: 0 / 454.1 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.09394, allocations: 394.7 kB / 454.5 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.173e-05/0.09399, allocations: 120.6 kB / 454.6 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.262e-05/0.09403, allocations: 12 kB / 454.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.09414, allocations: 15.98 kB / 454.6 MB, free: 3.457 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.09419, allocations: 8 kB / 454.6 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.09421, allocations: 15.98 kB / 454.7 MB, free: 3.434 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.124e-05/0.09431, allocations: 159.3 kB / 454.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09432, allocations: 0 / 454.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003136/0.09464, allocations: 48 kB / 454.9 MB, free: 3.23 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.000101/0.09474, allocations: 135.1 kB / 455 MB, free: 3.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003043/0.09505, allocations: 253.1 kB / 455.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.09506, allocations: 0 / 455.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.09511, allocations: 23.92 kB / 455.3 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006477/0.09576, allocations: 213 kB / 455.5 MB, free: 2.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/0.09643, allocations: 0.6305 MB / 456.1 MB, free: 1.922 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.0966, allocations: 0.7725 MB / 456.9 MB, free: 1.121 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.09666, allocations: 31.44 kB / 456.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.09667, allocations: 0 / 456.9 MB, free: 1.09 MB / 298.7 MB Notification: Performance of Templates: time 0.00447/0.1011, allocations: 3.208 MB / 460.1 MB, free: 13.88 MB / 314.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.makefile (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 & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe 2>&1)