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.001568/0.001568, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002425/0.002425, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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 2.051/2.051, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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: 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.1.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.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3031, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.006057/0.3092, allocations: 3.007 MB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.3121, allocations: 1.184 MB / 436.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.3124, allocations: 23.88 kB / 436.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.3127, allocations: 90.97 kB / 436.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001805/0.3128, allocations: 67.23 kB / 436.7 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3139, allocations: 399.3 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.315, allocations: 0.9407 MB / 438 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000973/0.316, allocations: 0.5568 MB / 438.6 MB, free: 388 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006212/0.3166, allocations: 418.6 kB / 439 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004921/0.3171, allocations: 430 kB / 439.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001687/0.3173, allocations: 124 kB / 439.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.3175, allocations: 136 kB / 439.7 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002923/0.3178, allocations: 263.2 kB / 439.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004321/0.3182, allocations: 378.2 kB / 440.3 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.3199, allocations: 1.385 MB / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3199, allocations: 0 / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3199, allocations: 0 / 441.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.3199, allocations: 0 / 441.7 MB, free: 13.28 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.002284/0.3222, allocations: 1.14 MB / 442.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3222, allocations: 12.03 kB / 442.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005175/0.3227, allocations: 128.2 kB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.3237, allocations: 0.4936 MB / 443.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.324, allocations: 197.4 kB / 443.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.3241, allocations: 96.38 kB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003305/0.3274, allocations: 1.771 MB / 445.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.3275, allocations: 0 / 445.5 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.3276, allocations: 39.98 kB / 445.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.3276, allocations: 20 kB / 445.6 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.3293, allocations: 0.788 MB / 446.3 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003326/0.3326, allocations: 1.724 MB / 448.1 MB, free: 6.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001735/0.3344, allocations: 0.9035 MB / 449 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/0.3352, allocations: 452.5 kB / 449.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-05/0.3353, allocations: 19.94 kB / 449.4 MB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009373/0.3362, allocations: 450.7 kB / 449.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.366e-06/0.3362, allocations: 0 / 449.9 MB, free: 4.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002612/0.3389, allocations: 1.131 MB / 451 MB, free: 3.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002386/0.3391, allocations: 249.6 kB / 451.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005221/0.3396, allocations: 400.1 kB / 451.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.3397, allocations: 65.69 kB / 451.7 MB, free: 2.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002839/0.34, allocations: 285.9 kB / 452 MB, free: 2.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000173/0.3402, allocations: 158.9 kB / 452.1 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000327/0.3405, allocations: 222.6 kB / 452.4 MB, free: 2.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.3407, allocations: 374.7 kB / 452.7 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/0.3414, allocations: 347.5 kB / 453.1 MB, free: 1.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009874/0.3424, allocations: 0.637 MB / 453.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.3438, allocations: 0.8392 MB / 454.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.936e-06/0.3439, allocations: 4 kB / 454.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001902/0.3458, allocations: 1.023 MB / 455.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.3458, allocations: 37.69 kB / 455.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.3458, allocations: 12 kB / 455.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/0.3459, allocations: 16 kB / 455.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004144/0.3463, allocations: 108.1 kB / 455.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-05/0.3463, allocations: 15.94 kB / 455.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.3467, allocations: 87.59 kB / 455.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.659e-05/0.3468, allocations: 43.98 kB / 455.9 MB, free: 14.35 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.0006842/0.3475, allocations: 403.1 kB / 456.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007901/0.3483, allocations: 403 kB / 456.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.3485, allocations: 79.11 kB / 456.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.3485, allocations: 12 kB / 456.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/0.3485, allocations: 3.938 kB / 456.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.554e-05/0.3485, allocations: 11.97 kB / 456.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/0.3511, allocations: 1.42 MB / 458.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3511, allocations: 0 / 458.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.3515, allocations: 95.73 kB / 458.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3515, allocations: 4 kB / 458.3 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.864e-05/0.3516, allocations: 32.11 kB / 458.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.3516, allocations: 7.938 kB / 458.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.3516, allocations: 4 kB / 458.3 MB, free: 11.84 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8018:5-8018: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.001925/0.3535, allocations: 1.125 MB / 459.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.988e-05/0.3536, allocations: 59.48 kB / 459.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.3537, allocations: 39.98 kB / 459.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000379/0.3541, allocations: 39.95 kB / 459.6 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002084/0.3543, allocations: 83.89 kB / 459.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.3544, allocations: 31.98 kB / 459.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002797/0.3547, allocations: 231 kB / 459.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3547, allocations: 0 / 459.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008069/0.3555, allocations: 191.5 kB / 460.1 MB, free: 10.02 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.000317/0.3558, allocations: 212.3 kB / 460.3 MB, free: 9.789 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001752/0.3575, allocations: 0.9071 MB / 461.2 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3575, allocations: 4 kB / 461.2 MB, free: 8.863 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.3581, allocations: 263.9 kB / 461.5 MB, free: 8.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.3592, allocations: 288 kB / 461.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002954/0.3622, allocations: 1.463 MB / 463.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.3627, allocations: 416.8 kB / 463.6 MB, free: 6.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003514/0.3631, allocations: 132.7 kB / 463.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.3633, allocations: 67.34 kB / 463.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3633, allocations: 0 / 463.8 MB, free: 6.191 MB / 366.1 MB Notification: Performance of Templates: time 0.01675/0.38, allocations: 7.25 MB / 471.1 MB, free: 15 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/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[2].k,conjunctiveClock.clock.useSolver,conjunctiveClock.input_memory[1].Qini,conjunctiveClock.input_memory[1].pre.pre_u_start,conjunctiveClock.input_memory[2].Qini,conjunctiveClock.input_memory[2].pre.pre_u_start,conjunctiveClock.input_ticked[1].input_hold.y_start,conjunctiveClock.input_ticked[1].input_ticked.pre_u_start,conjunctiveClock.input_ticked[2].input_hold.y_start,conjunctiveClock.input_ticked[2].input_ticked.pre_u_start,conjunctiveClock.nu,conjunctiveClock.reset_ticked.input_hold.y_start,conjunctiveClock.reset_ticked.input_ticked.pre_u_start,conjunctiveClock.splitter.nout,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[2].k,disjunctiveClock.clock.useSolver,disjunctiveClock.input_memory[1].Qini,disjunctiveClock.input_memory[1].pre.pre_u_start,disjunctiveClock.input_memory[2].Qini,disjunctiveClock.input_memory[2].pre.pre_u_start,disjunctiveClock.input_ticked[1].input_hold.y_start,disjunctiveClock.input_ticked[1].input_ticked.pre_u_start,disjunctiveClock.input_ticked[2].input_hold.y_start,disjunctiveClock.input_ticked[2].input_ticked.pre_u_start,disjunctiveClock.nu,disjunctiveClock.reset_ticked.input_hold.y_start,disjunctiveClock.reset_ticked.input_ticked.pre_u_start,disjunctiveClock.splitter.nout,disjunctiveClock.useSolver,rotational_clock_1.abs1.generateEvent,rotational_clock_1.abs2.generateEvent,rotational_clock_1.angle,rotational_clock_1.angular_offset.y_start,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.direction_sign.generateEvent,rotational_clock_1.sub.k1,rotational_clock_1.sub.k2,rotational_clock_1.useSolver,rotational_clock_1.y_clock.useSolver,rotational_clock_2.abs1.generateEvent,rotational_clock_2.abs2.generateEvent,rotational_clock_2.angle,rotational_clock_2.angular_offset.y_start,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.direction_sign.generateEvent,rotational_clock_2.sub.k1,rotational_clock_2.sub.k2,rotational_clock_2.useSolver,rotational_clock_2.y_clock.useSolver,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,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 [Calling sys.exit(0), Time elapsed: 5.907685387006495]