Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001388/0.001388, allocations: 109.5 kB / 19.74 MB, free: 2.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001529/0.001529, allocations: 223.1 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.298/1.298, allocations: 230.5 MB / 256.4 MB, free: 8.27 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 63.84 kB / 376.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.199, allocations: 53.33 MB / 429.4 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004497/0.2035, allocations: 3.176 MB / 432.6 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.2054, allocations: 1.227 MB / 433.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.2056, allocations: 15.94 kB / 433.8 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.2058, allocations: 94.91 kB / 433.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.2059, allocations: 67.28 kB / 434 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.2067, allocations: 395.4 kB / 434.4 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008495/0.2076, allocations: 0.9484 MB / 435.3 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007549/0.2083, allocations: 0.5456 MB / 435.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004344/0.2088, allocations: 402.6 kB / 436.3 MB, free: 488 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003932/0.2092, allocations: 442 kB / 436.7 MB, free: 44 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.2093, allocations: 120 kB / 436.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.2095, allocations: 143.9 kB / 436.9 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.2097, allocations: 259.3 kB / 437.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003971/0.2101, allocations: 489.6 kB / 437.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.2113, allocations: 1.37 MB / 439 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2113, allocations: 0 / 439 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2113, allocations: 0 / 439 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.2114, allocations: 3.984 kB / 439 MB, free: 13.68 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.001726/0.2131, allocations: 1.207 MB / 440.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.2131, allocations: 16.03 kB / 440.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001616/0.2133, allocations: 148.2 kB / 440.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004037/0.2137, allocations: 136.2 kB / 440.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006912/0.2144, allocations: 0.554 MB / 441.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.2145, allocations: 134 kB / 441.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.2146, allocations: 96.38 kB / 441.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.2172, allocations: 1.725 MB / 443 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.2172, allocations: 0 / 443 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-05/0.2173, allocations: 39.98 kB / 443.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.2173, allocations: 24 kB / 443.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.2187, allocations: 0.7899 MB / 443.9 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.2216, allocations: 2.122 MB / 446 MB, free: 6.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.2233, allocations: 0.9746 MB / 447 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007729/0.224, allocations: 453.6 kB / 447.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.536e-05/0.2241, allocations: 28.12 kB / 447.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006521/0.2247, allocations: 391.3 kB / 447.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 2.464e-06/0.2247, allocations: 0 / 447.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002124/0.2269, allocations: 1.142 MB / 449 MB, free: 3.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/0.227, allocations: 256.4 kB / 449.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.2275, allocations: 437.2 kB / 449.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.219e-05/0.2275, allocations: 61.69 kB / 449.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002146/0.2278, allocations: 289.8 kB / 450 MB, free: 2.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.2279, allocations: 158.9 kB / 450.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.2282, allocations: 218.6 kB / 450.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2283, allocations: 366.8 kB / 450.7 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005677/0.2289, allocations: 325.8 kB / 451.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/0.2297, allocations: 0.608 MB / 451.7 MB, free: 484 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/0.2308, allocations: 0.8383 MB / 452.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/0.2308, allocations: 8 kB / 452.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001581/0.2324, allocations: 1.002 MB / 453.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.843e-05/0.2324, allocations: 33.73 kB / 453.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.2325, allocations: 16 kB / 453.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.2325, allocations: 12 kB / 453.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.2328, allocations: 111.7 kB / 453.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.2328, allocations: 19.94 kB / 453.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003582/0.2332, allocations: 91.48 kB / 453.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-05/0.2333, allocations: 43.98 kB / 453.8 MB, free: 14.14 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.0004459/0.2337, allocations: 403.1 kB / 454.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006244/0.2343, allocations: 389.1 kB / 454.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.2345, allocations: 87.27 kB / 454.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.2345, allocations: 12 kB / 454.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2345, allocations: 4 kB / 454.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.2345, allocations: 3.984 kB / 454.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002221/0.2367, allocations: 1.667 MB / 456.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.2368, allocations: 7.984 kB / 456.4 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.2371, allocations: 91.69 kB / 456.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.2371, allocations: 8 kB / 456.5 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.727e-05/0.2371, allocations: 23.98 kB / 456.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.2372, allocations: 8 kB / 456.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2372, allocations: 3.938 kB / 456.5 MB, free: 11.38 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.2387, allocations: 1.135 MB / 457.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.2389, allocations: 148.5 kB / 457.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.2389, allocations: 35.98 kB / 457.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003576/0.2393, allocations: 35.97 kB / 457.9 MB, free: 9.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.2395, allocations: 91.83 kB / 458 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.2395, allocations: 31.98 kB / 458 MB, free: 9.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002404/0.2398, allocations: 251.2 kB / 458.2 MB, free: 9.617 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2398, allocations: 4 kB / 458.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006184/0.2404, allocations: 183.6 kB / 458.4 MB, free: 9.434 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1814:3-1814:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/0.2422, allocations: 1.396 MB / 459.8 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.2436, allocations: 0.8693 MB / 460.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2436, allocations: 0 / 460.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004666/0.2441, allocations: 264.2 kB / 460.9 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009498/0.245, allocations: 306.7 kB / 461.2 MB, free: 6.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.2475, allocations: 1.49 MB / 462.7 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.2481, allocations: 1.018 MB / 463.8 MB, free: 3.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002792/0.2484, allocations: 128.8 kB / 463.9 MB, free: 3.848 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.2487, allocations: 279.3 kB / 464.2 MB, free: 3.574 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2487, allocations: 0 / 464.2 MB, free: 3.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.285, allocations: 14.05 MB / 478.2 MB, free: 5.652 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.757/8.042, allocations: 3.25 kB / 478.2 MB, free: 5.652 MB / 382.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.087262392000412]