Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001327, allocations: 117.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 200.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 59.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2875, allocations: 50.54 MB / 409.9 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004696/0.2922, allocations: 3.12 MB / 413 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.2945, allocations: 1.215 MB / 414.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002531/0.2948, allocations: 15.94 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.2951, allocations: 94.91 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001522/0.2952, allocations: 63.22 kB / 414.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009541/0.2962, allocations: 398.9 kB / 414.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008387/0.297, allocations: 0.9445 MB / 415.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.2981, allocations: 0.9361 MB / 416.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005023/0.2987, allocations: 394.7 kB / 417.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.299, allocations: 438 kB / 417.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.2992, allocations: 120 kB / 417.6 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001994/0.2994, allocations: 139.9 kB / 417.8 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002208/0.2996, allocations: 263.3 kB / 418 MB, free: 9.363 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.3, allocations: 477.6 kB / 418.5 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.3012, allocations: 1.364 MB / 419.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3013, allocations: 4 kB / 419.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3013, allocations: 0 / 419.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.3013, allocations: 0 / 419.9 MB, free: 7.523 MB / 334.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.001924/0.3032, allocations: 1.185 MB / 421 MB, free: 6.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3033, allocations: 8.031 kB / 421 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004781/0.3038, allocations: 127.7 kB / 421.2 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/0.3046, allocations: 0.5537 MB / 421.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.3047, allocations: 134 kB / 421.9 MB, free: 5.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.3049, allocations: 100.4 kB / 422 MB, free: 5.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.3078, allocations: 1.721 MB / 423.7 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.3078, allocations: 3.938 kB / 423.7 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-05/0.3079, allocations: 39.94 kB / 423.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.308, allocations: 23.98 kB / 423.7 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.3094, allocations: 0.7976 MB / 424.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/0.3125, allocations: 2.109 MB / 426.6 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.3141, allocations: 1.031 MB / 427.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007774/0.3149, allocations: 485.6 kB / 428.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.838e-05/0.315, allocations: 31.83 kB / 428.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007007/0.3157, allocations: 391.3 kB / 428.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.386e-06/0.3157, allocations: 4 kB / 428.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002157/0.3179, allocations: 1.136 MB / 429.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/0.318, allocations: 249.5 kB / 429.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000485/0.3185, allocations: 429.1 kB / 430.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.652e-05/0.3186, allocations: 65.69 kB / 430.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.3189, allocations: 277.3 kB / 430.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.319, allocations: 154.2 kB / 430.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.3193, allocations: 218.6 kB / 431.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3195, allocations: 374.7 kB / 431.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005967/0.3201, allocations: 321.8 kB / 431.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007622/0.3209, allocations: 0.6158 MB / 432.4 MB, free: 10.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/0.322, allocations: 0.8349 MB / 433.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3221, allocations: 0 / 433.2 MB, free: 9.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00161/0.3237, allocations: 0.9968 MB / 434.2 MB, free: 8.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.3237, allocations: 37.55 kB / 434.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.3237, allocations: 12 kB / 434.2 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.3238, allocations: 16 kB / 434.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003717/0.3242, allocations: 111.7 kB / 434.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.3242, allocations: 19.94 kB / 434.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.3246, allocations: 91.25 kB / 434.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.3247, allocations: 43.98 kB / 434.5 MB, free: 8.129 MB / 350.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.0005417/0.3252, allocations: 407.6 kB / 434.9 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006386/0.3259, allocations: 395.7 kB / 435.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001805/0.326, allocations: 87.2 kB / 435.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3261, allocations: 16 kB / 435.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.859e-05/0.3261, allocations: 8.125 kB / 435.4 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.3261, allocations: 3.984 kB / 435.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.3284, allocations: 1.652 MB / 437.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.3284, allocations: 4 kB / 437.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003561/0.3287, allocations: 95.73 kB / 437.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.3288, allocations: 8 kB / 437.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.864e-05/0.3288, allocations: 19.98 kB / 437.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.3288, allocations: 8 kB / 437.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/0.3288, allocations: 3.938 kB / 437.2 MB, free: 5.363 MB / 350.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:8011:5-8011: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.0016/0.3304, allocations: 1.119 MB / 438.3 MB, free: 4.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.3306, allocations: 152.2 kB / 438.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3307, allocations: 39.92 kB / 438.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.331, allocations: 35.97 kB / 438.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001852/0.3312, allocations: 91.83 kB / 438.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/0.3313, allocations: 31.98 kB / 438.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002526/0.3316, allocations: 251.2 kB / 438.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3316, allocations: 0 / 438.9 MB, free: 3.602 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007032/0.3323, allocations: 187.3 kB / 439.1 MB, free: 3.418 MB / 350.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.0002665/0.3325, allocations: 212.6 kB / 439.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.3341, allocations: 0.9114 MB / 440.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3341, allocations: 0 / 440.2 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.3346, allocations: 275.7 kB / 440.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3356, allocations: 311.2 kB / 440.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00223/0.3379, allocations: 1.439 MB / 442.2 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.3385, allocations: 0.9946 MB / 443.2 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.3387, allocations: 67.41 kB / 443.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3387, allocations: 0 / 443.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of Templates: time 0.01354/0.3522, allocations: 9.437 MB / 452.7 MB, free: 5.672 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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