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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001708, allocations: 104.4 kB / 16.45 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001885, allocations: 186.4 kB / 17.38 MB, free: 5.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.1 MB / 223.3 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08271/0.08271, allocations: 12.58 MB / 283.2 MB, free: 15.39 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001975, allocations: 85.88 kB / 394.2 MB, free: 45.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.126, allocations: 49.4 MB / 443.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.004264/0.1304, allocations: 1.816 MB / 445.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.1319, allocations: 0.698 MB / 446.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.1322, allocations: 7.938 kB / 446.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.1325, allocations: 39.66 kB / 446.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.81e-05/0.1326, allocations: 27.73 kB / 446.1 MB, free: 14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.133, allocations: 135.7 kB / 446.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000287/0.1333, allocations: 211.8 kB / 446.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/0.1336, allocations: 122.7 kB / 446.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.1338, allocations: 91.62 kB / 446.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.1339, allocations: 91.48 kB / 446.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.512e-05/0.134, allocations: 16 kB / 446.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.939e-05/0.134, allocations: 16 kB / 446.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.1341, allocations: 59.77 kB / 446.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.1342, allocations: 99.36 kB / 447 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.1345, allocations: 219 kB / 447.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1345, allocations: 0 / 447.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1345, allocations: 4 kB / 447.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1345, allocations: 0 / 447.2 MB, free: 12.95 MB / 334.1 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.0008106/0.1354, allocations: 0.523 MB / 447.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.1354, allocations: 12.03 kB / 447.7 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.464e-05/0.1355, allocations: 28.56 kB / 447.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004264/0.1359, allocations: 285.1 kB / 448 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.136, allocations: 16.94 kB / 448 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/0.136, allocations: 24.38 kB / 448.1 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.1371, allocations: 0.632 MB / 448.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1372, allocations: 4 kB / 448.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.1372, allocations: 12 kB / 448.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/0.1372, allocations: 8 kB / 448.7 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002135/0.1374, allocations: 131.7 kB / 448.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009294/0.1384, allocations: 1.035 MB / 449.9 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006959/0.1391, allocations: 0.7124 MB / 450.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.1394, allocations: 233.2 kB / 450.8 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.423e-05/0.1394, allocations: 19.98 kB / 450.8 MB, free: 8.824 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001336/0.1396, allocations: 93.91 kB / 450.9 MB, free: 8.711 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.314e-06/0.1396, allocations: 7.938 kB / 450.9 MB, free: 8.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.0007199/0.1403, allocations: 402.8 kB / 451.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002145/0.1405, allocations: 353.1 kB / 451.7 MB, free: 7.887 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.1408, allocations: 234.8 kB / 451.9 MB, free: 7.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.1408, allocations: 29.7 kB / 451.9 MB, free: 7.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-05/0.1409, allocations: 117.1 kB / 452.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.828e-05/0.141, allocations: 39.62 kB / 452.1 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.1411, allocations: 86.06 kB / 452.2 MB, free: 7.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1413, allocations: 342.8 kB / 452.5 MB, free: 7.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.1414, allocations: 52.84 kB / 452.6 MB, free: 6.973 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.1416, allocations: 315.5 kB / 452.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.142, allocations: 406.6 kB / 453.3 MB, free: 6.012 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.142, allocations: 4 kB / 453.3 MB, free: 6.008 MB / 334.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007131/0.1428, allocations: 365.6 kB / 453.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.1428, allocations: 8 kB / 453.6 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.1428, allocations: 12 kB / 453.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-05/0.1429, allocations: 20.05 kB / 453.7 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.143, allocations: 31.86 kB / 453.7 MB, free: 5.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/0.143, allocations: 19.88 kB / 453.7 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.1433, allocations: 35.98 kB / 453.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.651e-05/0.1434, allocations: 24 kB / 453.8 MB, free: 5.496 MB / 334.1 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.pulseStart,$PRE.booleanConstant.pulseStart,booleanConstant.y,superSample1.y,superSample1.u,subSample1.y,UnitDelay1.y,$CLKPRE.UnitDelay1.u,UnitDelay1.u,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,fractionalDelay.y,backSample1.y,backSample1.u,ClockedSignalToSquare.u,shiftSample1.y,fractionalDelay.u_buffer[1],fractionalDelay.u,$CLKPRE.upSample1.b,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.y,hold1.u,assignClock1.y,assignClock1.u,ClockedSignalToSquare.y,$CLKPRE.ClockedSignalToSquare.y2,ClockedSignalToSquare.y2,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.0002484/0.1436, allocations: 198 kB / 454 MB, free: 5.293 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005668/0.1442, allocations: 281.4 kB / 454.3 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.1443, allocations: 37.86 kB / 454.3 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/0.1443, allocations: 8 kB / 454.3 MB, free: 4.965 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-05/0.1444, allocations: 7.984 kB / 454.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.1444, allocations: 4 kB / 454.3 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.1448, allocations: 265.3 kB / 454.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.1448, allocations: 4 kB / 454.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.011e-05/0.1449, allocations: 20.08 kB / 454.6 MB, free: 4.621 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.1449, allocations: 11.94 kB / 454.6 MB, free: 4.609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.623e-05/0.145, allocations: 8 kB / 454.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.145, allocations: 4 kB / 454.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/0.145, allocations: 7.938 kB / 454.6 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006837/0.1457, allocations: 393.3 kB / 455 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001713/0.1459, allocations: 112.6 kB / 455.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/0.1459, allocations: 16 kB / 455.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1461, allocations: 15.98 kB / 455.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.1462, allocations: 11.94 kB / 455.2 MB, free: 3.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.1462, allocations: 15.98 kB / 455.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002065/0.1464, allocations: 156.9 kB / 455.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1464, allocations: 0 / 455.3 MB, free: 3.812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005349/0.147, allocations: 44 kB / 455.4 MB, free: 3.77 MB / 334.1 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.0001878/0.1472, allocations: 139 kB / 455.5 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005523/0.1477, allocations: 257.8 kB / 455.8 MB, free: 3.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.1477, allocations: 8.062 kB / 455.8 MB, free: 3.363 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.297e-05/0.1478, allocations: 19.92 kB / 455.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009634/0.1488, allocations: 216.4 kB / 456 MB, free: 3.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.1501, allocations: 0.5249 MB / 456.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.1507, allocations: 0.7761 MB / 457.3 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.071e-05/0.1508, allocations: 26.97 kB / 457.3 MB, free: 1.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.819e-05/0.1509, allocations: 35.42 kB / 457.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1509, allocations: 0 / 457.4 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Templates: time 0.009225/0.1601, allocations: 2.923 MB / 460.3 MB, free: 14.77 MB / 350.1 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)