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.001097/0.001097, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001279, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 55.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3921, allocations: 50.55 MB / 409.2 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005079/0.3973, allocations: 3.138 MB / 412.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3994, allocations: 1.2 MB / 413.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.3997, allocations: 23.88 kB / 413.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.4, allocations: 90.98 kB / 413.7 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.4002, allocations: 63.22 kB / 413.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000952/0.4011, allocations: 387.4 kB / 414.1 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008236/0.402, allocations: 0.9523 MB / 415.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.4031, allocations: 0.9283 MB / 416 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005318/0.4037, allocations: 406.7 kB / 416.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.4041, allocations: 438 kB / 416.8 MB, free: 9.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.4042, allocations: 120 kB / 416.9 MB, free: 9.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.4044, allocations: 140 kB / 417.1 MB, free: 9.629 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002327/0.4047, allocations: 255.3 kB / 417.3 MB, free: 9.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.4051, allocations: 481.5 kB / 417.8 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.4063, allocations: 1.37 MB / 419.2 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4063, allocations: 0 / 419.2 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4063, allocations: 3.938 kB / 419.2 MB, free: 7.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.4064, allocations: 0 / 419.2 MB, free: 7.531 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.001934/0.4083, allocations: 1.19 MB / 420.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4083, allocations: 12.03 kB / 420.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000425/0.4088, allocations: 119.7 kB / 420.5 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000825/0.4096, allocations: 0.5537 MB / 421.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.4097, allocations: 130 kB / 421.2 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.4099, allocations: 100.4 kB / 421.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.4126, allocations: 1.725 MB / 423 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.322e-05/0.4126, allocations: 0 / 423 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.4127, allocations: 36 kB / 423 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.4127, allocations: 20 kB / 423.1 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.4142, allocations: 0.7937 MB / 423.9 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.4174, allocations: 2.109 MB / 426 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.419, allocations: 1.037 MB / 427 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007467/0.4198, allocations: 485.7 kB / 427.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.266e-05/0.4199, allocations: 24 kB / 427.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006726/0.4205, allocations: 403.2 kB / 427.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 2.755e-06/0.4205, allocations: 0 / 427.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002141/0.4227, allocations: 1.131 MB / 429 MB, free: 13.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001746/0.4229, allocations: 250 kB / 429.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004968/0.4234, allocations: 429.1 kB / 429.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.325e-05/0.4235, allocations: 65.67 kB / 429.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000209/0.4237, allocations: 277.2 kB / 430 MB, free: 12.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001485/0.4239, allocations: 162.2 kB / 430.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002887/0.4242, allocations: 214.6 kB / 430.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4243, allocations: 378.7 kB / 430.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005614/0.4249, allocations: 325.7 kB / 431.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007526/0.4257, allocations: 0.6119 MB / 431.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.4268, allocations: 0.8367 MB / 432.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-06/0.4269, allocations: 8 kB / 432.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001611/0.4285, allocations: 0.9865 MB / 433.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.4285, allocations: 41.69 kB / 433.6 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.4286, allocations: 8 kB / 433.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.166e-05/0.4286, allocations: 16 kB / 433.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.429, allocations: 107.7 kB / 433.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.709e-05/0.429, allocations: 19.92 kB / 433.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.4294, allocations: 87.27 kB / 433.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/0.4295, allocations: 43.98 kB / 433.8 MB, free: 8.141 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.0005627/0.4301, allocations: 415.1 kB / 434.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006613/0.4307, allocations: 391.7 kB / 434.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.4309, allocations: 83.28 kB / 434.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.4309, allocations: 8 kB / 434.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.431, allocations: 4 kB / 434.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.431, allocations: 7.969 kB / 434.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.4335, allocations: 1.659 MB / 436.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4335, allocations: 0 / 436.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.4338, allocations: 87.81 kB / 436.5 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.4339, allocations: 7.984 kB / 436.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.975e-05/0.4339, allocations: 27.98 kB / 436.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-06/0.4339, allocations: 7.938 kB / 436.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/0.4339, allocations: 11.94 kB / 436.5 MB, free: 5.375 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.001609/0.4356, allocations: 1.117 MB / 437.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.4357, allocations: 148.2 kB / 437.8 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.612e-05/0.4358, allocations: 35.92 kB / 437.8 MB, free: 4.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.4362, allocations: 43.95 kB / 437.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/0.4364, allocations: 87.84 kB / 437.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.4364, allocations: 31.98 kB / 438 MB, free: 3.863 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002664/0.4367, allocations: 263.1 kB / 438.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4367, allocations: 0 / 438.2 MB, free: 3.605 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007624/0.4375, allocations: 187.3 kB / 438.4 MB, free: 3.422 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.0002708/0.4378, allocations: 208.6 kB / 438.6 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001546/0.4393, allocations: 0.8968 MB / 439.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4393, allocations: 5.812 kB / 439.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.4398, allocations: 286.8 kB / 439.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.4408, allocations: 307.6 kB / 440.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.443, allocations: 1.443 MB / 441.5 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/0.4436, allocations: 1.014 MB / 442.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.4439, allocations: 128.8 kB / 442.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001601/0.444, allocations: 59.42 kB / 442.7 MB, free: 15 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.444, allocations: 0 / 442.7 MB, free: 15 MB / 366.1 MB Notification: Performance of Templates: time 0.01245/0.4565, allocations: 6.874 MB / 449.6 MB, free: 8.148 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/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_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:conjunctiveClock.S_false[1].k,conjunctiveClock.S_false[1].y,conjunctiveClock.S_false[2].k,conjunctiveClock.S_false[2].y,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.suppress_S[1].u1,conjunctiveClock.suppress_S[2].u1,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[1].y,disjunctiveClock.S_false[2].k,disjunctiveClock.S_false[2].y,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.suppress_S[1].u1,disjunctiveClock.suppress_S[2].u1,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