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.001162/0.001162, allocations: 95.12 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001539/0.001539, allocations: 207.9 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002662/0.0002662, allocations: 4 kB / 306.6 MB, free: 1.648 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 51.49 MB / 358.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003485/0.1139, allocations: 2.631 MB / 360.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001949/0.1159, allocations: 1.075 MB / 361.8 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002884/0.1162, allocations: 15.94 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.1164, allocations: 55.42 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.1165, allocations: 43.8 kB / 361.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007686/0.1173, allocations: 275 kB / 362.2 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000506/0.1178, allocations: 0.4957 MB / 362.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008444/0.1187, allocations: 0.6496 MB / 363.3 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003081/0.119, allocations: 206.8 kB / 363.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002354/0.1193, allocations: 250.4 kB / 363.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.1193, allocations: 20 kB / 363.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1194, allocations: 39.92 kB / 363.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1196, allocations: 127.4 kB / 363.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.1197, allocations: 149.3 kB / 364.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008901/0.1206, allocations: 1.033 MB / 365.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1206, allocations: 0 / 365.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1206, allocations: 0 / 365.1 MB, free: 7.062 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.1206, allocations: 0 / 365.1 MB, free: 7.062 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.001401/0.1221, allocations: 0.9938 MB / 366.1 MB, free: 6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.323e-05/0.1221, allocations: 8.031 kB / 366.1 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/0.1224, allocations: 126.8 kB / 366.2 MB, free: 5.867 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007212/0.1231, allocations: 0.5254 MB / 366.8 MB, free: 5.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.1233, allocations: 137.4 kB / 366.9 MB, free: 5.152 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.1234, allocations: 96 kB / 367 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002571/0.126, allocations: 1.713 MB / 368.7 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.772e-05/0.126, allocations: 4 kB / 368.7 MB, free: 3.281 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.542e-05/0.1261, allocations: 39.98 kB / 368.7 MB, free: 3.242 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.1261, allocations: 20 kB / 368.8 MB, free: 3.223 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.1275, allocations: 0.8093 MB / 369.6 MB, free: 2.414 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.1305, allocations: 2.144 MB / 371.7 MB, free: 200 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2108/0.3413, allocations: 1.032 MB / 372.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.885e-05/0.3414, allocations: 29.77 kB / 372.8 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007031/0.3421, allocations: 411.7 kB / 373.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 3.026e-06/0.3421, allocations: 3.906 kB / 373.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002593/0.3447, allocations: 1.157 MB / 374.3 MB, free: 18.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/0.3449, allocations: 249.2 kB / 374.6 MB, free: 18.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005296/0.3454, allocations: 421.6 kB / 375 MB, free: 18.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.609e-05/0.3455, allocations: 65.42 kB / 375.1 MB, free: 18.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.3457, allocations: 272 kB / 375.3 MB, free: 18.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.3459, allocations: 161.9 kB / 375.5 MB, free: 18.1 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.3459, allocations: 19.44 kB / 375.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.346, allocations: 378 kB / 375.9 MB, free: 17.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005747/0.3466, allocations: 321.5 kB / 376.2 MB, free: 17.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/0.3473, allocations: 0.6127 MB / 376.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.3479, allocations: 410.3 kB / 377.2 MB, free: 17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.3479, allocations: 2.812 kB / 377.2 MB, free: 17 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001519/0.3494, allocations: 1.004 MB / 378.2 MB, free: 16.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.3495, allocations: 37.77 kB / 378.2 MB, free: 16.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/0.3495, allocations: 10.28 kB / 378.3 MB, free: 16.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.3495, allocations: 14.91 kB / 378.3 MB, free: 16.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.3499, allocations: 117.7 kB / 378.4 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.3499, allocations: 21.19 kB / 378.4 MB, free: 16.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.3503, allocations: 91.53 kB / 378.5 MB, free: 16.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.386e-05/0.3503, allocations: 42.56 kB / 378.5 MB, free: 16.47 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,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000461/0.3508, allocations: 402.9 kB / 378.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005854/0.3514, allocations: 393.1 kB / 379.3 MB, free: 16.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006035/0.352, allocations: 411.2 kB / 379.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.352, allocations: 11.72 kB / 379.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.3521, allocations: 6.562 kB / 379.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.3521, allocations: 6.844 kB / 379.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.3543, allocations: 1.686 MB / 381.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3543, allocations: 1.938 kB / 381.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003589/0.3547, allocations: 105.5 kB / 381.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.3547, allocations: 5.688 kB / 381.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.3547, allocations: 23.05 kB / 381.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/0.3547, allocations: 5.656 kB / 381.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3547, allocations: 10.34 kB / 381.6 MB, free: 14.92 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:7903:5-7903: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.0015/0.3563, allocations: 1.209 MB / 382.8 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.582e-05/0.3563, allocations: 147.9 kB / 382.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.456e-05/0.3564, allocations: 37.81 kB / 383 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003745/0.3568, allocations: 47.58 kB / 383 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.357, allocations: 85.77 kB / 383.1 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/0.3571, allocations: 35.75 kB / 383.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.3573, allocations: 247.2 kB / 383.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3573, allocations: 0 / 383.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000714/0.358, allocations: 187.1 kB / 383.6 MB, free: 13.82 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002426/0.3583, allocations: 218.6 kB / 383.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.3598, allocations: 0.9222 MB / 384.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3599, allocations: 1.125 kB / 384.7 MB, free: 13.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005113/0.3604, allocations: 294.1 kB / 385 MB, free: 13.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008376/0.3612, allocations: 271.5 kB / 385.2 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.3633, allocations: 1.626 MB / 386.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.3638, allocations: 1.024 MB / 387.9 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003303/0.3642, allocations: 133 kB / 388 MB, free: 11.44 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.3644, allocations: 64.59 kB / 388.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3644, allocations: 0 / 388.1 MB, free: 11.42 MB / 302.1 MB Notification: Performance of Templates: time 0.01186/0.3762, allocations: 6.104 MB / 394.2 MB, free: 9.07 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","../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.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.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