Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009168/0.0009168, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9297/0.9297, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/2.049e-05, allocations: 8.469 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003431/0.003451, allocations: 3.027 MB / 327.6 MB, free: 12.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.004962, allocations: 1.172 MB / 328.7 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.005188, allocations: 19.88 kB / 328.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.005431, allocations: 90.91 kB / 328.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.005549, allocations: 71.22 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.006218, allocations: 407.1 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006763/0.006895, allocations: 0.9604 MB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00057/0.007465, allocations: 0.5499 MB / 330.8 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.00793, allocations: 0.5926 MB / 331.4 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004197/0.008349, allocations: 371 kB / 331.8 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.986e-05/0.008449, allocations: 120 kB / 331.9 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.008598, allocations: 147.9 kB / 332.1 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.008765, allocations: 263.2 kB / 332.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.008954, allocations: 311.2 kB / 332.6 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008893/0.009843, allocations: 1.421 MB / 334 MB, free: 6.402 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.009845, allocations: 4 kB / 334 MB, free: 6.398 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.009846, allocations: 0 / 334 MB, free: 6.398 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.009854, allocations: 0 / 334 MB, free: 6.398 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.001459/0.01131, allocations: 1.131 MB / 335.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.01135, allocations: 12.03 kB / 335.2 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.01147, allocations: 152.2 kB / 335.3 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/0.01174, allocations: 132.2 kB / 335.5 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.01228, allocations: 0.489 MB / 335.9 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.0124, allocations: 185.4 kB / 336.1 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/0.01248, allocations: 96.38 kB / 336.2 MB, free: 4.105 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.01421, allocations: 1.788 MB / 338 MB, free: 2.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.01423, allocations: 4.125 kB / 338 MB, free: 2.242 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.401e-05/0.01429, allocations: 39.94 kB / 338.1 MB, free: 2.203 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.0143, allocations: 24 kB / 338.1 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/0.01521, allocations: 0.7855 MB / 338.9 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.01704, allocations: 1.848 MB / 340.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.01804, allocations: 0.8923 MB / 341.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.01852, allocations: 456.6 kB / 342 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.01856, allocations: 19.98 kB / 342.1 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007627/0.01932, allocations: 444.1 kB / 342.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=102): time 2.354e-06/0.01933, allocations: 3.938 kB / 342.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=102): time 0.001402/0.02073, allocations: 1.141 MB / 343.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/0.02086, allocations: 246 kB / 343.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.02119, allocations: 437.2 kB / 344.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.02125, allocations: 61.69 kB / 344.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.0214, allocations: 293.9 kB / 344.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.963e-05/0.02149, allocations: 142.9 kB / 344.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.02165, allocations: 170.3 kB / 345 MB, free: 11.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.02177, allocations: 358.8 kB / 345.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003347/0.0221, allocations: 278.8 kB / 345.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003488/0.02245, allocations: 352.4 kB / 345.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.02297, allocations: 483.2 kB / 346.4 MB, free: 9.539 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.02297, allocations: 0 / 346.4 MB, free: 9.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007294/0.0237, allocations: 0.6875 MB / 347.1 MB, free: 8.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.02374, allocations: 33.7 kB / 347.1 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.02374, allocations: 4 kB / 347.1 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.02376, allocations: 64 / 347.1 MB, free: 8.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.02389, allocations: 63.83 kB / 347.2 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.0239, allocations: 4 kB / 347.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.02403, allocations: 59.64 kB / 347.3 MB, free: 8.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.02406, allocations: 23.98 kB / 347.3 MB, free: 8.641 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.0002999/0.02436, allocations: 358.1 kB / 347.6 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004323/0.0248, allocations: 394.4 kB / 348 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.0249, allocations: 83.2 kB / 348.1 MB, free: 7.801 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.02491, allocations: 12 kB / 348.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.02492, allocations: 4 kB / 348.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.02492, allocations: 7.922 kB / 348.1 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.02665, allocations: 1.533 MB / 349.7 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.02665, allocations: 0 / 349.7 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.02684, allocations: 91.81 kB / 349.7 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.02685, allocations: 4 kB / 349.7 MB, free: 6.098 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.02688, allocations: 27.92 kB / 349.8 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.02689, allocations: 4 kB / 349.8 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.02689, allocations: 7.938 kB / 349.8 MB, free: 6.059 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.001079/0.02797, allocations: 1.122 MB / 350.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/0.02803, allocations: 71.44 kB / 351 MB, free: 4.844 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.341e-05/0.02809, allocations: 35.92 kB / 351 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.02829, allocations: 47.91 kB / 351.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.02841, allocations: 87.88 kB / 351.1 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.02845, allocations: 27.98 kB / 351.2 MB, free: 4.648 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00017/0.02862, allocations: 255.2 kB / 351.4 MB, free: 4.398 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02862, allocations: 4 kB / 351.4 MB, free: 4.395 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003597/0.02898, allocations: 167.5 kB / 351.6 MB, free: 4.23 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.001285/0.03026, allocations: 1.398 MB / 353 MB, free: 2.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.03152, allocations: 0.7673 MB / 353.8 MB, free: 2.012 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.03152, allocations: 4 kB / 353.8 MB, free: 2.008 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.03197, allocations: 263.6 kB / 354 MB, free: 1.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.03307, allocations: 299.6 kB / 354.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.03528, allocations: 1.463 MB / 355.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.03557, allocations: 428.9 kB / 356.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.03574, allocations: 108.3 kB / 356.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005437/0.03629, allocations: 264.4 kB / 356.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of SimCode: time 7.12e-07/0.03629, allocations: 0 / 356.6 MB, free: 15.15 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.06258, allocations: 14.35 MB / 370.9 MB, free: 0.957 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.349/7.412, allocations: 11.03 kB / 370.9 MB, free: 0.9492 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.angle from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_1.direction in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.direction from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_1.direction_changed in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.direction_changed from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.angle in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.angle from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.direction in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.direction from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.direction_changed in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.direction_changed from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable sample_conjunctive.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable sample_conjunctive.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable sample_disjunctive.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable sample_disjunctive.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.282810600474477]