Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009782/0.0009782, allocations: 76.08 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 149.1 kB / 23.93 MB, free: 0.6367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9484/0.9484, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 318.4 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.852e-05, allocations: 2.281 kB / 318.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004174/0.004203, allocations: 2.981 MB / 321.4 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.006, allocations: 1.083 MB / 322.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002324/0.006233, allocations: 19.88 kB / 322.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.006474, allocations: 94.91 kB / 322.6 MB, free: 2.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.006609, allocations: 63.22 kB / 322.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008769/0.007486, allocations: 390.3 kB / 323 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007315/0.008218, allocations: 0.9522 MB / 324 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007067/0.008924, allocations: 0.5538 MB / 324.5 MB, free: 200 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005429/0.009467, allocations: 0.581 MB / 325.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003243/0.009792, allocations: 379 kB / 325.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.009913, allocations: 120 kB / 325.6 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001635/0.01008, allocations: 147.9 kB / 325.8 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.01025, allocations: 259.2 kB / 326 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.01047, allocations: 315.2 kB / 326.3 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.01183, allocations: 1.41 MB / 327.7 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01183, allocations: 4 kB / 327.7 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.01184, allocations: 3.938 kB / 327.7 MB, free: 13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.01185, allocations: 0 / 327.7 MB, free: 13 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001304/0.01315, allocations: 1.116 MB / 328.9 MB, free: 11.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.01319, allocations: 8.922 kB / 328.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.01331, allocations: 152.2 kB / 329 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.01343, allocations: 108.3 kB / 329.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005644/0.014, allocations: 0.4968 MB / 329.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.01412, allocations: 185.4 kB / 329.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.01421, allocations: 96.38 kB / 329.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.01611, allocations: 1.765 MB / 331.7 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.01613, allocations: 192 / 331.7 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.708e-05/0.01619, allocations: 39.92 kB / 331.7 MB, free: 8.863 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.0162, allocations: 24 kB / 331.7 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.01723, allocations: 0.7894 MB / 332.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.01972, allocations: 1.848 MB / 334.4 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.02127, allocations: 0.9004 MB / 335.3 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000647/0.02192, allocations: 452.1 kB / 335.7 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.518e-05/0.02198, allocations: 23.98 kB / 335.7 MB, free: 4.688 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005324/0.02252, allocations: 452.1 kB / 336.2 MB, free: 4.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 3.236e-06/0.02252, allocations: 0 / 336.2 MB, free: 4.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=102): time 0.001495/0.02401, allocations: 1.141 MB / 337.3 MB, free: 3.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.02414, allocations: 253.5 kB / 337.5 MB, free: 2.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.0245, allocations: 433.2 kB / 338 MB, free: 2.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-05/0.02456, allocations: 61.69 kB / 338 MB, free: 2.281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.02472, allocations: 281.9 kB / 338.3 MB, free: 2 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.639e-05/0.02482, allocations: 150.9 kB / 338.5 MB, free: 1.852 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.02498, allocations: 162.3 kB / 338.6 MB, free: 1.684 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.02509, allocations: 358.8 kB / 339 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.02543, allocations: 287.3 kB / 339.2 MB, free: 1.039 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00035/0.02578, allocations: 356.3 kB / 339.6 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005371/0.02632, allocations: 484.8 kB / 340.1 MB, free: 180 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.02632, allocations: 4 kB / 340.1 MB, free: 176 kB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001035/0.02736, allocations: 0.6977 MB / 340.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.686e-05/0.0274, allocations: 33.7 kB / 340.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.02742, allocations: 3.984 kB / 340.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.02743, allocations: 4 kB / 340.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.02758, allocations: 55.84 kB / 340.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.02759, allocations: 12.05 kB / 340.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.02774, allocations: 51.66 kB / 340.9 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.02778, allocations: 23.98 kB / 340.9 MB, free: 15.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 59 ($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,$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,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.changed.u,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.changed.u,$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 (70): * Single equations (assignments): 69 * 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.0003709/0.02815, allocations: 358.1 kB / 341.3 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.02861, allocations: 400.3 kB / 341.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004326/0.02905, allocations: 415.5 kB / 342.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.02906, allocations: 12 kB / 342.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.02906, allocations: 0 / 342.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.02907, allocations: 7.984 kB / 342.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.03061, allocations: 1.533 MB / 343.6 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.03061, allocations: 7.938 kB / 343.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000199/0.03081, allocations: 103.7 kB / 343.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.03082, allocations: 4 kB / 343.8 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.03085, allocations: 27.92 kB / 343.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.471e-06/0.03086, allocations: 4 kB / 343.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.03086, allocations: 4 kB / 343.8 MB, free: 12.34 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979: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.00108/0.03194, allocations: 1.133 MB / 344.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.03201, allocations: 75.42 kB / 345 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.099e-05/0.03208, allocations: 43.92 kB / 345 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002082/0.03229, allocations: 35.97 kB / 345.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.03244, allocations: 79.89 kB / 345.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.03248, allocations: 35.98 kB / 345.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001902/0.03267, allocations: 247.2 kB / 345.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03267, allocations: 0 / 345.4 MB, free: 10.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000451/0.03312, allocations: 175.5 kB / 345.6 MB, free: 10.5 MB / 314.7 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 [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1717:3-1717:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.001331/0.03445, allocations: 1.408 MB / 347 MB, free: 9.055 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001235/0.03568, allocations: 0.768 MB / 347.8 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.03569, allocations: 0 / 347.8 MB, free: 8.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.03599, allocations: 270.1 kB / 348 MB, free: 8.008 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007403/0.03673, allocations: 292.2 kB / 348.3 MB, free: 7.723 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.03869, allocations: 1.462 MB / 349.8 MB, free: 6.219 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.03908, allocations: 424.8 kB / 350.2 MB, free: 5.781 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002428/0.03932, allocations: 116.3 kB / 350.3 MB, free: 5.668 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.03964, allocations: 268.4 kB / 350.6 MB, free: 5.406 MB / 314.7 MB Notification: Performance of SimCode: time 2.404e-06/0.03964, allocations: 0 / 350.6 MB, free: 5.406 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.07124, allocations: 14.47 MB / 365.1 MB, free: 7.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.314/7.385, allocations: 11.34 kB / 365.1 MB, free: 7.082 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000384986 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable rotational_clock_1.angle in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.angle from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_1.direction in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.direction from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_1.direction_changed in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.direction_changed from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.angle in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.angle from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.direction in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.direction from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.direction_changed in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.direction_changed from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable sample_conjunctive.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable sample_conjunctive.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable sample_disjunctive.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable sample_disjunctive.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.34788119699806]