Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008148/0.0008148, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008487/0.0008487, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9049/0.9049, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 324.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.42e-05, allocations: 2.984 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003671/0.003695, allocations: 3.02 MB / 327.5 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.005439, allocations: 1.172 MB / 328.7 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002551/0.005694, allocations: 19.88 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002114/0.005905, allocations: 94.97 kB / 328.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.006034, allocations: 67.16 kB / 328.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008065/0.00684, allocations: 399 kB / 329.3 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.007531, allocations: 0.9677 MB / 330.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006174/0.008149, allocations: 0.546 MB / 330.8 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006078/0.008757, allocations: 0.5926 MB / 331.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.009108, allocations: 371 kB / 331.7 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001007/0.009209, allocations: 120 kB / 331.9 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.009354, allocations: 151.8 kB / 332 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.009515, allocations: 263.2 kB / 332.3 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.009731, allocations: 307.2 kB / 332.6 MB, free: 7.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008708/0.0106, allocations: 1.421 MB / 334 MB, free: 6.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.01061, allocations: 0 / 334 MB, free: 6.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01061, allocations: 4 kB / 334 MB, free: 6.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.759e-06/0.01062, allocations: 0 / 334 MB, free: 6.367 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.00125/0.01187, allocations: 1.128 MB / 335.1 MB, free: 5.188 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.01191, allocations: 15.98 kB / 335.1 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.01202, allocations: 148.2 kB / 335.3 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/0.01228, allocations: 128.2 kB / 335.4 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005366/0.01282, allocations: 0.4891 MB / 335.9 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/0.01303, allocations: 189.4 kB / 336.1 MB, free: 4.168 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.665e-05/0.01311, allocations: 96.38 kB / 336.2 MB, free: 4.074 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.01482, allocations: 1.784 MB / 337.9 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.01484, allocations: 192 / 337.9 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.01489, allocations: 43.94 kB / 338 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.0149, allocations: 20 kB / 338 MB, free: 2.156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008857/0.01579, allocations: 0.7894 MB / 338.8 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.01783, allocations: 1.848 MB / 340.6 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009763/0.01881, allocations: 0.9037 MB / 341.6 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004417/0.01925, allocations: 448.8 kB / 342 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.01929, allocations: 19.92 kB / 342 MB, free: 14.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004282/0.01971, allocations: 448.1 kB / 342.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=102): time 2.535e-06/0.01972, allocations: 0 / 342.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=102): time 0.001293/0.02101, allocations: 1.141 MB / 343.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.02112, allocations: 241.6 kB / 343.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002839/0.0214, allocations: 437.2 kB / 344.3 MB, free: 11.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.462e-05/0.02145, allocations: 65.69 kB / 344.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.0216, allocations: 289.9 kB / 344.6 MB, free: 11.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.888e-05/0.02168, allocations: 142.9 kB / 344.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.02181, allocations: 162.3 kB / 344.9 MB, free: 11.01 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.02191, allocations: 370.7 kB / 345.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.0222, allocations: 278.8 kB / 345.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.02252, allocations: 352.3 kB / 345.9 MB, free: 9.992 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.02299, allocations: 478.2 kB / 346.3 MB, free: 9.504 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.02299, allocations: 0 / 346.3 MB, free: 9.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009077/0.0239, allocations: 0.6864 MB / 347 MB, free: 8.801 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.02393, allocations: 41.69 kB / 347.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.02394, allocations: 0 / 347.1 MB, free: 8.754 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.02395, allocations: 4 kB / 347.1 MB, free: 8.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.02408, allocations: 63.89 kB / 347.1 MB, free: 8.688 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.02409, allocations: 11.88 kB / 347.1 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.02422, allocations: 55.7 kB / 347.2 MB, free: 8.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.02424, allocations: 16.05 kB / 347.2 MB, free: 8.605 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.0002834/0.02453, allocations: 358.6 kB / 347.6 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.02491, allocations: 403.9 kB / 348 MB, free: 7.84 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.238e-05/0.02501, allocations: 79.22 kB / 348 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.02501, allocations: 12 kB / 348 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.02502, allocations: 4 kB / 348.1 MB, free: 7.746 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.02503, allocations: 3.984 kB / 348.1 MB, free: 7.742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.02636, allocations: 1.524 MB / 349.6 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.02636, allocations: 4 kB / 349.6 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.02654, allocations: 95.73 kB / 349.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.02654, allocations: 8 kB / 349.7 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.92e-05/0.02657, allocations: 23.92 kB / 349.7 MB, free: 6.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.02658, allocations: 12.12 kB / 349.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.02658, allocations: 3.984 kB / 349.7 MB, free: 6.02 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.0009641/0.02754, allocations: 1.124 MB / 350.8 MB, free: 4.875 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.0276, allocations: 75.42 kB / 350.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.141e-05/0.02766, allocations: 39.92 kB / 351 MB, free: 4.762 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.02785, allocations: 35.97 kB / 351 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.02797, allocations: 87.88 kB / 351.1 MB, free: 4.641 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.028, allocations: 31.98 kB / 351.1 MB, free: 4.609 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001578/0.02816, allocations: 255.2 kB / 351.4 MB, free: 4.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02816, allocations: 0 / 351.4 MB, free: 4.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003477/0.02851, allocations: 171.5 kB / 351.5 MB, free: 4.191 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.001121/0.02963, allocations: 1.396 MB / 352.9 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007895/0.03042, allocations: 0.768 MB / 353.7 MB, free: 1.969 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.03042, allocations: 0 / 353.7 MB, free: 1.969 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005262/0.03095, allocations: 282.4 kB / 354 MB, free: 1.695 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006567/0.0316, allocations: 277.2 kB / 354.2 MB, free: 1.426 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.03321, allocations: 1.464 MB / 355.7 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.03348, allocations: 420.8 kB / 356.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.03365, allocations: 120.3 kB / 356.2 MB, free: 15.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002551/0.0339, allocations: 264.4 kB / 356.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of SimCode: time 9.91e-07/0.0339, allocations: 0 / 356.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.0608, allocations: 14.36 MB / 370.9 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/7.289, allocations: 2.969 kB / 370.9 MB, free: 0.8711 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_fmu --startTime=0 --stopTime=2 --stepSize=0.000384986 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.continuous,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.continuous,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.084613854065537]