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.002205/0.002205, allocations: 115.7 kB / 18.49 MB, free: 4.59 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.002135/0.002135, allocations: 194.5 kB / 21.43 MB, free: 1.66 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.526/1.526, allocations: 225.6 MB / 249.8 MB, free: 3.645 MB / 190.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.001597/0.001597, allocations: 47.92 kB / 366.3 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.116, allocations: 52.15 MB / 418.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005463/0.1215, allocations: 3.133 MB / 421.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.1242, allocations: 1.106 MB / 422.7 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004208/0.1246, allocations: 23.88 kB / 422.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003395/0.125, allocations: 94.91 kB / 422.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.1252, allocations: 63.28 kB / 422.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001228/0.1264, allocations: 375.4 kB / 423.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.1276, allocations: 0.9523 MB / 424.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.1287, allocations: 0.6902 MB / 424.9 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006523/0.1294, allocations: 410.6 kB / 425.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004999/0.1299, allocations: 438 kB / 425.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001577/0.13, allocations: 116 kB / 425.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002573/0.1303, allocations: 140 kB / 426 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.1305, allocations: 255.3 kB / 426.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005184/0.1311, allocations: 473.6 kB / 426.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001681/0.1327, allocations: 1.366 MB / 428.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1328, allocations: 4 kB / 428.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.1328, allocations: 0 / 428.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.1328, allocations: 3.938 kB / 428.1 MB, free: 2.98 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.002331/0.1351, allocations: 1.199 MB / 429.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1352, allocations: 8.031 kB / 429.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.456e-05/0.1352, allocations: 26.19 kB / 429.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001951/0.1354, allocations: 160.2 kB / 429.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.1356, allocations: 108.3 kB / 429.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000864/0.1365, allocations: 0.5462 MB / 430.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.1366, allocations: 137.9 kB / 430.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001505/0.1368, allocations: 100.1 kB / 430.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003062/0.1398, allocations: 1.71 MB / 432 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.1398, allocations: 0 / 432 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-05/0.1399, allocations: 43.97 kB / 432.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.14, allocations: 20 kB / 432.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.1416, allocations: 0.786 MB / 432.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00368/0.1452, allocations: 2.125 MB / 435 MB, free: 11.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/0.1472, allocations: 0.9847 MB / 436 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008245/0.148, allocations: 453.7 kB / 436.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.709e-05/0.1481, allocations: 28.11 kB / 436.5 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000745/0.1488, allocations: 391.2 kB / 436.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 3.096e-06/0.1488, allocations: 3.938 kB / 436.9 MB, free: 9.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.00259/0.1514, allocations: 1.154 MB / 438 MB, free: 8.645 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002154/0.1516, allocations: 245.6 kB / 438.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005719/0.1522, allocations: 421.3 kB / 438.7 MB, free: 7.934 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.1523, allocations: 69.62 kB / 438.7 MB, free: 7.859 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.1526, allocations: 285.8 kB / 439 MB, free: 7.574 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.1528, allocations: 162.9 kB / 439.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.1531, allocations: 218.6 kB / 439.4 MB, free: 7.195 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.1533, allocations: 370.8 kB / 439.7 MB, free: 6.824 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/0.154, allocations: 321.8 kB / 440.1 MB, free: 6.512 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009094/0.1549, allocations: 0.6158 MB / 440.7 MB, free: 5.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/0.1562, allocations: 0.8499 MB / 441.5 MB, free: 4.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.1563, allocations: 0 / 441.5 MB, free: 4.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002086/0.1583, allocations: 0.995 MB / 442.5 MB, free: 3.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.398e-05/0.1584, allocations: 37.7 kB / 442.6 MB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.1584, allocations: 8 kB / 442.6 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.1584, allocations: 16.69 kB / 442.6 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003942/0.1588, allocations: 111.7 kB / 442.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.762e-05/0.1589, allocations: 23.92 kB / 442.7 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004202/0.1593, allocations: 91.92 kB / 442.8 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.853e-05/0.1594, allocations: 40 kB / 442.8 MB, free: 3.445 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.0007118/0.1601, allocations: 423 kB / 443.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007536/0.1608, allocations: 394.9 kB / 443.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000784/0.1616, allocations: 418.9 kB / 444.1 MB, free: 2.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.1616, allocations: 8 kB / 444.1 MB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.1616, allocations: 8 kB / 444.1 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.1617, allocations: 7.969 kB / 444.1 MB, free: 2.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.1643, allocations: 1.658 MB / 445.7 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.1643, allocations: 8 kB / 445.7 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.1647, allocations: 95.8 kB / 445.8 MB, free: 376 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.071e-05/0.1647, allocations: 4 kB / 445.8 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.762e-05/0.1648, allocations: 23.98 kB / 445.9 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.448e-06/0.1648, allocations: 7.938 kB / 445.9 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.1648, allocations: 3.938 kB / 445.9 MB, free: 336 kB / 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.2342/0.399, allocations: 1.14 MB / 447 MB, free: 29.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.3992, allocations: 146.6 kB / 447.2 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.3993, allocations: 35.78 kB / 447.2 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.3997, allocations: 40.55 kB / 447.2 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.3999, allocations: 88.84 kB / 447.3 MB, free: 29.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-05/0.3999, allocations: 33.77 kB / 447.4 MB, free: 29.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002612/0.4002, allocations: 250.1 kB / 447.6 MB, free: 29.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4002, allocations: 0 / 447.6 MB, free: 29.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008093/0.401, allocations: 193.5 kB / 447.8 MB, free: 29.66 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.001974/0.403, allocations: 1.406 MB / 449.2 MB, free: 29.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.4046, allocations: 0.8866 MB / 450.1 MB, free: 29.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4046, allocations: 0 / 450.1 MB, free: 29.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004561/0.405, allocations: 263.7 kB / 450.3 MB, free: 29.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4062, allocations: 292.8 kB / 450.6 MB, free: 29.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.4091, allocations: 1.488 MB / 452.1 MB, free: 28.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.4097, allocations: 1.012 MB / 453.1 MB, free: 27.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003616/0.4101, allocations: 130.7 kB / 453.3 MB, free: 27.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/0.4105, allocations: 271.2 kB / 453.5 MB, free: 27.79 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4105, allocations: 5.594 kB / 453.5 MB, free: 27.79 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/0.4536, allocations: 14.12 MB / 467.6 MB, free: 23.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.858/9.311, allocations: 6.891 kB / 467.6 MB, free: 23.81 MB / 366.1 MB " [Timeout remaining time 651] (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: 11.84083230001852] 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'] 9.43965474003926 9.4487724 9.313986993 Calling exit ...