Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001205, allocations: 175.6 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 225.7 MB / 243.2 MB, free: 8.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007971/0.0007971, allocations: 100 kB / 294.4 MB, free: 9.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 7.938 kB / 354.2 MB, free: 13.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2545, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.002715/0.2572, allocations: 2.615 MB / 407.2 MB, free: 28.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.2586, allocations: 1.413 MB / 408.6 MB, free: 27.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.2588, allocations: 15.94 kB / 408.6 MB, free: 27.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001565/0.259, allocations: 59.41 kB / 408.7 MB, free: 27.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.2591, allocations: 36.62 kB / 408.7 MB, free: 27.08 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006802/0.2598, allocations: 333.7 kB / 409 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.2603, allocations: 0.8547 MB / 409.9 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007751/0.2611, allocations: 0.8816 MB / 410.8 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002264/0.2613, allocations: 218.6 kB / 411 MB, free: 24.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.2615, allocations: 270.1 kB / 411.3 MB, free: 24.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.285e-05/0.2615, allocations: 16 kB / 411.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.2616, allocations: 32 kB / 411.3 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.769e-05/0.2617, allocations: 123.3 kB / 411.4 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.2619, allocations: 343.3 kB / 411.8 MB, free: 24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.2626, allocations: 1.201 MB / 413 MB, free: 22.8 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2626, allocations: 0 / 413 MB, free: 22.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2626, allocations: 0 / 413 MB, free: 22.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.2626, allocations: 0 / 413 MB, free: 22.8 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.001215/0.2638, allocations: 0.9899 MB / 413.9 MB, free: 21.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.2639, allocations: 8.031 kB / 414 MB, free: 21.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.264, allocations: 107.7 kB / 414.1 MB, free: 21.62 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005442/0.2646, allocations: 0.5304 MB / 414.6 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.2647, allocations: 134 kB / 414.7 MB, free: 20.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.2648, allocations: 96.38 kB / 414.8 MB, free: 20.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.2669, allocations: 1.732 MB / 416.5 MB, free: 19.04 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.267, allocations: 0 / 416.5 MB, free: 19.04 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.276e-05/0.267, allocations: 35.98 kB / 416.6 MB, free: 19 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.267, allocations: 20 kB / 416.6 MB, free: 18.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.2682, allocations: 0.8102 MB / 417.4 MB, free: 18.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.2705, allocations: 2.152 MB / 419.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.2717, allocations: 1.032 MB / 420.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006074/0.2723, allocations: 495.2 kB / 421.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.2724, allocations: 32.11 kB / 421.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005364/0.273, allocations: 403.8 kB / 421.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of pre-optimization done (n=102): time 2.375e-06/0.273, allocations: 0 / 421.5 MB, free: 13.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=102): time 0.001769/0.2747, allocations: 1.166 MB / 422.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.487e-05/0.2749, allocations: 249.6 kB / 422.9 MB, free: 12.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.2752, allocations: 417.1 kB / 423.3 MB, free: 12 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.307e-05/0.2753, allocations: 61.69 kB / 423.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.2754, allocations: 289.1 kB / 423.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.944e-05/0.2755, allocations: 158.2 kB / 423.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.2755, allocations: 20 kB / 423.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.164e-05/0.2756, allocations: 374.8 kB / 424.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.2761, allocations: 325.8 kB / 424.5 MB, free: 10.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/0.2767, allocations: 0.6198 MB / 425.1 MB, free: 10.03 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009126/0.2776, allocations: 0.8611 MB / 426 MB, free: 9.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.2776, allocations: 4 kB / 426 MB, free: 9.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001297/0.2789, allocations: 1.012 MB / 427 MB, free: 8.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.279, allocations: 38.23 kB / 427.1 MB, free: 7.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.279, allocations: 8 kB / 427.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.279, allocations: 20 kB / 427.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003181/0.2794, allocations: 107.8 kB / 427.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.2794, allocations: 23.92 kB / 427.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.2797, allocations: 87.36 kB / 427.3 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.2798, allocations: 51.92 kB / 427.3 MB, free: 7.672 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003975/0.2802, allocations: 407.7 kB / 427.7 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005083/0.2807, allocations: 396.4 kB / 428.1 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005075/0.2812, allocations: 412.7 kB / 428.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.2812, allocations: 12 kB / 428.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2813, allocations: 0 / 428.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/0.2813, allocations: 7.984 kB / 428.6 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.2831, allocations: 1.687 MB / 430.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.2831, allocations: 4 kB / 430.2 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.2834, allocations: 95.8 kB / 430.3 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.2835, allocations: 11.94 kB / 430.4 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.2835, allocations: 19.98 kB / 430.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.2835, allocations: 12 kB / 430.4 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.2835, allocations: 3.938 kB / 430.4 MB, free: 4.551 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:7946:5-7946: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.001269/0.2848, allocations: 1.147 MB / 431.5 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.2849, allocations: 152.2 kB / 431.7 MB, free: 3.211 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-05/0.285, allocations: 35.98 kB / 431.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003287/0.2853, allocations: 47.91 kB / 431.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.2855, allocations: 87.84 kB / 431.8 MB, free: 3.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.144e-05/0.2855, allocations: 31.98 kB / 431.9 MB, free: 3.012 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.2857, allocations: 243.2 kB / 432.1 MB, free: 2.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2857, allocations: 4 kB / 432.1 MB, free: 2.766 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006151/0.2863, allocations: 195.3 kB / 432.3 MB, free: 2.574 MB / 298.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 (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.0002423/0.2866, allocations: 224.6 kB / 432.5 MB, free: 2.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.2878, allocations: 0.907 MB / 433.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2878, allocations: 256 / 433.4 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.2882, allocations: 291.7 kB / 433.7 MB, free: 1.141 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009344/0.2892, allocations: 300.4 kB / 434 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002223/0.2914, allocations: 1.721 MB / 435.7 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.2921, allocations: 1.01 MB / 436.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003233/0.2924, allocations: 132.7 kB / 436.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001795/0.2926, allocations: 63.42 kB / 436.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of SimCode: time 4.51e-07/0.2926, allocations: 0 / 436.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of Templates: time 0.01243/0.305, allocations: 6.406 MB / 443.3 MB, free: 7.449 MB / 314.7 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","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches