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.001454/0.001454, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001354/0.001354, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.376/1.376, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009904/0.0009905, allocations: 52.45 kB / 300.6 MB, free: 5.875 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09552, allocations: 49.44 MB / 350 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004935/0.1005, allocations: 3.113 MB / 353.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001889/0.1024, allocations: 1.114 MB / 354.3 MB, free: 164 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.1026, allocations: 15.94 kB / 354.3 MB, free: 148 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002639/0.1029, allocations: 86.98 kB / 354.4 MB, free: 60 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.1031, allocations: 67.33 kB / 354.4 MB, free: 15.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009347/0.1041, allocations: 384 kB / 354.8 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000761/0.1048, allocations: 0.9365 MB / 355.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009779/0.1058, allocations: 0.9322 MB / 356.7 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.1062, allocations: 390.6 kB / 357.1 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.1066, allocations: 438 kB / 357.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001471/0.1067, allocations: 120 kB / 357.6 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.1069, allocations: 144 kB / 357.8 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002274/0.1072, allocations: 259.2 kB / 358 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003871/0.1076, allocations: 469.7 kB / 358.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.1086, allocations: 1.305 MB / 359.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1086, allocations: 4 kB / 359.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1086, allocations: 0 / 359.8 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.1087, allocations: 0 / 359.8 MB, free: 10.62 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.00184/0.1105, allocations: 1.173 MB / 360.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1106, allocations: 8.031 kB / 361 MB, free: 9.371 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.1107, allocations: 103.7 kB / 361.1 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008147/0.1116, allocations: 0.5343 MB / 361.6 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001501/0.1117, allocations: 141.9 kB / 361.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.1119, allocations: 96.38 kB / 361.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/0.1145, allocations: 1.722 MB / 363.5 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1145, allocations: 0 / 363.5 MB, free: 6.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/0.1146, allocations: 40 kB / 363.6 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.1146, allocations: 23.98 kB / 363.6 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.1161, allocations: 0.7886 MB / 364.4 MB, free: 5.824 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.119, allocations: 2.144 MB / 366.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.1206, allocations: 1.038 MB / 367.6 MB, free: 2.488 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007487/0.1213, allocations: 481 kB / 368 MB, free: 2 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-05/0.1214, allocations: 32.67 kB / 368.1 MB, free: 1.969 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006609/0.1221, allocations: 399.2 kB / 368.5 MB, free: 1.559 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 2.504e-06/0.1221, allocations: 4 kB / 368.5 MB, free: 1.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002068/0.1242, allocations: 1.136 MB / 369.6 MB, free: 428 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.1243, allocations: 249.5 kB / 369.9 MB, free: 128 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1703/0.2946, allocations: 424.7 kB / 370.3 MB, free: 25.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.2948, allocations: 62.53 kB / 370.3 MB, free: 25.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001905/0.295, allocations: 281.8 kB / 370.6 MB, free: 25.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.2952, allocations: 156.5 kB / 370.8 MB, free: 25.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003095/0.2955, allocations: 216 kB / 371 MB, free: 25.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.2956, allocations: 369.8 kB / 371.3 MB, free: 25.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006404/0.2962, allocations: 322.5 kB / 371.6 MB, free: 25.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007839/0.297, allocations: 0.6098 MB / 372.3 MB, free: 24.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.2982, allocations: 0.8589 MB / 373.1 MB, free: 24.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.2982, allocations: 3.5 kB / 373.1 MB, free: 24.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001659/0.2999, allocations: 0.9917 MB / 374.1 MB, free: 23.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.3, allocations: 35.67 kB / 374.1 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.3, allocations: 10.22 kB / 374.2 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.248e-05/0.3, allocations: 14.5 kB / 374.2 MB, free: 23.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.3004, allocations: 113 kB / 374.3 MB, free: 23.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.291e-05/0.3004, allocations: 21.45 kB / 374.3 MB, free: 23.9 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003673/0.3008, allocations: 84.78 kB / 374.4 MB, free: 23.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.575e-05/0.3008, allocations: 43.91 kB / 374.4 MB, free: 23.84 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.0005551/0.3014, allocations: 410 kB / 374.8 MB, free: 23.59 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006004/0.302, allocations: 394.3 kB / 375.2 MB, free: 23.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005892/0.3026, allocations: 409.7 kB / 375.6 MB, free: 23.24 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.3026, allocations: 18.69 kB / 375.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.3026, allocations: 2.781 kB / 375.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.3027, allocations: 6.578 kB / 375.6 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.3048, allocations: 1.667 MB / 377.3 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3048, allocations: 1.406 kB / 377.3 MB, free: 22.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000354/0.3052, allocations: 95.05 kB / 377.4 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.3052, allocations: 5.25 kB / 377.4 MB, free: 22.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/0.3052, allocations: 23.36 kB / 377.4 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.3052, allocations: 12.02 kB / 377.4 MB, free: 22.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3052, allocations: 5.938 kB / 377.4 MB, free: 22.31 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:7956:5-7956: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.001516/0.3068, allocations: 1.136 MB / 378.6 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.3069, allocations: 148.1 kB / 378.7 MB, free: 21.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-05/0.307, allocations: 36.72 kB / 378.8 MB, free: 21.52 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003629/0.3073, allocations: 37.36 kB / 378.8 MB, free: 21.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/0.3075, allocations: 85.39 kB / 378.9 MB, free: 21.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.3076, allocations: 33.72 kB / 378.9 MB, free: 21.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002642/0.3079, allocations: 250.6 kB / 379.2 MB, free: 21.35 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.01e-07/0.3079, allocations: 1.656 kB / 379.2 MB, free: 21.35 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000793/0.3087, allocations: 194.4 kB / 379.3 MB, free: 21.29 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.0002809/0.309, allocations: 217 kB / 379.6 MB, free: 21.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.3108, allocations: 1.008 MB / 380.6 MB, free: 20.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3108, allocations: 0 / 380.6 MB, free: 20.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005568/0.3114, allocations: 278.6 kB / 380.8 MB, free: 20.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.3124, allocations: 299.5 kB / 381.1 MB, free: 20.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.3149, allocations: 1.444 MB / 382.6 MB, free: 19.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.3156, allocations: 1.011 MB / 383.6 MB, free: 19.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003338/0.3159, allocations: 131.7 kB / 383.7 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.3161, allocations: 63.7 kB / 383.8 MB, free: 19.06 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3161, allocations: 0 / 383.8 MB, free: 19.06 MB / 302.1 MB Notification: Performance of Templates: time 0.0138/0.3299, allocations: 6.902 MB / 390.7 MB, free: 16.48 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