Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 120.1 kB / 17.78 MB, free: 5.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 198.8 kB / 20.73 MB, free: 2.289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 47.92 kB / 365.6 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1177, allocations: 52.13 MB / 417.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005518/0.1232, allocations: 3.139 MB / 420.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.1259, allocations: 1.122 MB / 422 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004995/0.1264, allocations: 19.88 kB / 422 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.1267, allocations: 98.91 kB / 422.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.127, allocations: 59.28 kB / 422.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.1282, allocations: 373.8 kB / 422.6 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001242/0.1295, allocations: 0.9445 MB / 423.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001109/0.1306, allocations: 0.7018 MB / 424.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006205/0.1312, allocations: 402.6 kB / 424.6 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.1317, allocations: 434 kB / 425 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.1319, allocations: 120 kB / 425.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.1321, allocations: 140 kB / 425.3 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002792/0.1324, allocations: 255.3 kB / 425.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005614/0.133, allocations: 481.6 kB / 426 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00178/0.1347, allocations: 1.362 MB / 427.4 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.1347, allocations: 4 kB / 427.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1347, allocations: 0 / 427.4 MB, free: 2.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.246e-05/0.1348, allocations: 0 / 427.4 MB, free: 2.965 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.002687/0.1375, allocations: 1.199 MB / 428.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.1375, allocations: 8.031 kB / 428.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002334/0.1378, allocations: 156.2 kB / 428.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.138, allocations: 108.3 kB / 428.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/0.1389, allocations: 0.5463 MB / 429.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/0.1391, allocations: 134 kB / 429.5 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.1392, allocations: 96.38 kB / 429.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/0.1426, allocations: 1.733 MB / 431.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.1427, allocations: 0 / 431.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.1428, allocations: 32 kB / 431.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.1428, allocations: 20 kB / 431.4 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.1447, allocations: 0.7899 MB / 432.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.1487, allocations: 2.125 MB / 434.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.1507, allocations: 0.9822 MB / 435.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009342/0.1516, allocations: 455.9 kB / 435.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.611e-05/0.1517, allocations: 24.12 kB / 435.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007807/0.1525, allocations: 395.2 kB / 436.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.616e-06/0.1525, allocations: 0 / 436.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.00268/0.1552, allocations: 1.148 MB / 437.3 MB, free: 8.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002297/0.1554, allocations: 253.5 kB / 437.5 MB, free: 8.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/0.156, allocations: 425.3 kB / 438 MB, free: 7.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.1562, allocations: 57.69 kB / 438 MB, free: 7.871 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.1565, allocations: 293.8 kB / 438.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.1567, allocations: 158.9 kB / 438.4 MB, free: 7.422 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/0.157, allocations: 222.6 kB / 438.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002128/0.1572, allocations: 370.8 kB / 439 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.1579, allocations: 317.8 kB / 439.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009322/0.1589, allocations: 0.6158 MB / 440 MB, free: 5.777 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.1603, allocations: 0.85 MB / 440.8 MB, free: 4.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/0.1603, allocations: 0 / 440.8 MB, free: 4.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002115/0.1625, allocations: 0.9991 MB / 441.8 MB, free: 3.777 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.353e-05/0.1625, allocations: 37.7 kB / 441.8 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.1625, allocations: 8 kB / 441.8 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.942e-05/0.1626, allocations: 16 kB / 441.9 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.163, allocations: 108.2 kB / 442 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.724e-05/0.163, allocations: 27.92 kB / 442 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.1635, allocations: 83.5 kB / 442.1 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.089e-05/0.1636, allocations: 55.86 kB / 442.1 MB, free: 3.441 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.0007607/0.1644, allocations: 411.5 kB / 442.5 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008788/0.1652, allocations: 402.6 kB / 442.9 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008673/0.1661, allocations: 414.9 kB / 443.3 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.1661, allocations: 12 kB / 443.3 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.1661, allocations: 0 / 443.3 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.1662, allocations: 7.984 kB / 443.4 MB, free: 2.199 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/0.1691, allocations: 1.662 MB / 445 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.264e-05/0.1691, allocations: 0 / 445 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004936/0.1696, allocations: 99.73 kB / 445.1 MB, free: 388 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.1696, allocations: 4 kB / 445.1 MB, free: 384 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.525e-05/0.1696, allocations: 23.98 kB / 445.1 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.074e-05/0.1697, allocations: 4 kB / 445.1 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.353e-06/0.1697, allocations: 7.938 kB / 445.2 MB, free: 348 kB / 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.2438/0.4134, allocations: 1.131 MB / 446.3 MB, free: 30.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.4135, allocations: 152.8 kB / 446.4 MB, free: 29.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4136, allocations: 38 kB / 446.5 MB, free: 29.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003949/0.414, allocations: 35.05 kB / 446.5 MB, free: 29.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.4143, allocations: 90.53 kB / 446.6 MB, free: 29.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.03e-05/0.4143, allocations: 37.64 kB / 446.6 MB, free: 29.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002695/0.4146, allocations: 252.2 kB / 446.9 MB, free: 29.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4146, allocations: 0 / 446.9 MB, free: 29.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008331/0.4154, allocations: 186.3 kB / 447.1 MB, free: 29.88 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.001834/0.4172, allocations: 1.408 MB / 448.5 MB, free: 29.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.4188, allocations: 0.8892 MB / 449.4 MB, free: 29.28 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4188, allocations: 2.375 kB / 449.4 MB, free: 29.28 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004733/0.4193, allocations: 263.4 kB / 449.6 MB, free: 29.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4204, allocations: 287.2 kB / 449.9 MB, free: 29.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.4234, allocations: 1.489 MB / 451.4 MB, free: 28.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006775/0.424, allocations: 1.018 MB / 452.4 MB, free: 28.03 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003401/0.4244, allocations: 127.9 kB / 452.5 MB, free: 28.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004032/0.4248, allocations: 271 kB / 452.8 MB, free: 28.02 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4248, allocations: 0 / 452.8 MB, free: 28.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05374/0.4785, allocations: 14.09 MB / 466.9 MB, free: 24.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.451/9.93, allocations: 2.219 kB / 466.9 MB, free: 24.05 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000384986 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable rotational_clock_1.angle in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.angle from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_1.direction in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.direction from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_1.direction_changed in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.direction_changed from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.angle in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.angle from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.direction in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.direction from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.direction_changed in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.direction_changed from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable sample_conjunctive.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable sample_conjunctive.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable sample_disjunctive.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable sample_disjunctive.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.688003256917]