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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 112.4 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001192, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 48.08 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3489, allocations: 49.43 MB / 400.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005729/0.3547, allocations: 3.119 MB / 403.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.3573, allocations: 1.118 MB / 404.9 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006525/0.358, allocations: 15.94 kB / 405 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004656/0.3586, allocations: 86.92 kB / 405.1 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.359, allocations: 67.23 kB / 405.1 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.3603, allocations: 383.3 kB / 405.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001244/0.3616, allocations: 0.9407 MB / 406.4 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/0.363, allocations: 0.9322 MB / 407.4 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006264/0.3636, allocations: 398.6 kB / 407.8 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005914/0.3642, allocations: 438 kB / 408.2 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002817/0.3645, allocations: 120 kB / 408.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.3648, allocations: 139.9 kB / 408.4 MB, free: 1.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003175/0.3652, allocations: 259.3 kB / 408.7 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000733/0.3659, allocations: 477.6 kB / 409.2 MB, free: 408 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.3675, allocations: 1.356 MB / 410.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3675, allocations: 0 / 410.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3675, allocations: 0 / 410.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.106e-05/0.3676, allocations: 8 kB / 410.5 MB, free: 15.03 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.002894/0.3705, allocations: 1.18 MB / 411.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.3706, allocations: 15.89 kB / 411.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003461/0.3709, allocations: 95.81 kB / 411.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.3719, allocations: 0.5537 MB / 412.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.3721, allocations: 134 kB / 412.5 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.3723, allocations: 96.38 kB / 412.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00346/0.3758, allocations: 1.714 MB / 414.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.775e-05/0.3758, allocations: 0 / 414.3 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.3759, allocations: 43.98 kB / 414.3 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.376, allocations: 20 kB / 414.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.3776, allocations: 0.7859 MB / 415.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.3814, allocations: 2.117 MB / 417.3 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.3831, allocations: 1.023 MB / 418.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.384, allocations: 488.3 kB / 418.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/0.3841, allocations: 36.09 kB / 418.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007346/0.3848, allocations: 403.7 kB / 419.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=102): time 8.316e-06/0.3848, allocations: 0 / 419.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=102): time 0.002351/0.3872, allocations: 1.14 MB / 420.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001953/0.3874, allocations: 245.6 kB / 420.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005845/0.388, allocations: 425.1 kB / 421 MB, free: 4.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.3881, allocations: 61.69 kB / 421 MB, free: 4.055 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003179/0.3885, allocations: 281.2 kB / 421.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/0.3887, allocations: 162.2 kB / 421.5 MB, free: 3.613 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003814/0.3891, allocations: 214.6 kB / 421.7 MB, free: 3.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3893, allocations: 374.8 kB / 422.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006133/0.3899, allocations: 321.7 kB / 422.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008076/0.3907, allocations: 0.6119 MB / 423 MB, free: 1.973 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.392, allocations: 0.8493 MB / 423.8 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/0.392, allocations: 4 kB / 423.8 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00175/0.3937, allocations: 0.9958 MB / 424.8 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.132e-05/0.3938, allocations: 41.7 kB / 424.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/0.3938, allocations: 8 kB / 424.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.25e-05/0.3939, allocations: 16 kB / 424.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003579/0.3942, allocations: 108.2 kB / 425 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/0.3943, allocations: 19.88 kB / 425 MB, free: 15.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.3947, allocations: 91.25 kB / 425.1 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.754e-05/0.3948, allocations: 48.09 kB / 425.2 MB, free: 15.64 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.0005476/0.3954, allocations: 419 kB / 425.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006998/0.3961, allocations: 383.4 kB / 425.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006811/0.3968, allocations: 416.5 kB / 426.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.3968, allocations: 12 kB / 426.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.3968, allocations: 4 kB / 426.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.3968, allocations: 7.969 kB / 426.4 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/0.3993, allocations: 1.663 MB / 428 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.3993, allocations: 4 kB / 428 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.3997, allocations: 87.8 kB / 428.1 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-05/0.3998, allocations: 8 kB / 428.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.082e-05/0.3998, allocations: 23.98 kB / 428.2 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.647e-06/0.3999, allocations: 12 kB / 428.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.3999, allocations: 7.875 kB / 428.2 MB, free: 12.54 MB / 350.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/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.001885/0.4018, allocations: 1.125 MB / 429.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.402, allocations: 148.1 kB / 429.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4021, allocations: 39.98 kB / 429.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.4025, allocations: 43.91 kB / 429.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002173/0.4027, allocations: 83.83 kB / 429.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/0.4028, allocations: 39.98 kB / 429.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003074/0.4031, allocations: 243.2 kB / 429.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.4031, allocations: 0 / 429.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00091/0.404, allocations: 191.4 kB / 430.1 MB, free: 10.59 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.0004077/0.4045, allocations: 212.6 kB / 430.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.4062, allocations: 0.9158 MB / 431.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.4062, allocations: 0 / 431.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.4068, allocations: 279.7 kB / 431.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.4079, allocations: 312.4 kB / 431.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.4104, allocations: 1.416 MB / 433.2 MB, free: 7.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.411, allocations: 1.014 MB / 434.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002942/0.4113, allocations: 129.1 kB / 434.3 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001671/0.4115, allocations: 63.42 kB / 434.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4115, allocations: 0 / 434.4 MB, free: 6.18 MB / 350.1 MB Notification: Performance of Templates: time 0.015/0.4265, allocations: 7.031 MB / 441.4 MB, free: 15.18 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches