Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.002114/0.002114, allocations: 117 kB / 18.49 MB, free: 4.566 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.002475/0.002475, allocations: 216.7 kB / 21.46 MB, free: 1.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.614/1.614, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 59.91 kB / 373.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.164, allocations: 53.37 MB / 427 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.007655/0.1717, allocations: 3.157 MB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003556/0.1753, allocations: 1.219 MB / 431.4 MB, free: 232 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.1759, allocations: 23.81 kB / 431.4 MB, free: 208 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004966/0.1764, allocations: 90.97 kB / 431.5 MB, free: 116 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005203/0.1769, allocations: 67.22 kB / 431.6 MB, free: 48 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.349/0.5259, allocations: 383.5 kB / 432 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001557/0.5275, allocations: 0.9445 MB / 432.9 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.5287, allocations: 0.6955 MB / 433.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00086/0.5295, allocations: 416.6 kB / 434 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006649/0.5302, allocations: 435.6 kB / 434.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.5305, allocations: 123.8 kB / 434.6 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.5308, allocations: 141.1 kB / 434.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.5311, allocations: 263.3 kB / 435 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005543/0.5316, allocations: 472.7 kB / 435.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002283/0.5339, allocations: 1.373 MB / 436.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.5339, allocations: 0 / 436.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.5339, allocations: 0 / 436.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.975e-05/0.534, allocations: 0 / 436.8 MB, free: 6.672 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.002706/0.5367, allocations: 1.213 MB / 438 MB, free: 5.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.5368, allocations: 10.09 kB / 438 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.614e-05/0.5368, allocations: 25.5 kB / 438 MB, free: 5.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002079/0.537, allocations: 157.2 kB / 438.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005861/0.5376, allocations: 128.2 kB / 438.3 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009924/0.5386, allocations: 0.55 MB / 438.9 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.5387, allocations: 132.2 kB / 439 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.5389, allocations: 99.25 kB / 439.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003801/0.5427, allocations: 1.721 MB / 440.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/0.5427, allocations: 4.594 kB / 440.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.5429, allocations: 37.67 kB / 440.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/0.5429, allocations: 23.09 kB / 440.9 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.5451, allocations: 0.7816 MB / 441.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004416/0.5495, allocations: 2.135 MB / 443.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.5517, allocations: 0.9751 MB / 444.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009465/0.5526, allocations: 457.1 kB / 445.2 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.5527, allocations: 27.91 kB / 445.3 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008184/0.5535, allocations: 395.4 kB / 445.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 4.458e-06/0.5535, allocations: 0 / 445.6 MB, free: 2.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002739/0.5563, allocations: 1.145 MB / 446.8 MB, free: 1.742 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001397/0.5564, allocations: 248.1 kB / 447 MB, free: 1.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006806/0.5571, allocations: 432.2 kB / 447.4 MB, free: 1.246 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001226/0.5572, allocations: 63.48 kB / 447.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002223/0.5574, allocations: 289.5 kB / 447.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.5576, allocations: 160.5 kB / 447.9 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003772/0.558, allocations: 221.8 kB / 448.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5581, allocations: 370.3 kB / 448.5 MB, free: 444 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000684/0.5588, allocations: 321.1 kB / 448.8 MB, free: 340 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008883/0.5597, allocations: 0.6076 MB / 449.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/0.5613, allocations: 0.8466 MB / 450.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.5613, allocations: 3.25 kB / 450.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002234/0.5635, allocations: 0.9904 MB / 451.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.159e-05/0.5636, allocations: 36.19 kB / 451.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.208e-05/0.5636, allocations: 10.22 kB / 451.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-05/0.5636, allocations: 14.66 kB / 451.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.5641, allocations: 110.3 kB / 451.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.447e-05/0.5641, allocations: 20.11 kB / 451.5 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005567/0.5647, allocations: 94.19 kB / 451.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/0.5647, allocations: 44.19 kB / 451.6 MB, free: 14.81 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.0008716/0.5656, allocations: 405.6 kB / 452 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008705/0.5665, allocations: 397.9 kB / 452.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.5667, allocations: 80.83 kB / 452.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.5668, allocations: 14.94 kB / 452.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/0.5668, allocations: 3.875 kB / 452.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.561e-05/0.5668, allocations: 5.547 kB / 452.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.57, allocations: 1.664 MB / 454.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.57, allocations: 2.062 kB / 454.2 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004674/0.5705, allocations: 94.3 kB / 454.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.548e-05/0.5705, allocations: 6.562 kB / 454.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.804e-05/0.5706, allocations: 26.95 kB / 454.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.5706, allocations: 4.844 kB / 454.3 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.288e-06/0.5706, allocations: 6.438 kB / 454.3 MB, free: 13.42 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.002286/0.5729, allocations: 1.126 MB / 455.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.5731, allocations: 151.7 kB / 455.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.5732, allocations: 36.25 kB / 455.6 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.5737, allocations: 37.14 kB / 455.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002622/0.5739, allocations: 93.28 kB / 455.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.459e-05/0.574, allocations: 32.19 kB / 455.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004454/0.5744, allocations: 252 kB / 456 MB, free: 12.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5744, allocations: 0.75 kB / 456 MB, free: 12.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001161/0.5756, allocations: 184.2 kB / 456.2 MB, free: 12.42 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.002599/0.5782, allocations: 1.4 MB / 457.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00243/0.5806, allocations: 0.8807 MB / 458.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.16e-05/0.5806, allocations: 4.25 kB / 458.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006754/0.5813, allocations: 262.5 kB / 458.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.5828, allocations: 294 kB / 459 MB, free: 10.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.5868, allocations: 1.497 MB / 460.5 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.5879, allocations: 1.02 MB / 461.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000505/0.5884, allocations: 128.9 kB / 461.7 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005738/0.5889, allocations: 270.7 kB / 461.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.264e-06/0.5889, allocations: 0 / 461.9 MB, free: 8.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04652/0.6355, allocations: 14 MB / 475.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.429/10.06, allocations: 6.875 kB / 475.9 MB, free: 14.31 MB / 382.1 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_fmu --startTime=0 --stopTime=2 --stepSize=0.000384986 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.854270518000703] 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'] 10.207791963999625 10.236195507 9.69663953 Calling exit ...