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.001507/0.001507, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001777/0.001777, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.466/1.466, allocations: 230.6 MB / 258.3 MB, free: 8.039 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0-beta_om_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-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) [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.001927/0.001927, allocations: 64.77 kB / 378.5 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.257, allocations: 53.38 MB / 431.9 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004945/0.262, allocations: 3.184 MB / 435.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.2642, allocations: 1.227 MB / 436.3 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.2645, allocations: 23.88 kB / 436.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.2647, allocations: 90.92 kB / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001577/0.2649, allocations: 71.22 kB / 436.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009135/0.2658, allocations: 394.5 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009376/0.2668, allocations: 0.9484 MB / 437.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008192/0.2676, allocations: 0.5577 MB / 438.4 MB, free: 340 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005486/0.2681, allocations: 414.7 kB / 438.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.2686, allocations: 430 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.2687, allocations: 120 kB / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.2689, allocations: 155.9 kB / 439.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.2692, allocations: 255.3 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004471/0.2696, allocations: 481.6 kB / 440.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.271, allocations: 1.375 MB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.271, allocations: 0 / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.271, allocations: 0 / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.2711, allocations: 0 / 441.6 MB, free: 13.14 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.00185/0.2729, allocations: 1.143 MB / 442.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.2729, allocations: 8.031 kB / 442.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.2731, allocations: 148.2 kB / 442.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/0.2735, allocations: 128.2 kB / 443 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008241/0.2744, allocations: 0.5053 MB / 443.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001732/0.2745, allocations: 185.4 kB / 443.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.2747, allocations: 100.4 kB / 443.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00276/0.2774, allocations: 1.717 MB / 445.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.2775, allocations: 3.938 kB / 445.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.996e-05/0.2775, allocations: 40 kB / 445.5 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.2776, allocations: 20 kB / 445.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.2791, allocations: 0.7855 MB / 446.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.2822, allocations: 2.078 MB / 448.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.2838, allocations: 0.901 MB / 449.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007717/0.2846, allocations: 463.9 kB / 449.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.2847, allocations: 12.14 kB / 449.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006816/0.2854, allocations: 399.3 kB / 450.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 2.705e-06/0.2854, allocations: 0 / 450.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002232/0.2876, allocations: 1.135 MB / 451.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001748/0.2878, allocations: 249.5 kB / 451.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004898/0.2883, allocations: 441.2 kB / 452 MB, free: 2.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-05/0.2883, allocations: 61.69 kB / 452.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.2886, allocations: 281.8 kB / 452.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000153/0.2887, allocations: 170.9 kB / 452.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.289, allocations: 218.6 kB / 452.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.2892, allocations: 370.8 kB / 453.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.2898, allocations: 321.8 kB / 453.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008037/0.2906, allocations: 0.6041 MB / 454 MB, free: 172 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.2918, allocations: 0.8422 MB / 454.8 MB, free: 15.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.2918, allocations: 4 kB / 454.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001644/0.2935, allocations: 0.9939 MB / 455.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.18e-05/0.2935, allocations: 36.05 kB / 455.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.2935, allocations: 12 kB / 455.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.2936, allocations: 16 kB / 455.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.2939, allocations: 108.1 kB / 456 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.438e-05/0.294, allocations: 23.92 kB / 456 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003846/0.2943, allocations: 91.48 kB / 456.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.2944, allocations: 40 kB / 456.2 MB, free: 13.86 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.0005388/0.2949, allocations: 411.6 kB / 456.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000681/0.2956, allocations: 396 kB / 456.9 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.2958, allocations: 83.2 kB / 457 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.2958, allocations: 12 kB / 457 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.2958, allocations: 4 kB / 457 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.2958, allocations: 3.984 kB / 457 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.2982, allocations: 1.634 MB / 458.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.2982, allocations: 7.984 kB / 458.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/0.2986, allocations: 95.62 kB / 458.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.059e-05/0.2986, allocations: 12 kB / 458.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.2986, allocations: 23.98 kB / 458.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.2986, allocations: 11.98 kB / 458.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2986, allocations: 3.938 kB / 458.8 MB, free: 11.11 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.001677/0.3003, allocations: 1.129 MB / 460 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.3004, allocations: 71.44 kB / 460 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.3005, allocations: 35.98 kB / 460.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003582/0.3009, allocations: 39.97 kB / 460.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.301, allocations: 91.81 kB / 460.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.3011, allocations: 31.98 kB / 460.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002707/0.3014, allocations: 251.2 kB / 460.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3014, allocations: 0 / 460.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007254/0.3021, allocations: 191.5 kB / 460.7 MB, free: 9.25 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 [/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 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1814:3-1814:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.001947/0.304, allocations: 1.395 MB / 462.1 MB, free: 7.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.3056, allocations: 0.8778 MB / 462.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3056, allocations: 8 kB / 462.9 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004824/0.3061, allocations: 255.7 kB / 463.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.3072, allocations: 302.9 kB / 463.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002718/0.3099, allocations: 1.502 MB / 465 MB, free: 4.836 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.3105, allocations: 1.006 MB / 466 MB, free: 3.801 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003099/0.3108, allocations: 132.8 kB / 466.1 MB, free: 3.668 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.3112, allocations: 275.3 kB / 466.4 MB, free: 3.398 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3112, allocations: 0 / 466.4 MB, free: 3.398 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/0.3548, allocations: 14.58 MB / 481 MB, free: 4.934 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.581/8.936, allocations: 6.906 kB / 481 MB, free: 4.93 MB / 382.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_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-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.38292521238327] Failed to read output from testmodel.py, exit status != 0: ['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'] 9.014005717355758 9.039812981 8.76362364 Calling exit ...