Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009042/0.0009042, allocations: 79.69 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8679/0.8679, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 324.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.125e-05, allocations: 12.75 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004546/0.004567, allocations: 3.015 MB / 327.6 MB, free: 12.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.006047, allocations: 1.18 MB / 328.8 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001956/0.006243, allocations: 19.88 kB / 328.8 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001915/0.006434, allocations: 90.91 kB / 328.9 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.00655, allocations: 71.22 kB / 328.9 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006975/0.007247, allocations: 407.8 kB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006266/0.007874, allocations: 0.9565 MB / 330.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005731/0.008447, allocations: 0.5538 MB / 330.8 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005249/0.008972, allocations: 0.5926 MB / 331.4 MB, free: 9.016 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002964/0.009268, allocations: 375 kB / 331.8 MB, free: 8.648 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.891e-05/0.009367, allocations: 120 kB / 331.9 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.009503, allocations: 143.9 kB / 332.1 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.009649, allocations: 259.2 kB / 332.3 MB, free: 8.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.009849, allocations: 319.1 kB / 332.6 MB, free: 7.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008778/0.01073, allocations: 1.422 MB / 334 MB, free: 6.398 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01073, allocations: 3.938 kB / 334 MB, free: 6.395 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01073, allocations: 0 / 334 MB, free: 6.395 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.968e-05/0.01075, allocations: 0 / 334 MB, free: 6.395 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.001376/0.01213, allocations: 1.127 MB / 335.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.01217, allocations: 12.03 kB / 335.2 MB, free: 5.207 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001214/0.01229, allocations: 152.2 kB / 335.3 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.01257, allocations: 132.2 kB / 335.5 MB, free: 4.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005452/0.01312, allocations: 0.489 MB / 335.9 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.01325, allocations: 189.4 kB / 336.1 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.39e-05/0.01333, allocations: 100.4 kB / 336.2 MB, free: 4.098 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.01516, allocations: 1.776 MB / 338 MB, free: 2.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.01518, allocations: 12.12 kB / 338 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.026e-05/0.01524, allocations: 47.91 kB / 338.1 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.01525, allocations: 20 kB / 338.1 MB, free: 2.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009749/0.01623, allocations: 0.7816 MB / 338.9 MB, free: 1.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002026/0.01825, allocations: 1.845 MB / 340.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.01925, allocations: 0.8894 MB / 341.6 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004612/0.01971, allocations: 452.6 kB / 342 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.01975, allocations: 15.98 kB / 342.1 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004558/0.02021, allocations: 456.3 kB / 342.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=102): time 4.479e-06/0.02021, allocations: 0 / 342.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=102): time 0.00133/0.02154, allocations: 1.14 MB / 343.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.02165, allocations: 250.1 kB / 343.9 MB, free: 12.14 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.02195, allocations: 437.2 kB / 344.3 MB, free: 11.7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.02201, allocations: 65.69 kB / 344.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.02216, allocations: 289.8 kB / 344.7 MB, free: 11.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.37e-05/0.02225, allocations: 142.9 kB / 344.8 MB, free: 11.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.0224, allocations: 166.3 kB / 345 MB, free: 11.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.02251, allocations: 358.8 kB / 345.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.02282, allocations: 278.8 kB / 345.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.02315, allocations: 352.3 kB / 345.9 MB, free: 10.03 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.02363, allocations: 477.3 kB / 346.4 MB, free: 9.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.02364, allocations: 4 kB / 346.4 MB, free: 9.539 MB / 314.7 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007015/0.02434, allocations: 0.6852 MB / 347.1 MB, free: 8.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.02437, allocations: 37.69 kB / 347.1 MB, free: 8.797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.02438, allocations: 4.109 kB / 347.1 MB, free: 8.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.02439, allocations: 7.984 kB / 347.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.02452, allocations: 63.83 kB / 347.2 MB, free: 8.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.02453, allocations: 4 kB / 347.2 MB, free: 8.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.02466, allocations: 59.64 kB / 347.3 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.02469, allocations: 16 kB / 347.3 MB, free: 8.645 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.0002812/0.02497, allocations: 354 kB / 347.6 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/0.02537, allocations: 402.6 kB / 348 MB, free: 7.883 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.444e-05/0.02546, allocations: 79.22 kB / 348.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.02547, allocations: 12 kB / 348.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.02548, allocations: 4 kB / 348.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.02549, allocations: 3.984 kB / 348.1 MB, free: 7.785 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.02688, allocations: 1.54 MB / 349.7 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.02688, allocations: 3.984 kB / 349.7 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001814/0.02706, allocations: 95.8 kB / 349.7 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.02707, allocations: 4 kB / 349.8 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.0271, allocations: 27.92 kB / 349.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/0.0271, allocations: 7.938 kB / 349.8 MB, free: 6.055 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.02711, allocations: 0 / 349.8 MB, free: 6.055 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.0009722/0.02808, allocations: 1.118 MB / 350.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/0.02813, allocations: 75.38 kB / 351 MB, free: 4.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.0282, allocations: 43.91 kB / 351 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001887/0.02839, allocations: 39.97 kB / 351.1 MB, free: 4.758 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.02851, allocations: 83.88 kB / 351.1 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.02854, allocations: 39.98 kB / 351.2 MB, free: 4.637 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001631/0.0287, allocations: 251.2 kB / 351.4 MB, free: 4.391 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0287, allocations: 0 / 351.4 MB, free: 4.391 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.02906, allocations: 171.5 kB / 351.6 MB, free: 4.223 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.00114/0.0302, allocations: 1.389 MB / 353 MB, free: 2.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008131/0.03102, allocations: 0.7717 MB / 353.8 MB, free: 2.008 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.03102, allocations: 4 kB / 353.8 MB, free: 2.004 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.03129, allocations: 266.2 kB / 354 MB, free: 1.746 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.03194, allocations: 281.1 kB / 354.3 MB, free: 1.473 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.03365, allocations: 1.467 MB / 355.8 MB, free: 15.96 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.03393, allocations: 425 kB / 356.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001699/0.0341, allocations: 112.3 kB / 356.3 MB, free: 15.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002506/0.03435, allocations: 272.4 kB / 356.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of SimCode: time 5.11e-07/0.03435, allocations: 0 / 356.6 MB, free: 15.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.06039, allocations: 14.35 MB / 370.9 MB, free: 0.9531 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.116/7.177, allocations: 9.469 kB / 370.9 MB, free: 0.9453 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_fmu --startTime=0 --stopTime=2 --stepSize=0.000384986 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.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.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: 8.927757215686142]