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.001338/0.001338, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001456/0.001456, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.48/1.48, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 44.42 kB / 300 MB, free: 6.047 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1155, allocations: 49.45 MB / 349.4 MB, free: 4.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005541/0.1211, allocations: 3.12 MB / 352.5 MB, free: 1.438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1236, allocations: 1.071 MB / 353.6 MB, free: 368 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004954/0.1242, allocations: 15.94 kB / 353.6 MB, free: 352 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.1246, allocations: 63.42 kB / 353.7 MB, free: 288 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.1249, allocations: 39.66 kB / 353.7 MB, free: 248 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.126, allocations: 333.7 kB / 354 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001252/0.1273, allocations: 0.8586 MB / 354.9 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.1289, allocations: 0.8971 MB / 355.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.1294, allocations: 306.7 kB / 356.1 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004381/0.1299, allocations: 382 kB / 356.5 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.13, allocations: 52 kB / 356.5 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1301, allocations: 75.92 kB / 356.6 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001764/0.1303, allocations: 187.3 kB / 356.8 MB, free: 13.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000383/0.1307, allocations: 397.7 kB / 357.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009647/0.1317, allocations: 1.258 MB / 358.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1317, allocations: 0 / 358.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1317, allocations: 0 / 358.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.1317, allocations: 0 / 358.4 MB, free: 11.49 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.001989/0.1337, allocations: 1.181 MB / 359.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1338, allocations: 11.97 kB / 359.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.134, allocations: 107.7 kB / 359.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/0.1347, allocations: 0.5304 MB / 360.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.1348, allocations: 138 kB / 360.4 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.1349, allocations: 92.38 kB / 360.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002768/0.1377, allocations: 1.734 MB / 362.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.1377, allocations: 0 / 362.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.724e-05/0.1378, allocations: 36 kB / 362.2 MB, free: 7.492 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1379, allocations: 24 kB / 362.3 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.1394, allocations: 0.7859 MB / 363.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.1426, allocations: 2.144 MB / 365.2 MB, free: 4.465 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001697/0.1443, allocations: 1.031 MB / 366.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000789/0.1451, allocations: 480.5 kB / 366.7 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.1452, allocations: 32.7 kB / 366.7 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006954/0.1459, allocations: 395.2 kB / 367.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 3.096e-06/0.146, allocations: 0 / 367.1 MB, free: 2.426 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002216/0.1482, allocations: 1.146 MB / 368.3 MB, free: 1.277 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.1484, allocations: 253.5 kB / 368.5 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.1488, allocations: 425 kB / 368.9 MB, free: 0.5586 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.278e-05/0.1489, allocations: 65.69 kB / 369 MB, free: 500 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.1491, allocations: 285.2 kB / 369.3 MB, free: 208 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.1493, allocations: 150.3 kB / 369.4 MB, free: 56 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2467/0.396, allocations: 212 kB / 369.6 MB, free: 25.26 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3962, allocations: 372.6 kB / 370 MB, free: 24.95 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007357/0.3969, allocations: 320.1 kB / 370.3 MB, free: 24.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008566/0.3978, allocations: 0.6109 MB / 370.9 MB, free: 24.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.3991, allocations: 0.8503 MB / 371.8 MB, free: 24.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.3992, allocations: 2.625 kB / 371.8 MB, free: 24.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00214/0.4013, allocations: 1 MB / 372.8 MB, free: 23.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.463e-05/0.4014, allocations: 46.28 kB / 372.8 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/0.4014, allocations: 9.531 kB / 372.8 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.741e-05/0.4015, allocations: 15.34 kB / 372.8 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.4019, allocations: 104.9 kB / 372.9 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.644e-05/0.402, allocations: 20.22 kB / 373 MB, free: 23.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004705/0.4024, allocations: 87.73 kB / 373 MB, free: 23.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/0.4026, allocations: 45.75 kB / 373.1 MB, free: 23.89 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.0007681/0.4034, allocations: 408 kB / 373.5 MB, free: 23.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008597/0.4042, allocations: 395 kB / 373.9 MB, free: 23.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007981/0.405, allocations: 418.5 kB / 374.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.4051, allocations: 11.41 kB / 374.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.4051, allocations: 2.656 kB / 374.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.4051, allocations: 6.547 kB / 374.3 MB, free: 23.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.4079, allocations: 1.67 MB / 376 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.408, allocations: 1.812 kB / 376 MB, free: 22.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004271/0.4084, allocations: 95.72 kB / 376.1 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/0.4084, allocations: 6.031 kB / 376.1 MB, free: 22.44 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.793e-05/0.4085, allocations: 22.97 kB / 376.1 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.4085, allocations: 6.062 kB / 376.1 MB, free: 22.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4085, allocations: 2.406 kB / 376.1 MB, free: 22.43 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.001723/0.4102, allocations: 1.139 MB / 377.2 MB, free: 21.8 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.4103, allocations: 145.2 kB / 377.4 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.4105, allocations: 33.66 kB / 377.4 MB, free: 21.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.4108, allocations: 39.17 kB / 377.5 MB, free: 21.63 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.4111, allocations: 86.42 kB / 377.5 MB, free: 21.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.566e-05/0.4111, allocations: 34.05 kB / 377.6 MB, free: 21.6 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002857/0.4114, allocations: 253.6 kB / 377.8 MB, free: 21.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4114, allocations: 0 / 377.8 MB, free: 21.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009405/0.4124, allocations: 189.7 kB / 378 MB, free: 21.41 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.0004109/0.4128, allocations: 226.4 kB / 378.2 MB, free: 21.27 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001882/0.4147, allocations: 0.9059 MB / 379.1 MB, free: 20.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4147, allocations: 1.344 kB / 379.1 MB, free: 20.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005437/0.4153, allocations: 285.7 kB / 379.4 MB, free: 20.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.4163, allocations: 297.8 kB / 379.7 MB, free: 20.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.419, allocations: 1.705 MB / 381.4 MB, free: 19.7 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/0.4196, allocations: 1.012 MB / 382.4 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000366/0.42, allocations: 128.7 kB / 382.5 MB, free: 18.96 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.4202, allocations: 59.7 kB / 382.6 MB, free: 18.95 MB / 302.1 MB Notification: Performance of SimCode: time 1.512e-06/0.4202, allocations: 0 / 382.6 MB, free: 18.95 MB / 302.1 MB Notification: Performance of Templates: time 0.01726/0.4375, allocations: 6.541 MB / 389.1 MB, free: 16.73 MB / 302.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