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.001448/0.001448, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001618/0.001618, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.621/1.621, allocations: 230.5 MB / 254.8 MB, free: 15.31 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.00208/0.00208, allocations: 75.81 kB / 373.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1316, allocations: 53.33 MB / 427 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005713/0.1373, allocations: 3.159 MB / 430.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003141/0.1404, allocations: 1.215 MB / 431.4 MB, free: 468 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000609/0.141, allocations: 19.88 kB / 431.4 MB, free: 448 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.1414, allocations: 90.97 kB / 431.5 MB, free: 356 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.1417, allocations: 67.22 kB / 431.5 MB, free: 288 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.1431, allocations: 402.8 kB / 431.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.1443, allocations: 0.9368 MB / 432.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.1455, allocations: 0.6941 MB / 433.6 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007267/0.1462, allocations: 414.6 kB / 434 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005052/0.1467, allocations: 438 kB / 434.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001959/0.1469, allocations: 124 kB / 434.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.1471, allocations: 147.9 kB / 434.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002958/0.1474, allocations: 263.3 kB / 434.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005772/0.148, allocations: 477.5 kB / 435.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001891/0.1499, allocations: 1.378 MB / 436.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.1499, allocations: 0 / 436.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1499, allocations: 0 / 436.8 MB, free: 11.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.463e-05/0.1499, allocations: 0 / 436.8 MB, free: 11.01 MB / 366.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.00262/0.1526, allocations: 1.215 MB / 438 MB, free: 9.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.1526, allocations: 8.031 kB / 438 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002175/0.1528, allocations: 152.2 kB / 438.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00056/0.1534, allocations: 132.2 kB / 438.3 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009451/0.1543, allocations: 0.5541 MB / 438.8 MB, free: 8.84 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.1545, allocations: 134 kB / 439 MB, free: 8.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.1547, allocations: 96.38 kB / 439 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/0.1579, allocations: 1.733 MB / 440.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.1579, allocations: 0 / 440.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.158, allocations: 32 kB / 440.8 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.86e-05/0.158, allocations: 27.98 kB / 440.8 MB, free: 6.754 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.1599, allocations: 0.7899 MB / 441.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003886/0.1638, allocations: 2.118 MB / 443.7 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.1657, allocations: 0.9686 MB / 444.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009003/0.1666, allocations: 465.4 kB / 445.2 MB, free: 2.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.09e-05/0.1667, allocations: 28.11 kB / 445.2 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007914/0.1675, allocations: 395.2 kB / 445.6 MB, free: 1.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 5.921e-06/0.1675, allocations: 0 / 445.6 MB, free: 1.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.002623/0.1701, allocations: 1.146 MB / 446.7 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002461/0.1704, allocations: 249.5 kB / 447 MB, free: 392 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.225/0.3953, allocations: 430.1 kB / 447.4 MB, free: 24.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002704/0.3956, allocations: 61.52 kB / 447.5 MB, free: 24.38 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.3959, allocations: 283.6 kB / 447.7 MB, free: 24.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.3962, allocations: 165.8 kB / 447.9 MB, free: 24.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003896/0.3966, allocations: 216.9 kB / 448.1 MB, free: 24.22 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3967, allocations: 373.6 kB / 448.5 MB, free: 23.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007662/0.3974, allocations: 317.8 kB / 448.8 MB, free: 23.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/0.3983, allocations: 0.6143 MB / 449.4 MB, free: 23.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.3995, allocations: 0.838 MB / 450.2 MB, free: 23.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.3996, allocations: 7.344 kB / 450.2 MB, free: 23.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001798/0.4013, allocations: 0.993 MB / 451.2 MB, free: 23.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.038e-05/0.4014, allocations: 38.02 kB / 451.3 MB, free: 23.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.4014, allocations: 9.719 kB / 451.3 MB, free: 23.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.765e-05/0.4015, allocations: 14.59 kB / 451.3 MB, free: 23.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.4018, allocations: 110 kB / 451.4 MB, free: 22.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-05/0.4019, allocations: 19.23 kB / 451.4 MB, free: 22.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004792/0.4024, allocations: 84.86 kB / 451.5 MB, free: 22.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/0.4024, allocations: 44.67 kB / 451.5 MB, free: 22.95 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.0006518/0.4031, allocations: 411.1 kB / 451.9 MB, free: 22.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000787/0.4039, allocations: 398.2 kB / 452.3 MB, free: 22.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.4041, allocations: 81.77 kB / 452.4 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.4041, allocations: 11.31 kB / 452.4 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.528e-05/0.4041, allocations: 3.797 kB / 452.4 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.4041, allocations: 7.375 kB / 452.4 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/0.4067, allocations: 1.656 MB / 454.1 MB, free: 21.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.4067, allocations: 1.344 kB / 454.1 MB, free: 21.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004106/0.4072, allocations: 93.17 kB / 454.2 MB, free: 21.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.4072, allocations: 6.094 kB / 454.2 MB, free: 21.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.712e-05/0.4072, allocations: 26.56 kB / 454.2 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.181e-05/0.4072, allocations: 12.28 kB / 454.2 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4072, allocations: 1.344 kB / 454.2 MB, free: 21.56 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:8012:5-8012: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.001757/0.409, allocations: 1.135 MB / 455.4 MB, free: 20.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.4091, allocations: 150.1 kB / 455.5 MB, free: 20.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.4092, allocations: 38.7 kB / 455.5 MB, free: 20.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.4096, allocations: 44.12 kB / 455.6 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/0.4098, allocations: 88.09 kB / 455.7 MB, free: 20.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.4099, allocations: 28.02 kB / 455.7 MB, free: 20.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003218/0.4102, allocations: 256.5 kB / 456 MB, free: 20.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4102, allocations: 0 / 456 MB, free: 20.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008609/0.4111, allocations: 182.3 kB / 456.1 MB, free: 20.58 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:8012:5-8012: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.002086/0.4132, allocations: 1.398 MB / 457.5 MB, free: 19.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.415, allocations: 0.8819 MB / 458.4 MB, free: 19.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.415, allocations: 1.188 kB / 458.4 MB, free: 19.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005402/0.4156, allocations: 265.1 kB / 458.7 MB, free: 19.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.4167, allocations: 292 kB / 459 MB, free: 19.25 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.4198, allocations: 1.492 MB / 460.4 MB, free: 18.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006575/0.4204, allocations: 1.014 MB / 461.5 MB, free: 17.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003827/0.4208, allocations: 126.2 kB / 461.6 MB, free: 17.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.4212, allocations: 273.6 kB / 461.9 MB, free: 17.52 MB / 366.1 MB Notification: Performance of SimCode: time 1.784e-06/0.4212, allocations: 3.562 kB / 461.9 MB, free: 17.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05466/0.4759, allocations: 13.96 MB / 475.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.477/9.953, allocations: 16.27 kB / 475.8 MB, free: 12.76 MB / 366.1 MB " [Timeout remaining time 650] (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: 12.738583949860185] 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'] 10.044937631580979 10.065856188 9.911670492 Calling exit ...