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.0008978/0.0008978, allocations: 174 kB / 16.76 MB, free: 5.031 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.252/1.252, allocations: 205 MB / 222.6 MB, free: 9.145 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.000769/0.000769, allocations: 90.34 kB / 270.5 MB, free: 8.676 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.06886/0.06886, allocations: 12.57 MB / 331 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004776/0.0004777, allocations: 16 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.102, allocations: 49.97 MB / 441.7 MB, free: 16.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.001765/0.1038, allocations: 1.543 MB / 443.2 MB, free: 14.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008702/0.1047, allocations: 0.6825 MB / 443.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.1048, allocations: 11.94 kB / 443.9 MB, free: 14.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002527/0.1051, allocations: 23.84 kB / 443.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.1052, allocations: 19.8 kB / 444 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004054/0.1056, allocations: 115.8 kB / 444.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.1058, allocations: 199.8 kB / 444.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.106, allocations: 91.05 kB / 444.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.72e-05/0.1061, allocations: 71.64 kB / 444.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1062, allocations: 71.5 kB / 444.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1062, allocations: 8 kB / 444.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.967e-05/0.1062, allocations: 4 kB / 444.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/0.1063, allocations: 43.78 kB / 444.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.1064, allocations: 91.28 kB / 444.6 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1065, allocations: 143.9 kB / 444.8 MB, free: 13.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1066, allocations: 0 / 444.8 MB, free: 13.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1066, allocations: 0 / 444.8 MB, free: 13.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1066, allocations: 4 kB / 444.8 MB, free: 13.27 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.0006167/0.1072, allocations: 491.7 kB / 445.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.1072, allocations: 8.031 kB / 445.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.1073, allocations: 32.56 kB / 445.3 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.1075, allocations: 265.1 kB / 445.6 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.1076, allocations: 20.94 kB / 445.6 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.1076, allocations: 32.34 kB / 445.6 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007932/0.1084, allocations: 0.6511 MB / 446.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1084, allocations: 4 kB / 446.3 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.1085, allocations: 4 kB / 446.3 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.1085, allocations: 12 kB / 446.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.1087, allocations: 131.7 kB / 446.4 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.1093, allocations: 1.043 MB / 447.5 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.1098, allocations: 0.7124 MB / 448.2 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.11, allocations: 237.2 kB / 448.4 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.1101, allocations: 8 kB / 448.4 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.638e-05/0.1102, allocations: 97.84 kB / 448.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 1.853e-06/0.1102, allocations: 0 / 448.5 MB, free: 9.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.0005265/0.1107, allocations: 406.2 kB / 448.9 MB, free: 8.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.1108, allocations: 356.2 kB / 449.2 MB, free: 8.246 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/0.111, allocations: 234.8 kB / 449.5 MB, free: 8.008 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.111, allocations: 29.7 kB / 449.5 MB, free: 7.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.1111, allocations: 117.1 kB / 449.6 MB, free: 7.852 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.1111, allocations: 43.69 kB / 449.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1111, allocations: 57.62 kB / 449.7 MB, free: 7.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.1112, allocations: 338.8 kB / 450.1 MB, free: 7.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.1113, allocations: 60.83 kB / 450.1 MB, free: 7.344 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.1115, allocations: 311.5 kB / 450.4 MB, free: 6.914 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.1117, allocations: 398.6 kB / 450.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1117, allocations: 4 kB / 450.8 MB, free: 6.395 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003924/0.1121, allocations: 369.3 kB / 451.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.1122, allocations: 9.875 kB / 451.2 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.1122, allocations: 8.469 kB / 451.2 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.1122, allocations: 12 kB / 451.2 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.386e-05/0.1123, allocations: 35.8 kB / 451.2 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.1123, allocations: 23.86 kB / 451.3 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.1125, allocations: 44.03 kB / 451.3 MB, free: 5.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1125, allocations: 24 kB / 451.3 MB, free: 5.875 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.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.0001332/0.1126, allocations: 194.5 kB / 451.5 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.1129, allocations: 280.9 kB / 451.8 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.113, allocations: 33.86 kB / 451.8 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/0.113, allocations: 16.09 kB / 451.8 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.113, allocations: 4 kB / 451.8 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.113, allocations: 7.984 kB / 451.8 MB, free: 5.336 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.1132, allocations: 261.5 kB / 452.1 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1132, allocations: 4 kB / 452.1 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.1133, allocations: 23.92 kB / 452.1 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1133, allocations: 7.938 kB / 452.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1133, allocations: 11.98 kB / 452.1 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1133, allocations: 4 kB / 452.2 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1133, allocations: 7.938 kB / 452.2 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003683/0.1137, allocations: 394.7 kB / 452.5 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.323e-05/0.1137, allocations: 116.6 kB / 452.7 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.1138, allocations: 12 kB / 452.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.94e-05/0.1139, allocations: 15.94 kB / 452.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.1139, allocations: 11.98 kB / 452.7 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.114, allocations: 12 kB / 452.7 MB, free: 4.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.742e-05/0.1141, allocations: 159.3 kB / 452.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1141, allocations: 0 / 452.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003247/0.1144, allocations: 48 kB / 452.9 MB, free: 4.148 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.0001116/0.1145, allocations: 135.1 kB / 453 MB, free: 4.008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.1148, allocations: 257.7 kB / 453.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1148, allocations: 0 / 453.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.1149, allocations: 19.94 kB / 453.3 MB, free: 3.738 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.1155, allocations: 212.5 kB / 453.5 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006271/0.1161, allocations: 0.6174 MB / 454.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.1163, allocations: 0.788 MB / 454.9 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.947e-05/0.1164, allocations: 31.44 kB / 455 MB, free: 2.004 MB / 298.7 MB Notification: Performance of SimCode: time 3.3e-07/0.1164, allocations: 0 / 455 MB, free: 2.004 MB / 298.7 MB Notification: Performance of Templates: time 0.004127/0.1205, allocations: 3.191 MB / 458.2 MB, free: 14.8 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)