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.001606/0.001606, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001915/0.001915, allocations: 210.9 kB / 24.52 MB, free: 3.941 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.513/1.513, allocations: 230.5 MB / 258.2 MB, free: 7.809 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.002478/0.002478, allocations: 59.91 kB / 378.5 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3943, allocations: 53.4 MB / 431.9 MB, free: 6.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005594/0.3999, allocations: 2.997 MB / 434.9 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.4025, allocations: 1.169 MB / 436.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002856/0.4028, allocations: 19.88 kB / 436.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003011/0.4031, allocations: 98.91 kB / 436.2 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.4033, allocations: 67.22 kB / 436.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.4043, allocations: 407.3 kB / 436.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001002/0.4053, allocations: 0.9446 MB / 437.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008589/0.4062, allocations: 0.5443 MB / 438.1 MB, free: 220 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005524/0.4067, allocations: 422.6 kB / 438.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004754/0.4072, allocations: 434 kB / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.4074, allocations: 123.9 kB / 439.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.4076, allocations: 136 kB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.4078, allocations: 267.2 kB / 439.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004529/0.4083, allocations: 374.2 kB / 439.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.4099, allocations: 1.385 MB / 441.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.4099, allocations: 0 / 441.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4099, allocations: 0 / 441.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.4099, allocations: 0 / 441.2 MB, free: 13.1 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.002077/0.412, allocations: 1.136 MB / 442.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.412, allocations: 12.03 kB / 442.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.787e-05/0.4121, allocations: 30.19 kB / 442.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.4122, allocations: 152.2 kB / 442.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004523/0.4127, allocations: 124.3 kB / 442.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008465/0.4135, allocations: 0.4937 MB / 443.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.4137, allocations: 189.4 kB / 443.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.4139, allocations: 100.1 kB / 443.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/0.417, allocations: 1.772 MB / 445.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/0.417, allocations: 0 / 445.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.542e-05/0.4171, allocations: 40 kB / 445.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.4172, allocations: 20 kB / 445.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.4188, allocations: 0.7894 MB / 446.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003335/0.4221, allocations: 1.864 MB / 447.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.4239, allocations: 0.8959 MB / 448.8 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008163/0.4247, allocations: 453.6 kB / 449.3 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.98e-05/0.4248, allocations: 12 kB / 449.3 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008049/0.4256, allocations: 450.7 kB / 449.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.396e-06/0.4256, allocations: 0 / 449.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002452/0.4281, allocations: 1.148 MB / 450.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000208/0.4283, allocations: 241.6 kB / 451.1 MB, free: 2.812 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005971/0.4289, allocations: 441.3 kB / 451.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-05/0.429, allocations: 61.69 kB / 451.6 MB, free: 2.309 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.4292, allocations: 286 kB / 451.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.4294, allocations: 158.9 kB / 452 MB, free: 1.867 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003106/0.4297, allocations: 222.6 kB / 452.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.4299, allocations: 374.7 kB / 452.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.4306, allocations: 347.5 kB / 453 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009049/0.4315, allocations: 0.637 MB / 453.6 MB, free: 152 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.4327, allocations: 0.8412 MB / 454.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.4328, allocations: 0 / 454.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001776/0.4345, allocations: 1.027 MB / 455.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.736e-05/0.4346, allocations: 33.7 kB / 455.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.4346, allocations: 16.48 kB / 455.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.4346, allocations: 12 kB / 455.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.435, allocations: 104.2 kB / 455.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.179e-05/0.435, allocations: 23.94 kB / 455.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/0.4354, allocations: 95.48 kB / 455.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.839e-05/0.4355, allocations: 43.98 kB / 455.8 MB, free: 13.8 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.0006384/0.4361, allocations: 411.1 kB / 456.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007081/0.4368, allocations: 399.6 kB / 456.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.437, allocations: 79.22 kB / 456.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.437, allocations: 12 kB / 456.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.4371, allocations: 4 kB / 456.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.4371, allocations: 3.984 kB / 456.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.4395, allocations: 1.529 MB / 458.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.4395, allocations: 0 / 458.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003927/0.4399, allocations: 99.73 kB / 458.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/0.4399, allocations: 4 kB / 458.3 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/0.44, allocations: 23.98 kB / 458.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/0.44, allocations: 11.88 kB / 458.3 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.44, allocations: 0 / 458.3 MB, free: 11.17 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8019:5-8019:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module detectJacobianSparsePattern failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.4418, allocations: 1.129 MB / 459.5 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.4419, allocations: 79.41 kB / 459.5 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.442, allocations: 39.92 kB / 459.6 MB, free: 9.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.4424, allocations: 39.97 kB / 459.6 MB, free: 9.855 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.4426, allocations: 87.81 kB / 459.7 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.4427, allocations: 35.98 kB / 459.7 MB, free: 9.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000298/0.4429, allocations: 255.2 kB / 460 MB, free: 9.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4429, allocations: 0 / 460 MB, free: 9.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007629/0.4437, allocations: 183.6 kB / 460.2 MB, free: 9.301 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8019:5-8019:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1821:3-1821:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.002008/0.4457, allocations: 1.398 MB / 461.6 MB, free: 7.871 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.4474, allocations: 0.9063 MB / 462.5 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4474, allocations: 0.75 kB / 462.5 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.448, allocations: 267.7 kB / 462.7 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.449, allocations: 303.3 kB / 463 MB, free: 6.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.4519, allocations: 1.498 MB / 464.5 MB, free: 4.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.4523, allocations: 420.9 kB / 464.9 MB, free: 4.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.4526, allocations: 128.8 kB / 465.1 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.4531, allocations: 275.3 kB / 465.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4531, allocations: 0 / 465.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04266/0.4957, allocations: 14.59 MB / 479.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.3, allocations: 15.22 kB / 480 MB, free: 5.57 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.934968201909214] Failed to read output from testmodel.py, exit status != 0: ['time', 'rotational_clock_1.angle', 'rotational_clock_1.direction', 'rotational_clock_1.direction_changed', 'rotational_clock_2.angle', 'rotational_clock_2.direction', 'rotational_clock_2.direction_changed', 'sample_conjunctive.y', 'sample_disjunctive.y'] 12.472851247992367 12.500432987 12.085452523 Calling exit ...