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.001612/0.001612, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00199/0.00199, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002487/0.002487, allocations: 60.06 kB / 307 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1294, allocations: 50.54 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005668/0.1351, allocations: 3.139 MB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.1378, allocations: 1.203 MB / 361.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005232/0.1384, allocations: 15.94 kB / 361.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004318/0.1389, allocations: 94.97 kB / 362 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.1393, allocations: 63.22 kB / 362.1 MB, free: 9.496 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1408, allocations: 398.7 kB / 362.5 MB, free: 9.109 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.142, allocations: 0.9367 MB / 363.4 MB, free: 8.168 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.1434, allocations: 0.94 MB / 364.4 MB, free: 7.191 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007311/0.1441, allocations: 402.6 kB / 364.8 MB, free: 6.797 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.1447, allocations: 430 kB / 365.2 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.145, allocations: 120 kB / 365.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.1453, allocations: 147.9 kB / 365.4 MB, free: 6.113 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000333/0.1456, allocations: 255.3 kB / 365.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00068/0.1463, allocations: 477.6 kB / 366.1 MB, free: 5.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.148, allocations: 1.313 MB / 367.5 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.148, allocations: 4 kB / 367.5 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.148, allocations: 0 / 367.5 MB, free: 4.074 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.025e-05/0.1481, allocations: 0 / 367.5 MB, free: 4.074 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.002714/0.1508, allocations: 1.185 MB / 368.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.1508, allocations: 8.031 kB / 368.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002405/0.1511, allocations: 152.1 kB / 368.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005335/0.1516, allocations: 127.8 kB / 368.9 MB, free: 2.531 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007763/0.1524, allocations: 0.542 MB / 369.5 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.1526, allocations: 130 kB / 369.6 MB, free: 1.812 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.1527, allocations: 96.38 kB / 369.7 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1779/0.3306, allocations: 1.722 MB / 371.4 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.697e-05/0.3307, allocations: 3.469 kB / 371.4 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002673/0.331, allocations: 34.77 kB / 371.5 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/0.331, allocations: 20.69 kB / 371.5 MB, free: 19.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.333, allocations: 0.7927 MB / 372.3 MB, free: 19.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003557/0.3366, allocations: 2.149 MB / 374.4 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.3385, allocations: 1.032 MB / 375.4 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007696/0.3392, allocations: 490.6 kB / 375.9 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.361e-05/0.3393, allocations: 22.8 kB / 376 MB, free: 18.28 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007093/0.34, allocations: 396 kB / 376.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 4.298e-06/0.34, allocations: 0 / 376.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002432/0.3425, allocations: 1.136 MB / 377.5 MB, free: 17.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.3426, allocations: 256.1 kB / 377.7 MB, free: 17.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.3432, allocations: 428.9 kB / 378.1 MB, free: 17.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.944e-05/0.3433, allocations: 63.48 kB / 378.2 MB, free: 17.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.3435, allocations: 286.1 kB / 378.5 MB, free: 16.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.3437, allocations: 158.9 kB / 378.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002911/0.344, allocations: 217.5 kB / 378.9 MB, free: 16.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3441, allocations: 370.7 kB / 379.2 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000642/0.3447, allocations: 316.2 kB / 379.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007415/0.3455, allocations: 0.6137 MB / 380.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.3466, allocations: 0.8356 MB / 381 MB, free: 15.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.3466, allocations: 8.719 kB / 381 MB, free: 15.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001743/0.3483, allocations: 0.997 MB / 382 MB, free: 14.77 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.3484, allocations: 35.97 kB / 382 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.3484, allocations: 10.48 kB / 382 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.23e-05/0.3485, allocations: 18.05 kB / 382 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.3488, allocations: 109.7 kB / 382.1 MB, free: 14.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.82e-05/0.3489, allocations: 25.45 kB / 382.2 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.3493, allocations: 81.8 kB / 382.3 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.3494, allocations: 42.67 kB / 382.3 MB, free: 14.66 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.0006218/0.35, allocations: 409.4 kB / 382.7 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007182/0.3508, allocations: 397.6 kB / 383.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.351, allocations: 83.64 kB / 383.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/0.351, allocations: 10.97 kB / 383.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-05/0.351, allocations: 2.312 kB / 383.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.351, allocations: 6.891 kB / 383.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002602/0.3537, allocations: 1.656 MB / 384.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.3537, allocations: 6.516 kB / 384.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003875/0.3541, allocations: 91.16 kB / 384.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/0.3541, allocations: 5.906 kB / 384.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.3542, allocations: 26.89 kB / 385 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.138e-06/0.3542, allocations: 9.156 kB / 385 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3542, allocations: 2.406 kB / 385 MB, free: 13.24 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.001764/0.356, allocations: 1.12 MB / 386.1 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.3561, allocations: 152.4 kB / 386.2 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.3562, allocations: 44.97 kB / 386.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003964/0.3566, allocations: 45.38 kB / 386.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.3569, allocations: 85.14 kB / 386.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.427e-05/0.3569, allocations: 27.62 kB / 386.4 MB, free: 12.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003344/0.3573, allocations: 256.6 kB / 386.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3573, allocations: 0 / 386.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001039/0.3583, allocations: 176.7 kB / 386.9 MB, free: 12.24 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.002116/0.3605, allocations: 1.408 MB / 388.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.3627, allocations: 0.998 MB / 389.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.3627, allocations: 0 / 389.3 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005423/0.3632, allocations: 280.6 kB / 389.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001213/0.3644, allocations: 301.2 kB / 389.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003504/0.368, allocations: 1.487 MB / 391.3 MB, free: 9.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007721/0.3688, allocations: 1.011 MB / 392.3 MB, free: 9.094 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004031/0.3692, allocations: 131.9 kB / 392.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.3696, allocations: 266 kB / 392.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of SimCode: time 2.194e-06/0.3696, allocations: 0 / 392.7 MB, free: 8.824 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.4049, allocations: 13.57 MB / 406.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.58/8.985, allocations: 11.48 kB / 406.3 MB, free: 13.27 MB / 318.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.0.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