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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001618/0.001618, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002279/0.002279, allocations: 207.8 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.54, allocations: 227.4 MB / 246.9 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002868/0.002868, allocations: 63.91 kB / 358.2 MB, free: 13.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3224, allocations: 50.54 MB / 408.7 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005178/0.3276, allocations: 3.138 MB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.3301, allocations: 1.207 MB / 413.1 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.3304, allocations: 15.94 kB / 413.1 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.3307, allocations: 90.92 kB / 413.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001536/0.3308, allocations: 63.27 kB / 413.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009769/0.3318, allocations: 399 kB / 413.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009708/0.3328, allocations: 0.9484 MB / 414.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.334, allocations: 0.9283 MB / 415.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000555/0.3346, allocations: 402.6 kB / 415.9 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004405/0.335, allocations: 434 kB / 416.3 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.3352, allocations: 120 kB / 416.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.3354, allocations: 139.9 kB / 416.6 MB, free: 9.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002518/0.3357, allocations: 259.3 kB / 416.8 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004699/0.3361, allocations: 477.6 kB / 417.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001486/0.3376, allocations: 1.373 MB / 418.7 MB, free: 7.543 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3376, allocations: 4 kB / 418.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3377, allocations: 3.938 kB / 418.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.3377, allocations: 0 / 418.7 MB, free: 7.535 MB / 334.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.002107/0.3398, allocations: 1.211 MB / 419.9 MB, free: 6.254 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3398, allocations: 8.031 kB / 419.9 MB, free: 6.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001871/0.34, allocations: 152.2 kB / 420.1 MB, free: 6.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004538/0.3405, allocations: 132.3 kB / 420.2 MB, free: 5.961 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/0.3414, allocations: 0.5502 MB / 420.7 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.3415, allocations: 138 kB / 420.9 MB, free: 5.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/0.3417, allocations: 100.3 kB / 421 MB, free: 5.129 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.3447, allocations: 1.721 MB / 422.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.3447, allocations: 0 / 422.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/0.3448, allocations: 36 kB / 422.7 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.3449, allocations: 20 kB / 422.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.3465, allocations: 0.7899 MB / 423.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.3499, allocations: 2.133 MB / 425.7 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.3517, allocations: 1.028 MB / 426.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008487/0.3526, allocations: 485.6 kB / 427.2 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.735e-05/0.3526, allocations: 31.95 kB / 427.2 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007101/0.3534, allocations: 387.3 kB / 427.6 MB, free: 14.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 2.815e-06/0.3534, allocations: 4 kB / 427.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002441/0.3558, allocations: 1.145 MB / 428.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001842/0.356, allocations: 241.6 kB / 429 MB, free: 12.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/0.3566, allocations: 433.3 kB / 429.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.3567, allocations: 69.67 kB / 429.5 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/0.357, allocations: 289.8 kB / 429.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.3571, allocations: 162.8 kB / 429.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/0.3574, allocations: 214.6 kB / 430.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.3577, allocations: 370.8 kB / 430.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/0.3583, allocations: 321.8 kB / 430.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008705/0.3592, allocations: 0.6197 MB / 431.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.3605, allocations: 0.8367 MB / 432.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.3605, allocations: 0 / 432.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001806/0.3623, allocations: 0.9938 MB / 433.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.3624, allocations: 38.5 kB / 433.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.3624, allocations: 8 kB / 433.3 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.3625, allocations: 20 kB / 433.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.3628, allocations: 107.7 kB / 433.4 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.621e-05/0.3629, allocations: 23.92 kB / 433.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.3633, allocations: 87.5 kB / 433.5 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.3634, allocations: 44.48 kB / 433.6 MB, free: 7.93 MB / 350.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.000631/0.364, allocations: 411.1 kB / 434 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007343/0.3648, allocations: 392 kB / 434.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.3649, allocations: 79.28 kB / 434.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.365, allocations: 16 kB / 434.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.365, allocations: 0 / 434.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.365, allocations: 11.97 kB / 434.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.3676, allocations: 1.655 MB / 436.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.3676, allocations: 8 kB / 436.1 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.368, allocations: 95.73 kB / 436.2 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.368, allocations: 8 kB / 436.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.3681, allocations: 19.98 kB / 436.2 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.3681, allocations: 8 kB / 436.2 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3681, allocations: 3.938 kB / 436.2 MB, free: 5.168 MB / 350.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:8011:5-8011: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.001776/0.3699, allocations: 1.128 MB / 437.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.37, allocations: 152.5 kB / 437.5 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.3702, allocations: 39.98 kB / 437.6 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.3705, allocations: 39.95 kB / 437.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002006/0.3707, allocations: 87.84 kB / 437.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/0.3708, allocations: 35.92 kB / 437.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002919/0.3711, allocations: 251.2 kB / 438 MB, free: 3.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3711, allocations: 0 / 438 MB, free: 3.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007948/0.3719, allocations: 183.6 kB / 438.1 MB, free: 3.223 MB / 350.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:8011:5-8011: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.002099/0.374, allocations: 1.412 MB / 439.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.3758, allocations: 0.9054 MB / 440.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.3758, allocations: 0 / 440.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000538/0.3764, allocations: 278.6 kB / 440.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3775, allocations: 305.1 kB / 441 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003122/0.3806, allocations: 1.502 MB / 442.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000776/0.3814, allocations: 1.01 MB / 443.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003591/0.3818, allocations: 128.8 kB / 443.7 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004245/0.3822, allocations: 271.3 kB / 443.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3822, allocations: 0 / 443.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04275/0.425, allocations: 13.89 MB / 457.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.445/9.87, allocations: 11.36 kB / 457.8 MB, free: 15.54 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches