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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009832/0.0009832, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009198/0.0009198, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9255/0.9255, allocations: 173.3 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.131e-05, allocations: 2.281 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003431/0.003452, allocations: 2.969 MB / 321.4 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001466/0.004918, allocations: 1.083 MB / 322.5 MB, free: 2.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.005109, allocations: 23.88 kB / 322.5 MB, free: 2.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.005307, allocations: 90.91 kB / 322.6 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.005419, allocations: 67.22 kB / 322.7 MB, free: 2.109 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006595/0.006079, allocations: 394 kB / 323 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000846/0.006925, allocations: 0.9561 MB / 324 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000584/0.007509, allocations: 0.5499 MB / 324.5 MB, free: 188 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005189/0.008028, allocations: 0.581 MB / 325.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003059/0.008333, allocations: 379 kB / 325.5 MB, free: 15.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.008435, allocations: 120 kB / 325.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.008597, allocations: 147.9 kB / 325.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.008776, allocations: 259.2 kB / 326 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.008971, allocations: 315.2 kB / 326.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009214/0.009893, allocations: 1.41 MB / 327.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.009897, allocations: 0 / 327.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.009899, allocations: 3.938 kB / 327.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.009909, allocations: 0 / 327.7 MB, free: 12.99 MB / 298.7 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.001337/0.01125, allocations: 1.123 MB / 328.9 MB, free: 11.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.01129, allocations: 8.922 kB / 328.9 MB, free: 11.81 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/0.01142, allocations: 156.2 kB / 329 MB, free: 11.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.01154, allocations: 108.3 kB / 329.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.0121, allocations: 0.4929 MB / 329.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.01222, allocations: 185.4 kB / 329.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.137e-05/0.01231, allocations: 96.38 kB / 329.9 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.01453, allocations: 1.765 MB / 331.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.01455, allocations: 192 / 331.7 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.015e-05/0.01461, allocations: 43.92 kB / 331.7 MB, free: 8.848 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.01463, allocations: 20 kB / 331.7 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.01564, allocations: 0.7855 MB / 332.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.01789, allocations: 1.856 MB / 334.4 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.01897, allocations: 0.9002 MB / 335.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004726/0.01945, allocations: 445.7 kB / 335.7 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-05/0.01951, allocations: 23.98 kB / 335.7 MB, free: 4.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000506/0.02002, allocations: 452.1 kB / 336.2 MB, free: 4.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 2.915e-06/0.02002, allocations: 0 / 336.2 MB, free: 4.203 MB / 298.7 MB Notification: Performance of matching and sorting (n=102): time 0.001515/0.02154, allocations: 1.143 MB / 337.3 MB, free: 3.062 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001299/0.02167, allocations: 249.5 kB / 337.5 MB, free: 2.77 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006381/0.0223, allocations: 437.2 kB / 338 MB, free: 2.336 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/0.02237, allocations: 61.69 kB / 338 MB, free: 2.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.02253, allocations: 281.9 kB / 338.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.285e-05/0.02262, allocations: 150.9 kB / 338.5 MB, free: 1.84 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.02277, allocations: 166.3 kB / 338.6 MB, free: 1.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.02287, allocations: 358.8 kB / 339 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.02318, allocations: 279.3 kB / 339.2 MB, free: 1.031 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.02352, allocations: 360.3 kB / 339.6 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.02402, allocations: 483.1 kB / 340.1 MB, free: 168 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.02403, allocations: 0 / 340.1 MB, free: 168 kB / 298.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007548/0.02478, allocations: 0.7023 MB / 340.8 MB, free: 15.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.02482, allocations: 33.7 kB / 340.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.02483, allocations: 0 / 340.8 MB, free: 15.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.02485, allocations: 7.984 kB / 340.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.02499, allocations: 55.84 kB / 340.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.025, allocations: 7.984 kB / 340.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.02515, allocations: 55.66 kB / 340.9 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.02519, allocations: 23.98 kB / 340.9 MB, free: 15.25 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 59 ($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,$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,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.changed.u,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.changed.u,$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 (70): * Single equations (assignments): 69 * 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.0003561/0.02554, allocations: 358.1 kB / 341.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/0.02597, allocations: 396.3 kB / 341.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004195/0.02639, allocations: 411.4 kB / 342.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.0264, allocations: 15.98 kB / 342.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.0264, allocations: 8 kB / 342.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.02641, allocations: 3.984 kB / 342.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.02786, allocations: 1.533 MB / 343.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.02787, allocations: 11.88 kB / 343.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.02806, allocations: 91.75 kB / 343.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.02806, allocations: 7.984 kB / 343.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.0281, allocations: 31.92 kB / 343.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.0281, allocations: 8 kB / 343.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.0281, allocations: 0 / 343.8 MB, free: 12.33 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979: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.001054/0.02916, allocations: 1.129 MB / 344.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.02949, allocations: 71.42 kB / 345 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.02956, allocations: 43.92 kB / 345 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.02976, allocations: 39.97 kB / 345.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.0299, allocations: 79.89 kB / 345.2 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.93e-05/0.02994, allocations: 39.97 kB / 345.2 MB, free: 10.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001704/0.03011, allocations: 251.2 kB / 345.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.03011, allocations: 0 / 345.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003973/0.03051, allocations: 175.4 kB / 345.6 MB, free: 10.48 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:337:7-337: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:347:7-347: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:351:7-351:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:202:5-202:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:113:7-113:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7979:5-7979:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1717:3-1717:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.001265/0.03177, allocations: 1.406 MB / 347 MB, free: 9.043 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008962/0.03267, allocations: 0.765 MB / 347.8 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.03267, allocations: 0 / 347.8 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.03297, allocations: 263.7 kB / 348 MB, free: 8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000722/0.03369, allocations: 298.9 kB / 348.3 MB, free: 7.711 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.03544, allocations: 1.464 MB / 349.8 MB, free: 6.199 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.03573, allocations: 416.9 kB / 350.2 MB, free: 5.77 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.03592, allocations: 116.3 kB / 350.3 MB, free: 5.656 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.03618, allocations: 268.4 kB / 350.6 MB, free: 5.395 MB / 314.7 MB Notification: Performance of SimCode: time 9.51e-07/0.03618, allocations: 0 / 350.6 MB, free: 5.395 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.06499, allocations: 14.49 MB / 365.1 MB, free: 7.074 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/7.294, allocations: 4 kB / 365.1 MB, free: 7.07 MB / 330.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_fmu --startTime=0 --stopTime=2 --stepSize=0.000384986 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,rotational_clock_1.angle,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_2.angle,rotational_clock_2.direction,rotational_clock_2.direction_changed,sample_conjunctive.y,sample_disjunctive.y Variables in the result:conjunctiveClock.S_false[1].k,conjunctiveClock.S_false[1].y,conjunctiveClock.S_false[2].k,conjunctiveClock.S_false[2].y,conjunctiveClock.clock.u,conjunctiveClock.clock.useSolver,conjunctiveClock.combinator.nu,conjunctiveClock.combinator.u[1],conjunctiveClock.combinator.u[2],conjunctiveClock.combinator.y,conjunctiveClock.forbidden_state[1].u1,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u1,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].Qini,conjunctiveClock.input_memory[1].R,conjunctiveClock.input_memory[1].S,conjunctiveClock.input_memory[1].nor.u1,conjunctiveClock.input_memory[1].nor.u2,conjunctiveClock.input_memory[1].nor.y,conjunctiveClock.input_memory[1].nor1.u1,conjunctiveClock.input_memory[1].nor1.u2,conjunctiveClock.input_memory[1].nor1.y,conjunctiveClock.input_memory[1].pre.pre_u_start,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].pre.y,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].Qini,conjunctiveClock.input_memory[2].R,conjunctiveClock.input_memory[2].S,conjunctiveClock.input_memory[2].nor.u1,conjunctiveClock.input_memory[2].nor.u2,conjunctiveClock.input_memory[2].nor.y,conjunctiveClock.input_memory[2].nor1.u1,conjunctiveClock.input_memory[2].nor1.u2,conjunctiveClock.input_memory[2].nor1.y,conjunctiveClock.input_memory[2].pre.pre_u_start,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].pre.y,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[1].input_hold.y,conjunctiveClock.input_ticked[1].input_hold.y_start,conjunctiveClock.input_ticked[1].input_sample.u,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_ticked.pre_u_start,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.y,conjunctiveClock.input_ticked[1].y,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.input_ticked[2].input_hold.y,conjunctiveClock.input_ticked[2].input_hold.y_start,conjunctiveClock.input_ticked[2].input_sample.u,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_ticked.pre_u_start,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.y,conjunctiveClock.input_ticked[2].y,conjunctiveClock.nu,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.reset_ticked.input_hold.y,conjunctiveClock.reset_ticked.input_hold.y_start,conjunctiveClock.reset_ticked.input_sample.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_ticked.pre_u_start,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.reset_ticked.input_ticked.y,conjunctiveClock.reset_ticked.y,conjunctiveClock.splitter.nout,conjunctiveClock.splitter.u,conjunctiveClock.splitter.y[1],conjunctiveClock.splitter.y[2],conjunctiveClock.suppress_S[1].u1,conjunctiveClock.suppress_S[1].u2,conjunctiveClock.suppress_S[1].u3,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].u1,conjunctiveClock.suppress_S[2].u2,conjunctiveClock.suppress_S[2].u3,conjunctiveClock.suppress_S[2].y,conjunctiveClock.useSolver,cosine_angle_input.amplitude,cosine_angle_input.f,cosine_angle_input.offset,cosine_angle_input.phase,cosine_angle_input.startTime,cosine_angle_input.y,disjunctiveClock.S_false[1].k,disjunctiveClock.S_false[1].y,disjunctiveClock.S_false[2].k,disjunctiveClock.S_false[2].y,disjunctiveClock.clock.u,disjunctiveClock.clock.useSolver,disjunctiveClock.combinator.nu,disjunctiveClock.combinator.u[1],disjunctiveClock.combinator.u[2],disjunctiveClock.combinator.y,disjunctiveClock.forbidden_state[1].u1,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u1,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].Qini,disjunctiveClock.input_memory[1].R,disjunctiveClock.input_memory[1].S,disjunctiveClock.input_memory[1].nor.u1,disjunctiveClock.input_memory[1].nor.u2,disjunctiveClock.input_memory[1].nor.y,disjunctiveClock.input_memory[1].nor1.u1,disjunctiveClock.input_memory[1].nor1.u2,disjunctiveClock.input_memory[1].nor1.y,disjunctiveClock.input_memory[1].pre.pre_u_start,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].pre.y,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].Qini,disjunctiveClock.input_memory[2].R,disjunctiveClock.input_memory[2].S,disjunctiveClock.input_memory[2].nor.u1,disjunctiveClock.input_memory[2].nor.u2,disjunctiveClock.input_memory[2].nor.y,disjunctiveClock.input_memory[2].nor1.u1,disjunctiveClock.input_memory[2].nor1.u2,disjunctiveClock.input_memory[2].nor1.y,disjunctiveClock.input_memory[2].pre.pre_u_start,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].pre.y,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_hold.y,disjunctiveClock.input_ticked[1].input_hold.y_start,disjunctiveClock.input_ticked[1].input_sample.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_ticked.pre_u_start,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.y,disjunctiveClock.input_ticked[1].y,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_hold.y,disjunctiveClock.input_ticked[2].input_hold.y_start,disjunctiveClock.input_ticked[2].input_sample.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_ticked.pre_u_start,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.y,disjunctiveClock.input_ticked[2].y,disjunctiveClock.nu,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_hold.y,disjunctiveClock.reset_ticked.input_hold.y_start,disjunctiveClock.reset_ticked.input_sample.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_ticked.pre_u_start,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.reset_ticked.input_ticked.y,disjunctiveClock.reset_ticked.y,disjunctiveClock.splitter.nout,disjunctiveClock.splitter.u,disjunctiveClock.splitter.y[1],disjunctiveClock.splitter.y[2],disjunctiveClock.suppress_S[1].u1,disjunctiveClock.suppress_S[1].u2,disjunctiveClock.suppress_S[1].u3,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].u1,disjunctiveClock.suppress_S[2].u2,disjunctiveClock.suppress_S[2].u3,disjunctiveClock.suppress_S[2].y,disjunctiveClock.useSolver,previous(rotational_clock_1.changed.u),previous(rotational_clock_2.changed.u),rotational_clock_1.abs1.generateEvent,rotational_clock_1.abs1.u,rotational_clock_1.abs1.y,rotational_clock_1.abs2.generateEvent,rotational_clock_1.abs2.u,rotational_clock_1.abs2.y,rotational_clock_1.angle,rotational_clock_1.angular_offset.u,rotational_clock_1.angular_offset.y,rotational_clock_1.angular_offset.y_start,rotational_clock_1.cast.u,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.direction_sign.generateEvent,rotational_clock_1.direction_sign.u,rotational_clock_1.direction_sign.y,rotational_clock_1.less.u1,rotational_clock_1.less.u2,rotational_clock_1.less.y,rotational_clock_1.sub.k1,rotational_clock_1.sub.k2,rotational_clock_1.sub.u1,rotational_clock_1.sub.u2,rotational_clock_1.sub.y,rotational_clock_1.trigger_interval,rotational_clock_1.update_direction.u,rotational_clock_1.update_direction.y,rotational_clock_1.update_offset.u,rotational_clock_1.update_offset.y,rotational_clock_1.useSolver,rotational_clock_1.y_clock.u,rotational_clock_1.y_clock.useSolver,rotational_clock_2.abs1.generateEvent,rotational_clock_2.abs1.u,rotational_clock_2.abs1.y,rotational_clock_2.abs2.generateEvent,rotational_clock_2.abs2.u,rotational_clock_2.abs2.y,rotational_clock_2.angle,rotational_clock_2.angular_offset.u,rotational_clock_2.angular_offset.y,rotational_clock_2.angular_offset.y_start,rotational_clock_2.cast.u,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.direction_sign.generateEvent,rotational_clock_2.direction_sign.u,rotational_clock_2.direction_sign.y,rotational_clock_2.less.u1,rotational_clock_2.less.u2,rotational_clock_2.less.y,rotational_clock_2.sub.k1,rotational_clock_2.sub.k2,rotational_clock_2.sub.u1,rotational_clock_2.sub.u2,rotational_clock_2.sub.y,rotational_clock_2.trigger_interval,rotational_clock_2.update_direction.u,rotational_clock_2.update_direction.y,rotational_clock_2.update_offset.u,rotational_clock_2.update_offset.y,rotational_clock_2.useSolver,rotational_clock_2.y_clock.u,rotational_clock_2.y_clock.useSolver,sample_conjunctive.u,sample_conjunctive.y,sample_disjunctive.u,sample_disjunctive.y,sine_angle_input.amplitude,sine_angle_input.f,sine_angle_input.offset,sine_angle_input.phase,sine_angle_input.startTime,sine_angle_input.y,time,trigger_interval_input.amplitude,trigger_interval_input.nperiod,trigger_interval_input.offset,trigger_interval_input.period,trigger_interval_input.startTime,trigger_interval_input.width,trigger_interval_input.y [Calling sys.exit(0), Time elapsed: 9.189166316762567]