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.001502/0.001502, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001869/0.001869, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.51/1.51, allocations: 227.4 MB / 246.3 MB, free: 9.141 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 62.22 kB / 306.3 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1283, allocations: 50.54 MB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005272/0.1337, allocations: 3.147 MB / 359.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002926/0.1367, allocations: 1.165 MB / 361.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000663/0.1374, allocations: 19.88 kB / 361.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.1379, allocations: 63.42 kB / 361.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1381, allocations: 39.66 kB / 361.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.1397, allocations: 343.2 kB / 361.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009995/0.1407, allocations: 0.8702 MB / 362.4 MB, free: 8.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.1422, allocations: 0.9049 MB / 363.3 MB, free: 7.68 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009135/0.1431, allocations: 318.6 kB / 363.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/0.1437, allocations: 378 kB / 364 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.1439, allocations: 56 kB / 364.1 MB, free: 6.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.1442, allocations: 79.98 kB / 364.2 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.1445, allocations: 187.2 kB / 364.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006984/0.1452, allocations: 397.6 kB / 364.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.147, allocations: 1.258 MB / 366 MB, free: 5.027 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.582e-05/0.147, allocations: 0 / 366 MB, free: 5.027 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.147, allocations: 0 / 366 MB, free: 5.027 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.831e-05/0.1471, allocations: 0 / 366 MB, free: 5.027 MB / 302.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.002996/0.1501, allocations: 1.2 MB / 367.2 MB, free: 3.758 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/0.1502, allocations: 8.031 kB / 367.2 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/0.1508, allocations: 115.8 kB / 367.3 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.1517, allocations: 0.5381 MB / 367.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.1518, allocations: 134 kB / 368 MB, free: 2.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.152, allocations: 100.4 kB / 368.1 MB, free: 2.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00347/0.1555, allocations: 1.733 MB / 369.8 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.1555, allocations: 0 / 369.8 MB, free: 1.035 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-05/0.1556, allocations: 36 kB / 369.8 MB, free: 1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/0.1557, allocations: 24 kB / 369.9 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.1575, allocations: 0.7975 MB / 370.7 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2445/0.402, allocations: 2.143 MB / 372.8 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.4042, allocations: 1.026 MB / 373.8 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.4052, allocations: 485.1 kB / 374.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.77e-05/0.4053, allocations: 27.06 kB / 374.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008995/0.4062, allocations: 398.9 kB / 374.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 3.878e-06/0.4062, allocations: 3.531 kB / 374.7 MB, free: 18.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002575/0.4088, allocations: 1.13 MB / 375.9 MB, free: 17.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.409, allocations: 247.9 kB / 376.1 MB, free: 17.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006696/0.4097, allocations: 428.7 kB / 376.5 MB, free: 17.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.983e-05/0.4098, allocations: 63.89 kB / 376.6 MB, free: 17.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.41, allocations: 281.6 kB / 376.9 MB, free: 17.08 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.4101, allocations: 160.1 kB / 377 MB, free: 16.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/0.4105, allocations: 222.8 kB / 377.2 MB, free: 16.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.4106, allocations: 373.5 kB / 377.6 MB, free: 16.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006578/0.4113, allocations: 322.2 kB / 377.9 MB, free: 16.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007977/0.4121, allocations: 0.6082 MB / 378.5 MB, free: 15.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.4133, allocations: 0.8405 MB / 379.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.4133, allocations: 6.75 kB / 379.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001861/0.4152, allocations: 0.9871 MB / 380.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.4152, allocations: 37.78 kB / 380.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.4153, allocations: 10.44 kB / 380.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.967e-05/0.4153, allocations: 16.44 kB / 380.4 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.4157, allocations: 110.1 kB / 380.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.769e-05/0.4157, allocations: 24.42 kB / 380.5 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004266/0.4162, allocations: 86.53 kB / 380.6 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.414e-05/0.4162, allocations: 39.64 kB / 380.7 MB, free: 14.81 MB / 302.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.0006406/0.4169, allocations: 412.9 kB / 381.1 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007244/0.4176, allocations: 402.7 kB / 381.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000171/0.4178, allocations: 86.14 kB / 381.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.4178, allocations: 11.86 kB / 381.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.4179, allocations: 1.312 kB / 381.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/0.4179, allocations: 9.156 kB / 381.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002704/0.4206, allocations: 1.652 MB / 383.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4206, allocations: 2.062 kB / 383.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003954/0.421, allocations: 88.81 kB / 383.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.421, allocations: 5.5 kB / 383.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.865e-05/0.4211, allocations: 26.62 kB / 383.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/0.4211, allocations: 10.2 kB / 383.3 MB, free: 13.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.4211, allocations: 6.5 kB / 383.4 MB, free: 13.39 MB / 302.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:7947:5-7947: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.001771/0.4229, allocations: 1.127 MB / 384.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.423, allocations: 144.3 kB / 384.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.4231, allocations: 33.7 kB / 384.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.4235, allocations: 41.5 kB / 384.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002206/0.4237, allocations: 89.27 kB / 384.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/0.4238, allocations: 32.09 kB / 384.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002935/0.4241, allocations: 253 kB / 385.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4241, allocations: 1.562 kB / 385.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008842/0.425, allocations: 183.4 kB / 385.2 MB, free: 12.39 MB / 302.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.0002808/0.4253, allocations: 212.4 kB / 385.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.4271, allocations: 0.9099 MB / 386.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4271, allocations: 5.125 kB / 386.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005609/0.4277, allocations: 287.1 kB / 386.6 MB, free: 11.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4288, allocations: 293.9 kB / 386.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.4315, allocations: 1.72 MB / 388.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.4321, allocations: 1.007 MB / 389.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003793/0.4325, allocations: 128.5 kB / 389.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.4327, allocations: 62.69 kB / 389.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of SimCode: time 1.563e-06/0.4327, allocations: 1.469 kB / 389.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of Templates: time 0.0123/0.445, allocations: 6.344 MB / 396.2 MB, free: 6.906 MB / 302.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