Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 105.8 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 50.14 kB / 300.7 MB, free: 5.762 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1362, allocations: 49.44 MB / 350.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.007162/0.1434, allocations: 3.109 MB / 353.3 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003838/0.1473, allocations: 1.126 MB / 354.4 MB, free: 36 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000801/0.1481, allocations: 15.94 kB / 354.4 MB, free: 20 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004555/0.1487, allocations: 83.09 kB / 354.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002677/0.149, allocations: 71.22 kB / 354.6 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.1505, allocations: 365.6 kB / 354.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001199/0.1518, allocations: 0.9404 MB / 355.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001385/0.1532, allocations: 0.9322 MB / 356.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006918/0.1539, allocations: 394.6 kB / 357.2 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005866/0.1545, allocations: 437.9 kB / 357.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.1547, allocations: 120 kB / 357.7 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.1549, allocations: 136 kB / 357.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.1552, allocations: 255.3 kB / 358.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.1559, allocations: 477.6 kB / 358.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001893/0.1578, allocations: 1.305 MB / 359.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.208e-05/0.1578, allocations: 0 / 359.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.437e-06/0.1578, allocations: 0 / 359.9 MB, free: 10.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.1579, allocations: 0 / 359.9 MB, free: 10.51 MB / 302.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.002722/0.1606, allocations: 1.185 MB / 361.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.645e-05/0.1607, allocations: 12.03 kB / 361.1 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002127/0.1609, allocations: 152.2 kB / 361.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.1612, allocations: 107.7 kB / 361.3 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008558/0.162, allocations: 0.5343 MB / 361.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.1622, allocations: 130 kB / 362 MB, free: 8.27 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.1624, allocations: 96.38 kB / 362.1 MB, free: 8.176 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/0.1659, allocations: 1.725 MB / 363.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/0.166, allocations: 3.984 kB / 363.8 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-05/0.1662, allocations: 40 kB / 363.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.43e-05/0.1662, allocations: 20 kB / 363.9 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.168, allocations: 0.7821 MB / 364.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.1715, allocations: 2.144 MB / 366.8 MB, free: 3.332 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.1733, allocations: 1.031 MB / 367.8 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008073/0.1741, allocations: 484.9 kB / 368.3 MB, free: 1.727 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.131e-05/0.1742, allocations: 28.05 kB / 368.3 MB, free: 1.699 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006996/0.1749, allocations: 395.2 kB / 368.7 MB, free: 1.293 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 3.356e-06/0.1749, allocations: 0 / 368.7 MB, free: 1.293 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.00235/0.1773, allocations: 1.146 MB / 369.9 MB, free: 148 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1867/0.364, allocations: 242.6 kB / 370.1 MB, free: 25.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000734/0.3648, allocations: 426.2 kB / 370.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/0.365, allocations: 59.48 kB / 370.6 MB, free: 25.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.3653, allocations: 285.7 kB / 370.9 MB, free: 25.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/0.3655, allocations: 164.3 kB / 371 MB, free: 25.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003524/0.3658, allocations: 220 kB / 371.2 MB, free: 25.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.366, allocations: 369.9 kB / 371.6 MB, free: 25.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007035/0.3667, allocations: 319.5 kB / 371.9 MB, free: 25.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008178/0.3675, allocations: 0.6168 MB / 372.5 MB, free: 24.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.3687, allocations: 0.8501 MB / 373.4 MB, free: 24.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.016e-05/0.3687, allocations: 2.969 kB / 373.4 MB, free: 24.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001855/0.3706, allocations: 0.9913 MB / 374.4 MB, free: 23.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.3706, allocations: 36.22 kB / 374.4 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/0.3707, allocations: 9.625 kB / 374.4 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.985e-05/0.3707, allocations: 20 kB / 374.4 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/0.3711, allocations: 105.6 kB / 374.5 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.401e-05/0.3711, allocations: 20.33 kB / 374.5 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.3715, allocations: 90.38 kB / 374.6 MB, free: 23.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.757e-05/0.3716, allocations: 38.8 kB / 374.7 MB, free: 23.57 MB / 302.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.0005835/0.3722, allocations: 414.7 kB / 375.1 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006869/0.3729, allocations: 398.3 kB / 375.5 MB, free: 23.15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006711/0.3736, allocations: 407.6 kB / 375.9 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.3736, allocations: 14.94 kB / 375.9 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.3736, allocations: 2.75 kB / 375.9 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.3736, allocations: 6.203 kB / 375.9 MB, free: 22.96 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/0.3759, allocations: 1.662 MB / 377.6 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.376, allocations: 2.859 kB / 377.6 MB, free: 22.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.3763, allocations: 96.33 kB / 377.6 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/0.3763, allocations: 6.266 kB / 377.7 MB, free: 22.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.014e-05/0.3764, allocations: 25.89 kB / 377.7 MB, free: 22.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.3764, allocations: 14.19 kB / 377.7 MB, free: 22.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3764, allocations: 4.625 kB / 377.7 MB, free: 22.03 MB / 302.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:7956:5-7956: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.001695/0.3781, allocations: 1.129 MB / 378.8 MB, free: 21.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.3782, allocations: 152 kB / 379 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.3784, allocations: 37.09 kB / 379 MB, free: 21.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.3787, allocations: 43.45 kB / 379.1 MB, free: 21.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.3789, allocations: 87.44 kB / 379.1 MB, free: 21.21 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.379, allocations: 32.62 kB / 379.2 MB, free: 21.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002895/0.3793, allocations: 250 kB / 379.4 MB, free: 21.07 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3793, allocations: 0 / 379.4 MB, free: 21.07 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000931/0.3802, allocations: 188.3 kB / 379.6 MB, free: 21.02 MB / 302.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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1813:3-1813:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.002161/0.3824, allocations: 1.414 MB / 381 MB, free: 20.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003035/0.3855, allocations: 1.007 MB / 382 MB, free: 19.83 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.3855, allocations: 0 / 382 MB, free: 19.83 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006664/0.3862, allocations: 283.6 kB / 382.3 MB, free: 19.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001201/0.3874, allocations: 299.6 kB / 382.6 MB, free: 19.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00414/0.3915, allocations: 1.474 MB / 384.1 MB, free: 18.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.3928, allocations: 1.012 MB / 385.1 MB, free: 18.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005307/0.3933, allocations: 133.9 kB / 385.2 MB, free: 18.1 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005855/0.3939, allocations: 269.3 kB / 385.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of SimCode: time 1.663e-06/0.3939, allocations: 1.031 kB / 385.5 MB, free: 17.9 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.4314, allocations: 13.69 MB / 399.2 MB, free: 8.562 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.39/8.822, allocations: 8.562 kB / 399.2 MB, free: 8.559 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches