Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002543/0.002543, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.654/1.654, allocations: 230.6 MB / 254.1 MB, free: 15.11 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 47.92 kB / 373 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.133, allocations: 53.32 MB / 426.3 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005829/0.1388, allocations: 3.164 MB / 429.5 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002961/0.1418, allocations: 1.211 MB / 430.7 MB, free: 436 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000433/0.1422, allocations: 19.88 kB / 430.7 MB, free: 416 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.1425, allocations: 94.91 kB / 430.8 MB, free: 320 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002236/0.1428, allocations: 63.28 kB / 430.8 MB, free: 256 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2483/0.3911, allocations: 391.5 kB / 431.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001849/0.3929, allocations: 0.9462 MB / 432.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.3941, allocations: 0.6936 MB / 432.9 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007817/0.3949, allocations: 420.1 kB / 433.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.3953, allocations: 435.7 kB / 433.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002003/0.3955, allocations: 120.3 kB / 433.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003188/0.3959, allocations: 147.9 kB / 434 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.3961, allocations: 261.6 kB / 434.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006218/0.3968, allocations: 468.7 kB / 434.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.3991, allocations: 1.384 MB / 436.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3991, allocations: 0.625 kB / 436.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3991, allocations: 4 kB / 436.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.573e-05/0.3991, allocations: 1.25 kB / 436.1 MB, free: 6.84 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.00276/0.4019, allocations: 1.201 MB / 437.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.4019, allocations: 10.75 kB / 437.3 MB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.4021, allocations: 152.8 kB / 437.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005624/0.4027, allocations: 137.7 kB / 437.6 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008657/0.4035, allocations: 0.5509 MB / 438.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.4037, allocations: 137.3 kB / 438.2 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.4038, allocations: 91.97 kB / 438.3 MB, free: 5.309 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/0.4074, allocations: 1.729 MB / 440.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/0.4074, allocations: 0 / 440.1 MB, free: 4.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/0.4075, allocations: 37.73 kB / 440.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/0.4075, allocations: 20.38 kB / 440.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001886/0.4094, allocations: 0.7897 MB / 440.9 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003878/0.4133, allocations: 2.129 MB / 443 MB, free: 3.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.4151, allocations: 0.9759 MB / 444 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008203/0.4159, allocations: 451.6 kB / 444.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.978e-05/0.4159, allocations: 27.77 kB / 444.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007327/0.4167, allocations: 396.1 kB / 444.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.808e-06/0.4167, allocations: 0 / 444.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002542/0.4192, allocations: 1.146 MB / 446 MB, free: 1.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.4194, allocations: 249.4 kB / 446.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.42, allocations: 432.1 kB / 446.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.4201, allocations: 64.11 kB / 446.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.4203, allocations: 292 kB / 447 MB, free: 1.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.4205, allocations: 166.2 kB / 447.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003338/0.4208, allocations: 214 kB / 447.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4209, allocations: 374 kB / 447.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.4216, allocations: 319 kB / 448.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007686/0.4223, allocations: 0.6124 MB / 448.7 MB, free: 36 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.4239, allocations: 0.8384 MB / 449.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.4239, allocations: 3.531 kB / 449.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002189/0.4261, allocations: 0.9966 MB / 450.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/0.4262, allocations: 36.45 kB / 450.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.4262, allocations: 11.69 kB / 450.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.701e-05/0.4262, allocations: 16.31 kB / 450.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.4266, allocations: 111.1 kB / 450.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.997e-05/0.4266, allocations: 22.53 kB / 450.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005186/0.4272, allocations: 88.97 kB / 450.8 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/0.4272, allocations: 45.05 kB / 450.9 MB, free: 14.99 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.0008292/0.4281, allocations: 408 kB / 451.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008409/0.4289, allocations: 390.8 kB / 451.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.4292, allocations: 81.66 kB / 451.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.4292, allocations: 10.69 kB / 451.7 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/0.4292, allocations: 7.25 kB / 451.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/0.4293, allocations: 11.19 kB / 451.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/0.4322, allocations: 1.661 MB / 453.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4322, allocations: 3.219 kB / 453.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004327/0.4326, allocations: 96.36 kB / 453.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.4326, allocations: 5.312 kB / 453.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.4327, allocations: 22.52 kB / 453.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-05/0.4327, allocations: 8.844 kB / 453.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.4327, allocations: 5.438 kB / 453.5 MB, free: 13.61 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.002234/0.435, allocations: 1.129 MB / 454.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000224/0.4352, allocations: 148.2 kB / 454.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.4353, allocations: 38.05 kB / 454.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004121/0.4357, allocations: 41.39 kB / 454.9 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.436, allocations: 88.67 kB / 455 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/0.4361, allocations: 31.95 kB / 455 MB, free: 12.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004211/0.4365, allocations: 258.2 kB / 455.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4365, allocations: 0 / 455.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001176/0.4377, allocations: 183.9 kB / 455.4 MB, free: 12.6 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.002469/0.4401, allocations: 1.398 MB / 456.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002177/0.4423, allocations: 0.8755 MB / 457.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/0.4423, allocations: 1.125 kB / 457.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.443, allocations: 261.6 kB / 458 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.4445, allocations: 293.3 kB / 458.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.4484, allocations: 1.497 MB / 459.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009524/0.4494, allocations: 1.015 MB / 460.8 MB, free: 9.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000416/0.4498, allocations: 131.3 kB / 460.9 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/0.4503, allocations: 269.8 kB / 461.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of SimCode: time 2.324e-06/0.4503, allocations: 0 / 461.2 MB, free: 9.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05048/0.5008, allocations: 13.95 MB / 475.1 MB, free: 14.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.26/9.761, allocations: 10.67 kB / 475.1 MB, free: 14.7 MB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000384986 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable rotational_clock_1.angle in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.angle from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_1.direction in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.direction from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_1.direction_changed in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_1.direction_changed from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.angle in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.angle from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.direction in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.direction from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable rotational_clock_2.direction_changed in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable rotational_clock_2.direction_changed from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable sample_conjunctive.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable sample_conjunctive.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! Error: Could not read variable sample_disjunctive.y in file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv. Warning: Get data of variable sample_disjunctive.y from file Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.594909292994998]