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.0007123/0.0007123, allocations: 102.8 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007527/0.0007528, allocations: 181.7 kB / 16.97 MB, free: 6.879 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.218/1.218, allocations: 205.4 MB / 223.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06541/0.06541, allocations: 12.61 MB / 284 MB, free: 8.809 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.0006313/0.0006312, allocations: 28.94 kB / 345.2 MB, free: 20.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0743/0.07494, allocations: 50.39 MB / 395.6 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds): time 0.001826/0.0768, allocations: 1.516 MB / 397.1 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.07785, allocations: 0.6748 MB / 397.7 MB, free: 236 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.07799, allocations: 7.938 kB / 397.8 MB, free: 228 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.0782, allocations: 19.84 kB / 397.8 MB, free: 208 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.34e-05/0.07827, allocations: 23.8 kB / 397.8 MB, free: 184 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004024/0.07868, allocations: 111.8 kB / 397.9 MB, free: 72 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.07893, allocations: 199.9 kB / 398.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/0.07912, allocations: 91.05 kB / 398.2 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.981e-05/0.07923, allocations: 71.64 kB / 398.3 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.07935, allocations: 71.5 kB / 398.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.07938, allocations: 4 kB / 398.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.962e-05/0.0794, allocations: 8 kB / 398.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.954e-05/0.07947, allocations: 39.78 kB / 398.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/0.07957, allocations: 117 kB / 398.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001835/0.07976, allocations: 195.3 kB / 398.7 MB, free: 15.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.07977, allocations: 3.938 kB / 398.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.07977, allocations: 0 / 398.7 MB, free: 15.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.07979, allocations: 4 kB / 398.7 MB, free: 15.27 MB / 302.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.0006142/0.08041, allocations: 487.7 kB / 399.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.08045, allocations: 8.031 kB / 399.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.496e-05/0.08054, allocations: 32.56 kB / 399.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.08082, allocations: 265.2 kB / 399.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.08085, allocations: 16.94 kB / 399.5 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.08089, allocations: 28.38 kB / 399.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008324/0.08173, allocations: 0.651 MB / 400.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.08175, allocations: 0 / 400.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.08178, allocations: 8 kB / 400.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.08181, allocations: 11.98 kB / 400.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/0.08202, allocations: 139.7 kB / 400.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.08277, allocations: 1.024 MB / 401.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005864/0.08337, allocations: 0.7202 MB / 402.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002511/0.08363, allocations: 241.2 kB / 402.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.08367, allocations: 4.078 kB / 402.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001077/0.08379, allocations: 101.8 kB / 402.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 1.993e-06/0.0838, allocations: 0 / 402.4 MB, free: 11.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.0006022/0.0844, allocations: 409.5 kB / 402.8 MB, free: 10.67 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.08456, allocations: 348.3 kB / 403.1 MB, free: 10.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.08475, allocations: 230.8 kB / 403.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.08478, allocations: 37.89 kB / 403.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.08485, allocations: 121.1 kB / 403.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.08489, allocations: 35.69 kB / 403.6 MB, free: 9.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/0.08495, allocations: 53.62 kB / 403.6 MB, free: 9.762 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/0.08505, allocations: 338.8 kB / 403.9 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/0.08514, allocations: 56.84 kB / 404 MB, free: 9.363 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002069/0.08535, allocations: 311.5 kB / 404.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.08569, allocations: 402.6 kB / 404.7 MB, free: 8.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.0857, allocations: 4 kB / 404.7 MB, free: 8.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004953/0.0862, allocations: 381.5 kB / 405.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.08623, allocations: 8 kB / 405.1 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.08624, allocations: 12 kB / 405.1 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.08627, allocations: 12 kB / 405.1 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.168e-05/0.08634, allocations: 31.8 kB / 405.1 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.544e-05/0.08637, allocations: 24.42 kB / 405.2 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.08671, allocations: 43.69 kB / 405.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.08674, allocations: 24 kB / 405.2 MB, free: 7.879 MB / 302.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.0001625/0.08691, allocations: 189.6 kB / 405.4 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/0.08726, allocations: 277 kB / 405.7 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.869e-05/0.08734, allocations: 41.89 kB / 405.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.08737, allocations: 8 kB / 405.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.08738, allocations: 7.938 kB / 405.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.08739, allocations: 3.984 kB / 405.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002357/0.08763, allocations: 261.2 kB / 406 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.08765, allocations: 4 kB / 406 MB, free: 7.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.08769, allocations: 19.92 kB / 406 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.0877, allocations: 7.938 kB / 406 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.08773, allocations: 8 kB / 406 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.401e-06/0.08774, allocations: 11.98 kB / 406 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.08775, allocations: 4 kB / 406 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.08818, allocations: 394.7 kB / 406.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.08824, allocations: 116.6 kB / 406.5 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.08828, allocations: 11.98 kB / 406.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.08839, allocations: 16 kB / 406.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.08844, allocations: 15.92 kB / 406.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.08846, allocations: 12 kB / 406.6 MB, free: 6.363 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001256/0.08859, allocations: 163.3 kB / 406.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0886, allocations: 0 / 406.8 MB, free: 6.203 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003418/0.08895, allocations: 40 kB / 406.8 MB, free: 6.164 MB / 302.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.0001358/0.08909, allocations: 135.2 kB / 406.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003694/0.08947, allocations: 257.3 kB / 407.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.08948, allocations: 0 / 407.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.379e-05/0.08953, allocations: 20.56 kB / 407.2 MB, free: 5.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006975/0.09023, allocations: 212 kB / 407.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.09103, allocations: 0.5981 MB / 408 MB, free: 4.895 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.09135, allocations: 0.7803 MB / 408.8 MB, free: 4.086 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.09143, allocations: 22.98 kB / 408.8 MB, free: 4.062 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.09149, allocations: 39.3 kB / 408.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.0915, allocations: 0 / 408.8 MB, free: 4.023 MB / 302.1 MB Notification: Performance of Templates: time 0.005469/0.09697, allocations: 2.654 MB / 411.5 MB, free: 1.371 MB / 302.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: