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.00153/0.00153, allocations: 114.5 kB / 18.45 MB, free: 4.602 MB / 14.72 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.001636/0.001636, allocations: 190.7 kB / 21.4 MB, free: 1.664 MB / 14.72 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 1.458/1.458, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5195,variableFilter="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",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5195,variableFilter="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",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 43.92 kB / 366.8 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09353/0.095, allocations: 52.14 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005313/0.1003, allocations: 3.143 MB / 422.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.1025, allocations: 1.114 MB / 423.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002415/0.1027, allocations: 15.94 kB / 423.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.103, allocations: 94.91 kB / 423.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.1032, allocations: 67.23 kB / 423.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009636/0.1041, allocations: 379.4 kB / 423.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000984/0.1051, allocations: 0.9407 MB / 424.7 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009932/0.1061, allocations: 0.6941 MB / 425.4 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004836/0.1066, allocations: 402.6 kB / 425.8 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.1071, allocations: 438 kB / 426.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.1072, allocations: 116 kB / 426.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.1074, allocations: 140 kB / 426.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002802/0.1077, allocations: 255.3 kB / 426.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004673/0.1082, allocations: 477.6 kB / 427.2 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.1097, allocations: 1.37 MB / 428.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.1097, allocations: 0 / 428.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1097, allocations: 0 / 428.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.1097, allocations: 0 / 428.5 MB, free: 2.457 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.002106/0.1118, allocations: 1.199 MB / 429.7 MB, free: 1.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1118, allocations: 8.031 kB / 429.7 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000208/0.112, allocations: 108.3 kB / 429.8 MB, free: 1.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.1129, allocations: 0.5463 MB / 430.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.113, allocations: 142 kB / 430.5 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.1132, allocations: 96.38 kB / 430.6 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003076/0.1162, allocations: 1.717 MB / 432.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.233e-05/0.1163, allocations: 4 kB / 432.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.104e-05/0.1163, allocations: 36 kB / 432.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/0.1164, allocations: 20 kB / 432.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.118, allocations: 0.786 MB / 433.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003254/0.1212, allocations: 2.122 MB / 435.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001755/0.123, allocations: 0.9886 MB / 436.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008069/0.1238, allocations: 456 kB / 436.7 MB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.989e-05/0.1239, allocations: 27.95 kB / 436.8 MB, free: 9.867 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007306/0.1246, allocations: 399.2 kB / 437.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 2.815e-06/0.1246, allocations: 3.938 kB / 437.2 MB, free: 9.453 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.002399/0.127, allocations: 1.14 MB / 438.3 MB, free: 8.312 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002069/0.1272, allocations: 253.6 kB / 438.6 MB, free: 8.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005463/0.1277, allocations: 421.3 kB / 439 MB, free: 7.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.702e-05/0.1278, allocations: 61.69 kB / 439 MB, free: 7.523 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/0.1281, allocations: 285.8 kB / 439.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.1282, allocations: 166.9 kB / 439.5 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/0.1285, allocations: 222.5 kB / 439.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.1287, allocations: 374.8 kB / 440 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.1293, allocations: 321.8 kB / 440.4 MB, free: 6.164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008341/0.1302, allocations: 0.6119 MB / 441 MB, free: 5.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/0.1315, allocations: 0.85 MB / 441.8 MB, free: 4.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.1315, allocations: 4 kB / 441.8 MB, free: 4.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00172/0.1332, allocations: 0.9996 MB / 442.8 MB, free: 3.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.702e-05/0.1333, allocations: 33.7 kB / 442.9 MB, free: 3.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.1333, allocations: 8.5 kB / 442.9 MB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.1333, allocations: 16 kB / 442.9 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000376/0.1337, allocations: 107.7 kB / 443 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.623e-05/0.1337, allocations: 23.92 kB / 443 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.1341, allocations: 87.5 kB / 443.1 MB, free: 3.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.1342, allocations: 43.98 kB / 443.1 MB, free: 3.102 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 91 (disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_sample.y,rotational_clock_2.changed.y,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,$whenCondition5,disjunctiveClock.splitter.y[2],disjunctiveClock.reset_ticked.input_ticked.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[1].pre.u,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].Q,disjunctiveClock.suppress_S[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.input_ticked[2].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.combinator.y,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,$whenCondition4,conjunctiveClock.splitter.y[2],conjunctiveClock.reset_ticked.input_ticked.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[1].pre.u,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].Q,conjunctiveClock.suppress_S[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.input_ticked[2].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.combinator.y,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_sample.y,rotational_clock_1.changed.y,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition3,$whenCondition2,rotational_clock_2.less.y,rotational_clock_1.less.y,trigger_interval_input.count,$PRE.trigger_interval_input.count,trigger_interval_input.T_start,$PRE.trigger_interval_input.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 2 (rotational_clock_2.changed.u,rotational_clock_1.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005998/0.1348, allocations: 423 kB / 443.6 MB, free: 2.676 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007142/0.1355, allocations: 398.7 kB / 443.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007241/0.1362, allocations: 414.4 kB / 444.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.1362, allocations: 12 kB / 444.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.1362, allocations: 0 / 444.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.1363, allocations: 7.984 kB / 444.4 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002416/0.1387, allocations: 1.662 MB / 446 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.1387, allocations: 0 / 446 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.1391, allocations: 95.8 kB / 446.1 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.1391, allocations: 7.984 kB / 446.1 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.1391, allocations: 23.98 kB / 446.2 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.1391, allocations: 4 kB / 446.2 MB, free: 0 / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.761e-05/0.1391, allocations: 7.766 kB / 446.2 MB, free: 30.35 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8012:5-8012: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.001838/0.141, allocations: 1.127 MB / 447.3 MB, free: 30.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.95e-05/0.1411, allocations: 149.2 kB / 447.4 MB, free: 29.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.228e-05/0.1412, allocations: 40.2 kB / 447.5 MB, free: 29.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.1415, allocations: 35.42 kB / 447.5 MB, free: 29.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001996/0.1417, allocations: 93.42 kB / 447.6 MB, free: 29.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/0.1418, allocations: 28.17 kB / 447.6 MB, free: 29.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002513/0.1421, allocations: 252.2 kB / 447.9 MB, free: 29.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1421, allocations: 0 / 447.9 MB, free: 29.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008108/0.1429, allocations: 189.2 kB / 448.1 MB, free: 29.83 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002876/0.1432, allocations: 219.8 kB / 448.3 MB, free: 29.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.1446, allocations: 0.8798 MB / 449.2 MB, free: 29.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1446, allocations: 3.062 kB / 449.2 MB, free: 29.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004342/0.145, allocations: 261.5 kB / 449.4 MB, free: 29.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009397/0.146, allocations: 286.5 kB / 449.7 MB, free: 29.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.1479, allocations: 1.46 MB / 451.2 MB, free: 29.08 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.1484, allocations: 0.9989 MB / 452.2 MB, free: 28.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.1486, allocations: 70.12 kB / 452.2 MB, free: 28.37 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1486, allocations: 0 / 452.2 MB, free: 28.37 MB / 366.1 MB Notification: Performance of Templates: time 0.0157/0.1643, allocations: 9.576 MB / 461.8 MB, free: 26.48 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: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,time [Calling sys.exit(0), Time elapsed: 7.631771487882361]