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.001299/0.001299, allocations: 105.1 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.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.001486/0.001486, allocations: 214.1 kB / 24.52 MB, free: 3.941 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.366/1.366, allocations: 230.6 MB / 258.3 MB, free: 7.777 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 43.92 kB / 378.5 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2195, allocations: 53.35 MB / 431.8 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.00489/0.2244, allocations: 2.998 MB / 434.8 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.2266, allocations: 1.176 MB / 436 MB, free: 2.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.2268, allocations: 23.81 kB / 436 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.227, allocations: 94.91 kB / 436.1 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.2272, allocations: 71.22 kB / 436.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009258/0.2281, allocations: 397.6 kB / 436.6 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009355/0.2291, allocations: 0.9445 MB / 437.5 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008019/0.2299, allocations: 0.556 MB / 438.1 MB, free: 348 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005719/0.2304, allocations: 414.6 kB / 438.5 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004507/0.2309, allocations: 441.9 kB / 438.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.231, allocations: 120 kB / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.2312, allocations: 136 kB / 439.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.2315, allocations: 255.3 kB / 439.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003821/0.2319, allocations: 382.2 kB / 439.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001417/0.2333, allocations: 1.382 MB / 441.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2333, allocations: 0 / 441.2 MB, free: 13.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2333, allocations: 4 kB / 441.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.159e-05/0.2333, allocations: 0 / 441.2 MB, free: 13.23 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.002009/0.2353, allocations: 1.14 MB / 442.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2354, allocations: 12.03 kB / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.561e-05/0.2354, allocations: 26.19 kB / 442.4 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/0.2356, allocations: 152.1 kB / 442.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004401/0.236, allocations: 136.2 kB / 442.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008094/0.2368, allocations: 497.6 kB / 443.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.237, allocations: 189.4 kB / 443.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.2371, allocations: 104.1 kB / 443.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002976/0.2401, allocations: 1.767 MB / 445.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.2401, allocations: 3.938 kB / 445.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.307e-05/0.2402, allocations: 40 kB / 445.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.2402, allocations: 24 kB / 445.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.2417, allocations: 0.7875 MB / 446 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.2448, allocations: 1.856 MB / 447.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.2465, allocations: 0.8893 MB / 448.8 MB, free: 5.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008958/0.2474, allocations: 456.9 kB / 449.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.2475, allocations: 15.98 kB / 449.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007192/0.2482, allocations: 446.7 kB / 449.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.276e-06/0.2482, allocations: 0 / 449.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002255/0.2505, allocations: 1.153 MB / 450.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001804/0.2506, allocations: 245.5 kB / 451.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.2511, allocations: 433.3 kB / 451.5 MB, free: 2.508 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.881e-05/0.2512, allocations: 61.69 kB / 451.6 MB, free: 2.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.2515, allocations: 290 kB / 451.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.2516, allocations: 158.9 kB / 452 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.2519, allocations: 226.5 kB / 452.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.2521, allocations: 370.8 kB / 452.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006314/0.2527, allocations: 347.5 kB / 452.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008518/0.2536, allocations: 0.6409 MB / 453.6 MB, free: 280 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/0.2548, allocations: 0.8466 MB / 454.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.2548, allocations: 0 / 454.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001706/0.2565, allocations: 1.023 MB / 455.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.2566, allocations: 41.62 kB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.2566, allocations: 12 kB / 455.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.2566, allocations: 12 kB / 455.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.257, allocations: 107.7 kB / 455.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/0.257, allocations: 23.92 kB / 455.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/0.2574, allocations: 91.48 kB / 455.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.829e-05/0.2575, allocations: 40 kB / 455.8 MB, free: 13.93 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.0005742/0.2581, allocations: 415.6 kB / 456.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006931/0.2588, allocations: 392.2 kB / 456.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.259, allocations: 79.22 kB / 456.6 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.259, allocations: 12 kB / 456.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.259, allocations: 4 kB / 456.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.259, allocations: 7.969 kB / 456.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.2614, allocations: 1.522 MB / 458.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.2614, allocations: 8 kB / 458.2 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.2618, allocations: 99.73 kB / 458.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/0.2618, allocations: 4 kB / 458.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.129e-05/0.2619, allocations: 23.98 kB / 458.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.697e-06/0.2619, allocations: 7.938 kB / 458.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2619, allocations: 0 / 458.3 MB, free: 11.3 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: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.001743/0.2636, allocations: 1.129 MB / 459.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.2637, allocations: 79.36 kB / 459.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2638, allocations: 35.98 kB / 459.5 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.2642, allocations: 39.97 kB / 459.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000181/0.2644, allocations: 87.81 kB / 459.7 MB, free: 9.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.2644, allocations: 35.98 kB / 459.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002846/0.2647, allocations: 251.2 kB / 459.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2647, allocations: 3.938 kB / 460 MB, free: 9.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007209/0.2654, allocations: 183.6 kB / 460.1 MB, free: 9.438 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: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.001981/0.2674, allocations: 1.413 MB / 461.5 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.269, allocations: 0.9068 MB / 462.5 MB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.269, allocations: 4 kB / 462.5 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005022/0.2695, allocations: 257.4 kB / 462.7 MB, free: 6.812 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.2706, allocations: 290.5 kB / 463 MB, free: 6.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.2735, allocations: 1.506 MB / 464.5 MB, free: 4.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.2739, allocations: 416.9 kB / 464.9 MB, free: 4.547 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003056/0.2742, allocations: 128.8 kB / 465 MB, free: 4.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004268/0.2747, allocations: 275.3 kB / 465.3 MB, free: 4.152 MB / 366.1 MB Notification: Performance of SimCode: time 7.62e-07/0.2747, allocations: 3.938 kB / 465.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04018/0.3149, allocations: 14.61 MB / 479.9 MB, free: 5.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.84, allocations: 8.062 kB / 479.9 MB, free: 5.73 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_fmu --startTime=0 --stopTime=2 --stepSize=0.000384986 --timeout=50 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 14.113902900950052] 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.006567494012415 12.021556977 11.785203055 Calling exit ...