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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001571/0.001571, allocations: 81.23 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 159.4 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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=5195,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=5195,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 66.77 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.125, allocations: 53.39 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005138/0.1301, allocations: 3.017 MB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00233/0.1325, allocations: 1.157 MB / 383.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.1327, allocations: 31.81 kB / 383.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002534/0.133, allocations: 90.97 kB / 383.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.1331, allocations: 71.22 kB / 383.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009337/0.1341, allocations: 394.9 kB / 383.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000964/0.135, allocations: 0.9486 MB / 384.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008174/0.1358, allocations: 0.5461 MB / 385.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005228/0.1364, allocations: 414.6 kB / 385.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004926/0.1368, allocations: 445.9 kB / 386 MB, free: 8.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.137, allocations: 120 kB / 386.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.1372, allocations: 140 kB / 386.2 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000265/0.1375, allocations: 259.3 kB / 386.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003726/0.1379, allocations: 378.2 kB / 386.9 MB, free: 7.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.1393, allocations: 1.385 MB / 388.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1393, allocations: 4 kB / 388.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1393, allocations: 0 / 388.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.289e-05/0.1393, allocations: 4 kB / 388.3 MB, free: 6.051 MB / 350.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.00194/0.1412, allocations: 1.136 MB / 389.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1413, allocations: 15.98 kB / 389.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/0.1417, allocations: 128.2 kB / 389.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008371/0.1425, allocations: 0.4937 MB / 390 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.1427, allocations: 185.4 kB / 390.2 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.1428, allocations: 100.4 kB / 390.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/0.1457, allocations: 1.764 MB / 392.1 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.1457, allocations: 4 kB / 392.1 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.1458, allocations: 36 kB / 392.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/0.1458, allocations: 23.98 kB / 392.1 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.1474, allocations: 0.7894 MB / 392.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002863/0.1503, allocations: 1.724 MB / 394.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.1519, allocations: 0.9078 MB / 395.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007577/0.1526, allocations: 441.8 kB / 396 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.245e-05/0.1527, allocations: 19.98 kB / 396 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007064/0.1534, allocations: 451.6 kB / 396.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=102): time 2.635e-06/0.1534, allocations: 0 / 396.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.002246/0.1557, allocations: 1.138 MB / 397.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001944/0.1558, allocations: 257.4 kB / 397.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004528/0.1563, allocations: 388.2 kB / 398.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.272e-05/0.1564, allocations: 65.69 kB / 398.3 MB, free: 11.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.1566, allocations: 281.8 kB / 398.6 MB, free: 11.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.1568, allocations: 162.9 kB / 398.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002816/0.1571, allocations: 222.5 kB / 398.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1573, allocations: 374.8 kB / 399.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005994/0.1579, allocations: 347.5 kB / 399.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/0.1587, allocations: 0.6409 MB / 400.3 MB, free: 9.461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.16, allocations: 0.8363 MB / 401.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.16, allocations: 0 / 401.1 MB, free: 8.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001747/0.1617, allocations: 1.024 MB / 402.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.1618, allocations: 37.7 kB / 402.2 MB, free: 7.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.1618, allocations: 12 kB / 402.2 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.1618, allocations: 16 kB / 402.2 MB, free: 7.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000346/0.1622, allocations: 107.7 kB / 402.3 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.992e-05/0.1622, allocations: 19.94 kB / 402.3 MB, free: 7.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.1626, allocations: 87.47 kB / 402.4 MB, free: 7.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.1627, allocations: 47.98 kB / 402.5 MB, free: 7.117 MB / 366.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.0006339/0.1633, allocations: 407.6 kB / 402.9 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006923/0.164, allocations: 400.2 kB / 403.3 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001845/0.1642, allocations: 79.09 kB / 403.3 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.1642, allocations: 12 kB / 403.3 MB, free: 6.223 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.1642, allocations: 8 kB / 403.3 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.1642, allocations: 4.109 kB / 403.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.1665, allocations: 1.424 MB / 404.8 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.1665, allocations: 4 kB / 404.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.1668, allocations: 87.81 kB / 404.9 MB, free: 4.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/0.1668, allocations: 12 kB / 404.9 MB, free: 4.645 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.885e-05/0.1669, allocations: 19.98 kB / 404.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/0.1669, allocations: 11.98 kB / 404.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1669, allocations: 3.938 kB / 404.9 MB, free: 4.609 MB / 366.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:8032:5-8032: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.001726/0.1686, allocations: 1.121 MB / 406 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.381e-05/0.1687, allocations: 63.48 kB / 406.1 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.325e-05/0.1688, allocations: 31.98 kB / 406.1 MB, free: 3.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.1692, allocations: 47.97 kB / 406.2 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001878/0.1694, allocations: 87.81 kB / 406.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.002e-05/0.1694, allocations: 35.98 kB / 406.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002525/0.1697, allocations: 219 kB / 406.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1697, allocations: 0 / 406.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007647/0.1704, allocations: 187.5 kB / 406.7 MB, free: 2.797 MB / 366.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.0002862/0.1707, allocations: 212.3 kB / 406.9 MB, free: 2.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001595/0.1723, allocations: 0.9059 MB / 407.8 MB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1723, allocations: 0.75 kB / 407.8 MB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000505/0.1728, allocations: 267.7 kB / 408.1 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.1739, allocations: 303.9 kB / 408.4 MB, free: 1.098 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00244/0.1763, allocations: 1.453 MB / 409.8 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004805/0.1768, allocations: 425 kB / 410.2 MB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003068/0.1771, allocations: 128.7 kB / 410.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001752/0.1773, allocations: 60.48 kB / 410.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1773, allocations: 0 / 410.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of Templates: time 0.01427/0.1916, allocations: 6.788 MB / 417.2 MB, free: 8.242 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] "" 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[2].k,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.useSolver,cosine_angle_input.amplitude,cosine_angle_input.continuous,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[2].k,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.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.continuous,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 [Calling sys.exit(0), Time elapsed: 4.8529412059579045]