Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001097, allocations: 199.9 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 226.6 MB / 244.7 MB, free: 8.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007916/0.0007915, allocations: 105 kB / 296.8 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002563/0.0002563, allocations: 11.98 kB / 356.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2824, allocations: 51.29 MB / 408 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.002824/0.2852, allocations: 2.615 MB / 410.7 MB, free: 25.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.2867, allocations: 1.074 MB / 411.7 MB, free: 24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.2869, allocations: 18.5 kB / 411.8 MB, free: 23.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001466/0.2871, allocations: 59.36 kB / 411.8 MB, free: 23.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001614/0.2873, allocations: 23.73 kB / 411.8 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006824/0.288, allocations: 272.1 kB / 412.1 MB, free: 23.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005086/0.2885, allocations: 0.8163 MB / 412.9 MB, free: 22.83 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00083/0.2893, allocations: 0.8923 MB / 413.8 MB, free: 21.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002728/0.2896, allocations: 206.8 kB / 414 MB, free: 21.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.2898, allocations: 250.4 kB / 414.3 MB, free: 21.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.2898, allocations: 16 kB / 414.3 MB, free: 21.44 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.29, allocations: 47.92 kB / 414.3 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.473e-05/0.2901, allocations: 115.4 kB / 414.4 MB, free: 21.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.2902, allocations: 331.7 kB / 414.8 MB, free: 20.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006006/0.2908, allocations: 1.022 MB / 415.8 MB, free: 19.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2909, allocations: 0 / 415.8 MB, free: 19.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.2909, allocations: 0 / 415.8 MB, free: 19.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.2909, allocations: 4 kB / 415.8 MB, free: 19.92 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.001297/0.2922, allocations: 0.9899 MB / 416.8 MB, free: 18.86 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2922, allocations: 12.03 kB / 416.8 MB, free: 18.85 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003151/0.2926, allocations: 123.7 kB / 416.9 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005704/0.2931, allocations: 0.5382 MB / 417.4 MB, free: 18.15 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.2933, allocations: 130 kB / 417.6 MB, free: 18.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-05/0.2934, allocations: 96.38 kB / 417.7 MB, free: 17.92 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.2956, allocations: 1.726 MB / 419.4 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.2956, allocations: 0 / 419.4 MB, free: 16.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.222e-05/0.2957, allocations: 43.97 kB / 419.4 MB, free: 16.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.2957, allocations: 20 kB / 419.4 MB, free: 16.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.297, allocations: 0.8039 MB / 420.3 MB, free: 15.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002423/0.2995, allocations: 2.152 MB / 422.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.3008, allocations: 1.042 MB / 423.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.3015, allocations: 492.6 kB / 423.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.523e-05/0.3015, allocations: 32.11 kB / 424 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005472/0.3021, allocations: 415.7 kB / 424.4 MB, free: 10.97 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 2.595e-06/0.3021, allocations: 3.938 kB / 424.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=102): time 0.002013/0.3041, allocations: 1.158 MB / 425.5 MB, free: 9.805 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.3042, allocations: 241.6 kB / 425.8 MB, free: 9.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.3046, allocations: 429.1 kB / 426.2 MB, free: 9.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.733e-05/0.3047, allocations: 61.69 kB / 426.2 MB, free: 9.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.3048, allocations: 277.2 kB / 426.5 MB, free: 8.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.3049, allocations: 150.3 kB / 426.7 MB, free: 8.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.305, allocations: 20 kB / 426.7 MB, free: 8.582 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.377e-05/0.3051, allocations: 370.8 kB / 427 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.3056, allocations: 333.7 kB / 427.4 MB, free: 7.883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.3061, allocations: 0.6119 MB / 428 MB, free: 7.141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009254/0.3071, allocations: 0.8781 MB / 428.9 MB, free: 6.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.3071, allocations: 4 kB / 428.9 MB, free: 6.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001325/0.3084, allocations: 1.002 MB / 429.9 MB, free: 5.105 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.3085, allocations: 40.05 kB / 429.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3085, allocations: 8 kB / 429.9 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.3085, allocations: 16 kB / 429.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003146/0.3088, allocations: 115.7 kB / 430 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.3089, allocations: 23.92 kB / 430.1 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.3092, allocations: 91.34 kB / 430.2 MB, free: 4.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.3093, allocations: 36 kB / 430.2 MB, free: 4.777 MB / 298.7 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,rotational_clock_2.changed.u,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.combinator.y,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].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,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].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,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,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,rotational_clock_1.changed.u,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition2,$whenCondition3) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000366/0.3096, allocations: 407.5 kB / 430.6 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005195/0.3102, allocations: 399.3 kB / 431 MB, free: 3.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/0.3107, allocations: 404.6 kB / 431.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3107, allocations: 16 kB / 431.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.3107, allocations: 4 kB / 431.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.3108, allocations: 7.922 kB / 431.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001842/0.3126, allocations: 1.697 MB / 433.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3126, allocations: 4 kB / 433.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.313, allocations: 95.81 kB / 433.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.313, allocations: 4 kB / 433.2 MB, free: 1.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.743e-05/0.313, allocations: 27.97 kB / 433.2 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.313, allocations: 4 kB / 433.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.313, allocations: 11.88 kB / 433.2 MB, free: 1.645 MB / 298.7 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:7938:5-7938: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.001312/0.3144, allocations: 1.138 MB / 434.4 MB, free: 492 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.651e-05/0.3144, allocations: 148.2 kB / 434.5 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.463e-05/0.3145, allocations: 39.92 kB / 434.6 MB, free: 284 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.3149, allocations: 47.91 kB / 434.6 MB, free: 236 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/0.315, allocations: 95.81 kB / 434.7 MB, free: 140 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-05/0.3151, allocations: 27.98 kB / 434.7 MB, free: 112 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002522/0.3153, allocations: 247.2 kB / 435 MB, free: 15.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3154, allocations: 4 kB / 435 MB, free: 15.86 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006429/0.316, allocations: 191.3 kB / 435.2 MB, free: 15.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002978/0.3163, allocations: 208.6 kB / 435.4 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.3178, allocations: 0.9236 MB / 436.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3178, allocations: 2 kB / 436.3 MB, free: 14.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005368/0.3183, allocations: 290 kB / 436.6 MB, free: 14.24 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.3194, allocations: 296.3 kB / 436.9 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002195/0.3217, allocations: 1.628 MB / 438.5 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.3222, allocations: 1.003 MB / 439.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.3224, allocations: 63.41 kB / 439.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3224, allocations: 0 / 439.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of Templates: time 0.01143/0.3339, allocations: 9.274 MB / 448.8 MB, free: 1.887 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_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