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.001191/0.001191, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001251/0.001251, allocations: 186.8 kB / 24.49 MB, free: 3.961 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.343/1.343, allocations: 225.7 MB / 253.3 MB, free: 12.85 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 43.94 kB / 371.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2368, allocations: 52.19 MB / 423.4 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004877/0.2417, allocations: 2.982 MB / 426.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2436, allocations: 1.075 MB / 427.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001929/0.2438, allocations: 19.88 kB / 427.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.2441, allocations: 90.97 kB / 427.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001539/0.2442, allocations: 67.22 kB / 427.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.2451, allocations: 382.1 kB / 428 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009606/0.2461, allocations: 0.9406 MB / 428.9 MB, free: 8.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008277/0.2469, allocations: 0.5559 MB / 429.5 MB, free: 8.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004464/0.2474, allocations: 406.7 kB / 429.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.2478, allocations: 430 kB / 430.3 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.248, allocations: 120 kB / 430.4 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.2482, allocations: 147.9 kB / 430.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002555/0.2484, allocations: 255.3 kB / 430.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.2488, allocations: 374.2 kB / 431.1 MB, free: 6.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.2501, allocations: 1.374 MB / 432.5 MB, free: 5.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.2501, allocations: 8 kB / 432.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2501, allocations: 0 / 432.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.2501, allocations: 4 kB / 432.5 MB, free: 5.191 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.001852/0.2519, allocations: 1.124 MB / 433.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.252, allocations: 8.031 kB / 433.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.508e-05/0.252, allocations: 26.19 kB / 433.7 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.2522, allocations: 156.2 kB / 433.8 MB, free: 3.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.2524, allocations: 104.3 kB / 433.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007685/0.2531, allocations: 0.4898 MB / 434.4 MB, free: 3.203 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.2533, allocations: 181.4 kB / 434.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.2534, allocations: 104.1 kB / 434.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.2564, allocations: 1.787 MB / 436.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.2564, allocations: 0 / 436.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.39e-05/0.2565, allocations: 36 kB / 436.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.2565, allocations: 20 kB / 436.6 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.258, allocations: 0.7894 MB / 437.3 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002905/0.2609, allocations: 1.852 MB / 439.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.2625, allocations: 0.9044 MB / 440.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007713/0.2633, allocations: 448.1 kB / 440.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.521e-05/0.2634, allocations: 31.91 kB / 440.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007119/0.2641, allocations: 446.7 kB / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 2.915e-06/0.2641, allocations: 0 / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002195/0.2663, allocations: 1.147 MB / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001735/0.2665, allocations: 256.2 kB / 442.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.2669, allocations: 425.3 kB / 442.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.405e-05/0.267, allocations: 61.69 kB / 442.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.2672, allocations: 281.8 kB / 443.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.2674, allocations: 162.9 kB / 443.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.2677, allocations: 218.6 kB / 443.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2678, allocations: 374.8 kB / 443.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.2684, allocations: 351.5 kB / 444.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008169/0.2693, allocations: 0.6331 MB / 444.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.2705, allocations: 0.8493 MB / 445.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.2705, allocations: 11.94 kB / 445.7 MB, free: 7.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001677/0.2722, allocations: 1.021 MB / 446.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.876e-05/0.2722, allocations: 48.36 kB / 446.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.2722, allocations: 11.98 kB / 446.8 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.2722, allocations: 19.94 kB / 446.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.2726, allocations: 107.7 kB / 446.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/0.2726, allocations: 19.94 kB / 447 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003716/0.273, allocations: 79.53 kB / 447 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.891e-05/0.2731, allocations: 47.98 kB / 447.1 MB, free: 5.898 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.0005146/0.2736, allocations: 407.4 kB / 447.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006563/0.2742, allocations: 393 kB / 447.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006745/0.2749, allocations: 428.6 kB / 448.3 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.2749, allocations: 12 kB / 448.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2749, allocations: 0 / 448.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.275, allocations: 7.984 kB / 448.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002334/0.2773, allocations: 1.532 MB / 449.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.2773, allocations: 0 / 449.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003757/0.2777, allocations: 99.8 kB / 449.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.2777, allocations: 4 kB / 449.9 MB, free: 2.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.2777, allocations: 23.98 kB / 450 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/0.2777, allocations: 11.88 kB / 450 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.2777, allocations: 4 kB / 450 MB, free: 2.93 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:8019:5-8019: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.001717/0.2795, allocations: 1.127 MB / 451.1 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/0.2795, allocations: 75.42 kB / 451.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.2796, allocations: 39.98 kB / 451.2 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003669/0.28, allocations: 35.97 kB / 451.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.2802, allocations: 91.81 kB / 451.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.001e-05/0.2803, allocations: 35.98 kB / 451.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.2805, allocations: 251.1 kB / 451.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2805, allocations: 0 / 451.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000723/0.2813, allocations: 195.5 kB / 451.8 MB, free: 1.059 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:8019:5-8019: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.002083/0.2833, allocations: 1.408 MB / 453.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001643/0.285, allocations: 0.9115 MB / 454.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.285, allocations: 4 kB / 454.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.2855, allocations: 266.5 kB / 454.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.2865, allocations: 288.6 kB / 454.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.2895, allocations: 1.482 MB / 456.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/0.29, allocations: 420.9 kB / 456.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003191/0.2903, allocations: 129.1 kB / 456.7 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004426/0.2907, allocations: 271.3 kB / 457 MB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2907, allocations: 0 / 457 MB, free: 11.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04047/0.3312, allocations: 14.74 MB / 471.7 MB, free: 13.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.86, allocations: 4.062 kB / 471.7 MB, free: 13.26 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_fmu --startTime=0 --stopTime=2 --stepSize=0.000384986 --timeout=50 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 14.078766380087472] Failed to read output from testmodel.py, exit status != 0: ['time', 'rotational_clock_1.angle', 'rotational_clock_1.direction', 'rotational_clock_1.direction_changed', 'rotational_clock_2.angle', 'rotational_clock_2.direction', 'rotational_clock_2.direction_changed', 'sample_conjunctive.y', 'sample_disjunctive.y'] 12.021336611011066 12.037523595 11.784424514 Calling exit ...