Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.007819/0.007819, allocations: 107.4 kB / 21.98 MB, free: 5.223 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001989/0.001989, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 259 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5195,variableFilter="time|rotational_clock_1.angle|rotational_clock_1.direction|rotational_clock_1.direction_changed|rotational_clock_2.angle|rotational_clock_2.direction|rotational_clock_2.direction_changed|sample_conjunctive.y|sample_disjunctive.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5195,variableFilter="time|rotational_clock_1.angle|rotational_clock_1.direction|rotational_clock_1.direction_changed|rotational_clock_2.angle|rotational_clock_2.direction|rotational_clock_2.direction_changed|sample_conjunctive.y|sample_disjunctive.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 63.89 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.252, allocations: 53.37 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005039/0.257, allocations: 3.181 MB / 436.4 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2592, allocations: 1.227 MB / 437.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.2594, allocations: 23.88 kB / 437.6 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002537/0.2597, allocations: 86.97 kB / 437.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.2598, allocations: 71.22 kB / 437.8 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009152/0.2607, allocations: 398.8 kB / 438.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009374/0.2617, allocations: 0.9523 MB / 439.1 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007936/0.2625, allocations: 0.5422 MB / 439.6 MB, free: 444 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00049/0.263, allocations: 418.6 kB / 440 MB, free: 24 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.2634, allocations: 438 kB / 440.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.2636, allocations: 119.9 kB / 440.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.2638, allocations: 155.9 kB / 440.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000246/0.264, allocations: 259.2 kB / 441 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004448/0.2645, allocations: 477.7 kB / 441.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.2659, allocations: 1.379 MB / 442.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2659, allocations: 3.938 kB / 442.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2659, allocations: 0 / 442.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.607e-05/0.2659, allocations: 4 kB / 442.9 MB, free: 13.21 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001904/0.2678, allocations: 1.132 MB / 444 MB, free: 12.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.2678, allocations: 8.031 kB / 444 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004587/0.2683, allocations: 132.2 kB / 444.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008587/0.2692, allocations: 0.4975 MB / 444.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.2693, allocations: 142 kB / 444.8 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.2694, allocations: 96.38 kB / 444.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002933/0.2724, allocations: 1.713 MB / 446.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.2724, allocations: 4 kB / 446.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.2725, allocations: 43.98 kB / 446.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.2725, allocations: 20 kB / 446.6 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.2741, allocations: 0.7855 MB / 447.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.2774, allocations: 2.075 MB / 449.5 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.2791, allocations: 0.8932 MB / 450.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008313/0.2799, allocations: 464.3 kB / 450.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.357e-05/0.28, allocations: 24.12 kB / 450.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007194/0.2807, allocations: 399.3 kB / 451.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.105e-06/0.2807, allocations: 0 / 451.2 MB, free: 4.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002341/0.283, allocations: 1.131 MB / 452.4 MB, free: 3.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/0.2832, allocations: 257.5 kB / 452.6 MB, free: 3.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004953/0.2837, allocations: 441.2 kB / 453.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.512e-05/0.2838, allocations: 61.69 kB / 453.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002281/0.284, allocations: 277.8 kB / 453.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.2842, allocations: 170.9 kB / 453.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002845/0.2845, allocations: 214.6 kB / 453.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.2847, allocations: 374.8 kB / 454.1 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006306/0.2853, allocations: 321.8 kB / 454.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008635/0.2862, allocations: 0.608 MB / 455.1 MB, free: 480 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.2875, allocations: 0.8345 MB / 455.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.2875, allocations: 8 kB / 455.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00175/0.2892, allocations: 0.9997 MB / 456.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.2893, allocations: 44.92 kB / 456.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.2893, allocations: 8 kB / 457 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/0.2893, allocations: 16 kB / 457 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.2897, allocations: 103.8 kB / 457.1 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.2897, allocations: 19.92 kB / 457.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.2901, allocations: 87.48 kB / 457.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.2902, allocations: 47.94 kB / 457.2 MB, free: 14.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 91 (disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_sample.y,rotational_clock_2.changed.y,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,$whenCondition5,disjunctiveClock.splitter.y[2],disjunctiveClock.reset_ticked.input_ticked.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[1].pre.u,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].Q,disjunctiveClock.suppress_S[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.input_ticked[2].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.combinator.y,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,$whenCondition4,conjunctiveClock.splitter.y[2],conjunctiveClock.reset_ticked.input_ticked.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[1].pre.u,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].Q,conjunctiveClock.suppress_S[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.input_ticked[2].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.combinator.y,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_sample.y,rotational_clock_1.changed.y,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition3,$whenCondition2,rotational_clock_2.less.y,rotational_clock_1.less.y,trigger_interval_input.count,$PRE.trigger_interval_input.count,trigger_interval_input.T_start,$PRE.trigger_interval_input.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 2 (rotational_clock_2.changed.u,rotational_clock_1.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * 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.0005288/0.2907, allocations: 407.6 kB / 457.6 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007022/0.2914, allocations: 399.4 kB / 458 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.2916, allocations: 91.2 kB / 458.1 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.2916, allocations: 12 kB / 458.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.2916, allocations: 0 / 458.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.2916, allocations: 7.984 kB / 458.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.2942, allocations: 1.632 MB / 459.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.2942, allocations: 4 kB / 459.8 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.2946, allocations: 87.75 kB / 459.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.2946, allocations: 8 kB / 459.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/0.2946, allocations: 27.98 kB / 459.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.2946, allocations: 7.984 kB / 459.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.2946, allocations: 3.938 kB / 459.9 MB, free: 11.42 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001748/0.2964, allocations: 1.131 MB / 461 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.716e-05/0.2965, allocations: 71.44 kB / 461.1 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.2966, allocations: 35.92 kB / 461.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003917/0.297, allocations: 39.97 kB / 461.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001835/0.2972, allocations: 91.81 kB / 461.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/0.2972, allocations: 27.98 kB / 461.3 MB, free: 9.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002816/0.2975, allocations: 259.2 kB / 461.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2975, allocations: 4 kB / 461.5 MB, free: 9.738 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007001/0.2982, allocations: 187.5 kB / 461.7 MB, free: 9.555 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002675/0.2985, allocations: 212.3 kB / 461.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001646/0.3001, allocations: 0.8706 MB / 462.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3001, allocations: 0 / 462.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005387/0.3006, allocations: 266.2 kB / 463.1 MB, free: 8.195 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3017, allocations: 288.7 kB / 463.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.3042, allocations: 1.472 MB / 464.8 MB, free: 6.391 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000699/0.3049, allocations: 0.9946 MB / 465.8 MB, free: 5.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.3051, allocations: 71.41 kB / 465.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3051, allocations: 0 / 465.9 MB, free: 5.297 MB / 366.1 MB Notification: Performance of Templates: time 0.01432/0.3194, allocations: 9.445 MB / 475.3 MB, free: 11.84 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,rotational_clock_1.angle,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_2.angle,rotational_clock_2.direction,rotational_clock_2.direction_changed,sample_conjunctive.y,sample_disjunctive.y Variables in the result:rotational_clock_1.angle,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_2.angle,rotational_clock_2.direction,rotational_clock_2.direction_changed,sample_conjunctive.y,sample_disjunctive.y,time [Calling sys.exit(0), Time elapsed: 7.882316322997212]