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.001638/0.001638, allocations: 178.9 kB / 16.45 MB, free: 5.684 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.49/1.49, allocations: 205.4 MB / 222.6 MB, free: 9.102 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.0007554/0.0007551, allocations: 92.81 kB / 270.9 MB, free: 8.348 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.06518/0.06518, allocations: 12.59 MB / 331.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003734, allocations: 19.98 kB / 392.7 MB, free: 66.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06581/0.0662, allocations: 50.37 MB / 443 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.001528/0.06776, allocations: 1.484 MB / 444.5 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008615/0.06864, allocations: 0.6712 MB / 445.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.06878, allocations: 11.94 kB / 445.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.06899, allocations: 31.78 kB / 445.2 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.665e-05/0.06904, allocations: 15.86 kB / 445.2 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.06945, allocations: 115.8 kB / 445.4 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.06963, allocations: 183.8 kB / 445.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.0698, allocations: 89.77 kB / 445.6 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.506e-05/0.06988, allocations: 63.66 kB / 445.7 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.249e-05/0.06998, allocations: 67.56 kB / 445.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.07001, allocations: 4 kB / 445.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.074e-05/0.07004, allocations: 8 kB / 445.8 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.07009, allocations: 55.7 kB / 445.8 MB, free: 12.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.07014, allocations: 57.56 kB / 445.9 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.07026, allocations: 140 kB / 446 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.07027, allocations: 0 / 446 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.07028, allocations: 0 / 446 MB, free: 12.77 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.07029, allocations: 0 / 446 MB, free: 12.77 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.0005328/0.07083, allocations: 491.5 kB / 446.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.07087, allocations: 12.03 kB / 446.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.07093, allocations: 31.62 kB / 446.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.07116, allocations: 271.9 kB / 446.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.07119, allocations: 12.56 kB / 446.8 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.07122, allocations: 24 kB / 446.8 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007256/0.07195, allocations: 0.6431 MB / 447.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.07198, allocations: 0 / 447.5 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.07201, allocations: 8 kB / 447.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.377e-05/0.07204, allocations: 8 kB / 447.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001761/0.07222, allocations: 136 kB / 447.6 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005956/0.07282, allocations: 1.032 MB / 448.7 MB, free: 9.867 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.07329, allocations: 0.7205 MB / 449.4 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.07351, allocations: 233.4 kB / 449.6 MB, free: 8.711 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.07355, allocations: 8.188 kB / 449.6 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.236e-05/0.07365, allocations: 98.03 kB / 449.7 MB, free: 8.586 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.765e-06/0.07366, allocations: 0 / 449.7 MB, free: 8.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.000534/0.0742, allocations: 405.8 kB / 450.1 MB, free: 8.184 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.07429, allocations: 349.8 kB / 450.4 MB, free: 7.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.07445, allocations: 230.8 kB / 450.7 MB, free: 7.535 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.07447, allocations: 33.7 kB / 450.7 MB, free: 7.496 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.07453, allocations: 117.2 kB / 450.8 MB, free: 7.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.07456, allocations: 35.77 kB / 450.9 MB, free: 7.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.698e-06/0.07457, allocations: 12 kB / 450.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.675e-05/0.07463, allocations: 334.8 kB / 451.2 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.07471, allocations: 60.83 kB / 451.3 MB, free: 6.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.07485, allocations: 315.5 kB / 451.6 MB, free: 6.496 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.07499, allocations: 103.8 kB / 451.7 MB, free: 6.395 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.075, allocations: 8 kB / 451.7 MB, free: 6.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003982/0.0754, allocations: 384.5 kB / 452 MB, free: 6.004 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.07543, allocations: 12.91 kB / 452.1 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.07544, allocations: 8 kB / 452.1 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.07546, allocations: 16 kB / 452.1 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.07554, allocations: 31.86 kB / 452.1 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.07556, allocations: 19.92 kB / 452.1 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.07574, allocations: 35.78 kB / 452.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.07577, allocations: 24 kB / 452.2 MB, free: 5.859 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001248/0.0759, allocations: 191.9 kB / 452.4 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.0762, allocations: 280.8 kB / 452.7 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.07626, allocations: 37.86 kB / 452.7 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.07628, allocations: 8 kB / 452.7 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.07629, allocations: 4 kB / 452.7 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.0763, allocations: 3.984 kB / 452.7 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.07647, allocations: 261.3 kB / 453 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.07649, allocations: 0 / 453 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.07653, allocations: 16.08 kB / 453 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.07654, allocations: 11.95 kB / 453 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.07657, allocations: 16.31 kB / 453 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.07658, allocations: 15.92 kB / 453 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.07658, allocations: 0 / 453 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003406/0.07693, allocations: 397.3 kB / 453.4 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.774e-05/0.07698, allocations: 104.8 kB / 453.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.07702, allocations: 27.92 kB / 453.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.07715, allocations: 16 kB / 453.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.07719, allocations: 7.984 kB / 453.6 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.07721, allocations: 16 kB / 453.6 MB, free: 4.34 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.758e-05/0.07731, allocations: 155.3 kB / 453.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.07731, allocations: 0 / 453.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003148/0.07763, allocations: 48 kB / 453.8 MB, free: 4.141 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 9.443e-05/0.07773, allocations: 127.2 kB / 453.9 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.07803, allocations: 249.8 kB / 454.1 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.07804, allocations: 4 kB / 454.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.704e-05/0.07808, allocations: 15.94 kB / 454.2 MB, free: 3.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.07865, allocations: 213.5 kB / 454.4 MB, free: 3.539 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.07928, allocations: 0.6076 MB / 455 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.07944, allocations: 0.7803 MB / 455.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.258e-05/0.0795, allocations: 31.44 kB / 455.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.07951, allocations: 0 / 455.8 MB, free: 2.035 MB / 298.7 MB Notification: Performance of Templates: time 0.004336/0.08385, allocations: 3.207 MB / 459 MB, free: 14.83 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)