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.001735/0.001735, allocations: 103.5 kB / 20.43 MB, free: 1.328 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.001975/0.001975, allocations: 181.6 kB / 23.7 MB, free: 4.52 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.443/1.443, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.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.001535/0.001535, allocations: 47.94 kB / 370.4 MB, free: 9.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.261, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005368/0.2663, allocations: 2.997 MB / 425.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.2684, allocations: 1.079 MB / 426.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001985/0.2686, allocations: 19.88 kB / 426.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.2689, allocations: 98.91 kB / 426.8 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.269, allocations: 63.22 kB / 426.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009191/0.2699, allocations: 386.4 kB / 427.2 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009769/0.2709, allocations: 0.933 MB / 428.1 MB, free: 8.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008473/0.2718, allocations: 0.5537 MB / 428.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000489/0.2723, allocations: 406.7 kB / 429.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.2727, allocations: 438 kB / 429.5 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001607/0.2729, allocations: 120 kB / 429.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002254/0.2731, allocations: 140 kB / 429.8 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.2734, allocations: 267.2 kB / 430 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.2738, allocations: 370.2 kB / 430.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.2752, allocations: 1.383 MB / 431.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2752, allocations: 0 / 431.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2752, allocations: 0 / 431.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.2752, allocations: 0 / 431.8 MB, free: 5.129 MB / 334.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.001939/0.2771, allocations: 1.124 MB / 432.9 MB, free: 3.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.2772, allocations: 8.031 kB / 432.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001781/0.2774, allocations: 152.2 kB / 433 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/0.2775, allocations: 108.3 kB / 433.2 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009456/0.2785, allocations: 0.4937 MB / 433.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.2787, allocations: 185.4 kB / 433.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.2788, allocations: 96.38 kB / 433.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/0.2817, allocations: 1.783 MB / 435.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.2817, allocations: 0 / 435.7 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.869e-05/0.2818, allocations: 32 kB / 435.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.546e-05/0.2818, allocations: 24 kB / 435.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/0.2834, allocations: 0.7894 MB / 436.5 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003086/0.2865, allocations: 1.852 MB / 438.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.2881, allocations: 0.9048 MB / 439.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007825/0.2889, allocations: 448.1 kB / 439.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.122e-05/0.289, allocations: 23.98 kB / 439.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007373/0.2897, allocations: 446.6 kB / 440.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 2.515e-06/0.2897, allocations: 0 / 440.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002355/0.2921, allocations: 1.154 MB / 441.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002033/0.2923, allocations: 252.3 kB / 441.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.2928, allocations: 425.3 kB / 442 MB, free: 10.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.2929, allocations: 61.69 kB / 442.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.2931, allocations: 285.9 kB / 442.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.2933, allocations: 162.9 kB / 442.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002847/0.2936, allocations: 218.6 kB / 442.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.2938, allocations: 378.8 kB / 443.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006363/0.2944, allocations: 347.4 kB / 443.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/0.2953, allocations: 0.637 MB / 444.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.2966, allocations: 0.8527 MB / 444.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.2966, allocations: 8 kB / 444.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001804/0.2984, allocations: 1.02 MB / 446 MB, free: 6.195 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/0.2985, allocations: 37.7 kB / 446 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.2985, allocations: 8.047 kB / 446 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.297e-05/0.2985, allocations: 20.48 kB / 446 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.2989, allocations: 111.7 kB / 446.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.296e-05/0.2989, allocations: 19.94 kB / 446.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.2993, allocations: 87.47 kB / 446.2 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.71e-05/0.2993, allocations: 48 kB / 446.3 MB, free: 5.863 MB / 350.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.0005502/0.2999, allocations: 411.5 kB / 446.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006938/0.3006, allocations: 393 kB / 447.1 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007314/0.3013, allocations: 420.4 kB / 447.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.3013, allocations: 12 kB / 447.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.3013, allocations: 0 / 447.5 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.3014, allocations: 7.984 kB / 447.5 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.3039, allocations: 1.533 MB / 449 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3039, allocations: 0 / 449 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.3043, allocations: 99.8 kB / 449.1 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.3043, allocations: 4 kB / 449.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.3044, allocations: 23.98 kB / 449.2 MB, free: 2.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3044, allocations: 4 kB / 449.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.668e-06/0.3044, allocations: 11.88 kB / 449.2 MB, free: 2.898 MB / 350.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:8018:5-8018: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.001813/0.3062, allocations: 1.127 MB / 450.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3063, allocations: 83.38 kB / 450.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3064, allocations: 35.98 kB / 450.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.3068, allocations: 43.91 kB / 450.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.3069, allocations: 83.83 kB / 450.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/0.307, allocations: 31.98 kB / 450.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002701/0.3073, allocations: 251.2 kB / 450.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3073, allocations: 0 / 450.8 MB, free: 1.227 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006942/0.3079, allocations: 187.5 kB / 451 MB, free: 1.043 MB / 350.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:8018:5-8018:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1821:3-1821:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.002159/0.3101, allocations: 1.415 MB / 452.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.3117, allocations: 0.9182 MB / 453.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3117, allocations: 0 / 453.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005137/0.3123, allocations: 270.2 kB / 453.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3133, allocations: 284.8 kB / 453.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.316, allocations: 1.486 MB / 455.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.3165, allocations: 420.9 kB / 455.8 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.3168, allocations: 132.7 kB / 455.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004164/0.3173, allocations: 263.3 kB / 456.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3173, allocations: 4 kB / 456.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04716/0.3644, allocations: 14.98 MB / 471.1 MB, free: 12.97 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.07, allocations: 3.938 kB / 471.1 MB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.59910099580884]