Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001449/0.001449, allocations: 176 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.293/1.293, 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.0007245/0.0007248, allocations: 94.34 kB / 270.9 MB, free: 8.34 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.0644/0.0644, allocations: 12.58 MB / 331.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 15.98 kB / 392 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0642/0.06457, allocations: 50.37 MB / 442.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.00152/0.06613, allocations: 1.492 MB / 443.9 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008955/0.06705, allocations: 0.6789 MB / 444.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.06719, allocations: 4 kB / 444.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.06741, allocations: 27.78 kB / 444.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5e-05/0.06747, allocations: 23.8 kB / 444.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.06785, allocations: 111.8 kB / 444.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.06802, allocations: 183.9 kB / 444.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.06819, allocations: 85.78 kB / 445 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.06829, allocations: 67.64 kB / 445 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/0.06839, allocations: 71.56 kB / 445.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.06842, allocations: 4 kB / 445.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.973e-05/0.06845, allocations: 4 kB / 445.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.332e-05/0.0685, allocations: 39.84 kB / 445.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.075e-05/0.06855, allocations: 57.58 kB / 445.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.06867, allocations: 131.7 kB / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.06868, allocations: 4 kB / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.06869, allocations: 0 / 445.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.0687, allocations: 0 / 445.3 MB, free: 13.46 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.0005369/0.06924, allocations: 0.4958 MB / 445.8 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.06928, allocations: 8.031 kB / 445.8 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.06934, allocations: 27.62 kB / 445.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.06958, allocations: 267.9 kB / 446.1 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.06961, allocations: 16.56 kB / 446.1 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.06964, allocations: 24 kB / 446.2 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.07036, allocations: 0.647 MB / 446.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.07039, allocations: 4 kB / 446.8 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.07042, allocations: 15.94 kB / 446.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.07044, allocations: 8 kB / 446.8 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.07062, allocations: 128.1 kB / 447 MB, free: 11.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.07122, allocations: 1.036 MB / 448 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004468/0.07168, allocations: 0.7166 MB / 448.7 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.07189, allocations: 237.3 kB / 448.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.07193, allocations: 8.188 kB / 449 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.828e-05/0.07202, allocations: 102.1 kB / 449.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of pre-optimization done (n=43): time 2.144e-06/0.07204, allocations: 3.938 kB / 449.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of matching and sorting (n=43): time 0.0005345/0.07258, allocations: 402.7 kB / 449.5 MB, free: 8.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.07267, allocations: 340.5 kB / 449.8 MB, free: 8.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.07282, allocations: 234.8 kB / 450 MB, free: 8.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.07285, allocations: 33.64 kB / 450 MB, free: 8.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.0729, allocations: 121.2 kB / 450.2 MB, free: 8.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.07293, allocations: 35.78 kB / 450.2 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.07295, allocations: 8 kB / 450.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.173e-05/0.073, allocations: 334.8 kB / 450.5 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-05/0.07308, allocations: 60.83 kB / 450.6 MB, free: 7.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.07323, allocations: 311.5 kB / 450.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.07336, allocations: 107.9 kB / 451 MB, free: 7.062 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.07337, allocations: 4 kB / 451 MB, free: 7.059 MB / 298.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003827/0.07375, allocations: 381.7 kB / 451.4 MB, free: 6.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.07378, allocations: 12 kB / 451.4 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.07379, allocations: 8 kB / 451.4 MB, free: 6.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.07381, allocations: 15.94 kB / 451.4 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.129e-05/0.07389, allocations: 27.86 kB / 451.4 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.07391, allocations: 19.92 kB / 451.5 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.07408, allocations: 39.78 kB / 451.5 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.07411, allocations: 24 kB / 451.5 MB, free: 6.535 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.0001238/0.07424, allocations: 191.2 kB / 451.7 MB, free: 6.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/0.07454, allocations: 280.8 kB / 452 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.07461, allocations: 37.86 kB / 452 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.07463, allocations: 8 kB / 452 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.07464, allocations: 8.156 kB / 452 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.07465, allocations: 3.984 kB / 452 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.07482, allocations: 253.4 kB / 452.3 MB, free: 5.707 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.07484, allocations: 4.312 kB / 452.3 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.07488, allocations: 19.92 kB / 452.3 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.07489, allocations: 11.89 kB / 452.3 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.07492, allocations: 16 kB / 452.3 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.07493, allocations: 7.984 kB / 452.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.07493, allocations: 3.938 kB / 452.4 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003374/0.07527, allocations: 393.2 kB / 452.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.87e-05/0.07532, allocations: 116.6 kB / 452.8 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.07536, allocations: 23.88 kB / 452.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.07547, allocations: 12 kB / 452.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.07551, allocations: 11.98 kB / 452.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.836e-05/0.07554, allocations: 12 kB / 452.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.947e-05/0.07563, allocations: 159.3 kB / 453.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.07564, allocations: 4 kB / 453.1 MB, free: 4.855 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.07595, allocations: 44 kB / 453.1 MB, free: 4.812 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.0001002/0.07605, allocations: 127.2 kB / 453.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.0764, allocations: 252 kB / 453.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.07642, allocations: 1.875 kB / 453.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.07647, allocations: 19.94 kB / 453.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005632/0.07703, allocations: 209.8 kB / 453.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006026/0.07765, allocations: 0.6032 MB / 454.3 MB, free: 3.547 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.07782, allocations: 0.7841 MB / 455.1 MB, free: 2.738 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.07788, allocations: 27.44 kB / 455.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.07788, allocations: 0 / 455.1 MB, free: 2.711 MB / 298.7 MB Notification: Performance of Templates: time 0.00374/0.08163, allocations: 3.209 MB / 458.3 MB, free: 15.5 MB / 314.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.pipe 2>&1)