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.0009948/0.0009949, allocations: 94.67 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 205.5 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.413/1.413, allocations: 227.7 MB / 247.5 MB, free: 11.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002915/0.0002914, allocations: 8 kB / 308.4 MB, free: 0.8477 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1193, allocations: 51.53 MB / 359.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.004007/0.1233, allocations: 2.723 MB / 362.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002583/0.126, allocations: 1.153 MB / 363.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007477/0.1267, allocations: 15.94 kB / 363.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003852/0.1271, allocations: 59.42 kB / 363.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004272/0.1276, allocations: 43.59 kB / 363.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.129, allocations: 343.5 kB / 364.2 MB, free: 8.965 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001198/0.1302, allocations: 0.8625 MB / 365.1 MB, free: 8.098 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.1315, allocations: 0.8893 MB / 366 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.1319, allocations: 214.7 kB / 366.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.1323, allocations: 258.2 kB / 366.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.288e-05/0.1324, allocations: 24 kB / 366.5 MB, free: 6.688 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.1326, allocations: 47.91 kB / 366.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.1327, allocations: 123.3 kB / 366.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003797/0.1331, allocations: 347.3 kB / 367 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009944/0.1341, allocations: 1.021 MB / 368 MB, free: 5.148 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1341, allocations: 0 / 368 MB, free: 5.148 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.1341, allocations: 0 / 368 MB, free: 5.148 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.628e-05/0.1342, allocations: 0 / 368 MB, free: 5.148 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.001957/0.1362, allocations: 0.9977 MB / 369 MB, free: 4.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1362, allocations: 12.03 kB / 369 MB, free: 4.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006139/0.1368, allocations: 123.8 kB / 369.1 MB, free: 3.949 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000934/0.1378, allocations: 0.5381 MB / 369.7 MB, free: 3.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.138, allocations: 138 kB / 369.8 MB, free: 3.227 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001952/0.1382, allocations: 96.38 kB / 369.9 MB, free: 3.133 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.1418, allocations: 1.744 MB / 371.6 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.1419, allocations: 3.938 kB / 371.7 MB, free: 1.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.313e-05/0.142, allocations: 36 kB / 371.7 MB, free: 1.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/0.142, allocations: 24 kB / 371.7 MB, free: 1.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/0.1437, allocations: 0.8119 MB / 372.5 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2328/0.3765, allocations: 2.149 MB / 374.7 MB, free: 18.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.3788, allocations: 1.045 MB / 375.7 MB, free: 17.89 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.3798, allocations: 499.2 kB / 376.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.267e-05/0.3799, allocations: 25.52 kB / 376.2 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008968/0.3808, allocations: 402.1 kB / 376.6 MB, free: 17.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 4.679e-06/0.3808, allocations: 0 / 376.6 MB, free: 17.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002613/0.3835, allocations: 1.163 MB / 377.8 MB, free: 17.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.3836, allocations: 260.3 kB / 378 MB, free: 17.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.3842, allocations: 425.9 kB / 378.5 MB, free: 16.81 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.231e-05/0.3843, allocations: 67.41 kB / 378.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.3845, allocations: 277.6 kB / 378.8 MB, free: 16.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.3847, allocations: 160.7 kB / 378.9 MB, free: 16.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001926/0.3849, allocations: 142.8 kB / 379.1 MB, free: 16.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.385, allocations: 374.6 kB / 379.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007509/0.3858, allocations: 333.9 kB / 379.8 MB, free: 15.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008627/0.3866, allocations: 0.6169 MB / 380.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.388, allocations: 0.8622 MB / 381.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.388, allocations: 2.219 kB / 381.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001846/0.3898, allocations: 1.009 MB / 382.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.3899, allocations: 40.84 kB / 382.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.3899, allocations: 10.23 kB / 382.3 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/0.39, allocations: 19.53 kB / 382.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.3903, allocations: 112.2 kB / 382.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.858e-05/0.3904, allocations: 21.64 kB / 382.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.3908, allocations: 99.81 kB / 382.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/0.3909, allocations: 47.28 kB / 382.6 MB, free: 14.29 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.0005989/0.3915, allocations: 409 kB / 383 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000694/0.3922, allocations: 389.5 kB / 383.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.3924, allocations: 84.95 kB / 383.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.692e-05/0.3924, allocations: 11.31 kB / 383.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.3924, allocations: 2.656 kB / 383.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.502e-05/0.3925, allocations: 10.41 kB / 383.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.3952, allocations: 1.677 MB / 385.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3953, allocations: 1.125 kB / 385.2 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.3957, allocations: 105.3 kB / 385.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.3957, allocations: 5.406 kB / 385.3 MB, free: 12.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/0.3958, allocations: 27.92 kB / 385.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.275e-06/0.3958, allocations: 4.406 kB / 385.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.3958, allocations: 2.75 kB / 385.3 MB, free: 12.88 MB / 302.1 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/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.001789/0.3976, allocations: 1.143 MB / 386.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.32e-05/0.3977, allocations: 148.9 kB / 386.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3978, allocations: 37.17 kB / 386.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.3982, allocations: 48.62 kB / 386.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.3984, allocations: 85.34 kB / 386.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.3984, allocations: 32.12 kB / 386.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002536/0.3987, allocations: 253 kB / 387.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3987, allocations: 2.297 kB / 387.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007388/0.3994, allocations: 184.1 kB / 387.2 MB, free: 11.87 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.0002346/0.3997, allocations: 208.5 kB / 387.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.4012, allocations: 0.933 MB / 388.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4013, allocations: 3.938 kB / 388.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005152/0.4018, allocations: 291.5 kB / 388.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.4029, allocations: 291.5 kB / 388.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.4052, allocations: 1.73 MB / 390.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/0.4057, allocations: 0.9984 MB / 391.7 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.4059, allocations: 63.61 kB / 391.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of SimCode: time 1.132e-06/0.406, allocations: 4 kB / 391.7 MB, free: 9.363 MB / 302.1 MB Notification: Performance of Templates: time 0.01101/0.417, allocations: 9.203 MB / 400.9 MB, free: 3.297 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,rotational_clock_1.angle,rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_2.angle,rotational_clock_2.direction,rotational_clock_2.direction_changed,sample_conjunctive.y,sample_disjunctive.y Variables in the result: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,time