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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 119.4 kB / 18.41 MB, free: 4.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001502, allocations: 196.3 kB / 21.35 MB, free: 1.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 222.9 MB / 247 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] 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=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_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 51.91 kB / 358.7 MB, free: 8.344 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1219, allocations: 49.43 MB / 408.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005708/0.1277, allocations: 3.12 MB / 411.2 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.1306, allocations: 1.11 MB / 412.3 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004349/0.1311, allocations: 15.94 kB / 412.3 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.1315, allocations: 90.91 kB / 412.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.1317, allocations: 71.22 kB / 412.5 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1329, allocations: 363.4 kB / 412.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001138/0.1341, allocations: 0.9523 MB / 413.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001349/0.1354, allocations: 0.9322 MB / 414.7 MB, free: 164 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006122/0.136, allocations: 394.7 kB / 415.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.1366, allocations: 434 kB / 415.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.1367, allocations: 120 kB / 415.7 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002562/0.137, allocations: 136 kB / 415.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002717/0.1373, allocations: 259.2 kB / 416 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004983/0.1378, allocations: 477.6 kB / 416.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.1393, allocations: 1.362 MB / 417.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1394, allocations: 0 / 417.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1394, allocations: 0 / 417.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.406e-05/0.1394, allocations: 0 / 417.9 MB, free: 13.01 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.002204/0.1416, allocations: 1.203 MB / 419.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1416, allocations: 12.03 kB / 419.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.1419, allocations: 108.3 kB / 419.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008098/0.1427, allocations: 0.5462 MB / 419.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.1428, allocations: 134 kB / 419.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.143, allocations: 100.4 kB / 420 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00334/0.1463, allocations: 1.729 MB / 421.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.1464, allocations: 0 / 421.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00013/0.1465, allocations: 36 kB / 421.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/0.1466, allocations: 20 kB / 421.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.1484, allocations: 0.786 MB / 422.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/0.152, allocations: 2.118 MB / 424.7 MB, free: 5.969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.1541, allocations: 1.032 MB / 425.7 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008898/0.155, allocations: 487.8 kB / 426.2 MB, free: 4.359 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.512e-05/0.1551, allocations: 24.05 kB / 426.2 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007688/0.1559, allocations: 399.2 kB / 426.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 2.855e-06/0.1559, allocations: 0 / 426.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002575/0.1585, allocations: 1.152 MB / 427.7 MB, free: 2.773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000213/0.1587, allocations: 243.5 kB / 428 MB, free: 2.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000596/0.1593, allocations: 425.3 kB / 428.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.1594, allocations: 69.67 kB / 428.5 MB, free: 1.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000286/0.1597, allocations: 281.8 kB / 428.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.1599, allocations: 170.9 kB / 428.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.1603, allocations: 214.5 kB / 429.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.1605, allocations: 374.8 kB / 429.5 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006697/0.1612, allocations: 321.7 kB / 429.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2044/0.3656, allocations: 0.6066 MB / 430.4 MB, free: 21.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.3669, allocations: 0.8478 MB / 431.2 MB, free: 21.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3669, allocations: 3.594 kB / 431.2 MB, free: 21.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001581/0.3685, allocations: 0.999 MB / 432.2 MB, free: 21.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.747e-05/0.3686, allocations: 36.7 kB / 432.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.3686, allocations: 9.219 kB / 432.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.163e-05/0.3686, allocations: 15.44 kB / 432.3 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/0.369, allocations: 111.8 kB / 432.4 MB, free: 21.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/0.369, allocations: 19.97 kB / 432.4 MB, free: 21.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00039/0.3694, allocations: 89.95 kB / 432.5 MB, free: 21.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.614e-05/0.3695, allocations: 41.42 kB / 432.6 MB, free: 21.43 MB / 350.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.0005348/0.37, allocations: 409.6 kB / 433 MB, free: 21.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006113/0.3707, allocations: 391.5 kB / 433.3 MB, free: 21.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006246/0.3713, allocations: 423.6 kB / 433.8 MB, free: 21.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.3713, allocations: 12.92 kB / 433.8 MB, free: 21.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.3713, allocations: 3.188 kB / 433.8 MB, free: 21.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.806e-05/0.3714, allocations: 8.688 kB / 433.8 MB, free: 21.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.3738, allocations: 1.66 MB / 435.4 MB, free: 20.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.3738, allocations: 5.531 kB / 435.4 MB, free: 20.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004273/0.3743, allocations: 91.97 kB / 435.5 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.514e-05/0.3743, allocations: 5.469 kB / 435.5 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/0.3743, allocations: 23.3 kB / 435.6 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/0.3744, allocations: 6.297 kB / 435.6 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.3744, allocations: 7.125 kB / 435.6 MB, free: 20.73 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011: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.001741/0.3761, allocations: 1.14 MB / 436.7 MB, free: 20.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.3762, allocations: 150 kB / 436.9 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.3764, allocations: 35.81 kB / 436.9 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003731/0.3767, allocations: 38.91 kB / 436.9 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.377, allocations: 85.91 kB / 437 MB, free: 20.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.808e-05/0.377, allocations: 33.3 kB / 437.1 MB, free: 20.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002755/0.3773, allocations: 251.6 kB / 437.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3773, allocations: 1.25 kB / 437.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001114/0.3785, allocations: 190.9 kB / 437.5 MB, free: 20.14 MB / 350.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.0003292/0.3788, allocations: 223.3 kB / 437.7 MB, free: 20.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.3806, allocations: 0.9123 MB / 438.6 MB, free: 19.9 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.3806, allocations: 5.312 kB / 438.6 MB, free: 19.9 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.3811, allocations: 278.4 kB / 438.9 MB, free: 19.89 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.3822, allocations: 300.5 kB / 439.2 MB, free: 19.86 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.3846, allocations: 1.459 MB / 440.6 MB, free: 19.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.3851, allocations: 0.9995 MB / 441.6 MB, free: 18.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002261/0.3854, allocations: 67.48 kB / 441.7 MB, free: 18.57 MB / 350.1 MB Notification: Performance of SimCode: time 1.723e-06/0.3854, allocations: 0 / 441.7 MB, free: 18.57 MB / 350.1 MB Notification: Performance of Templates: time 0.01786/0.4033, allocations: 9.575 MB / 451.3 MB, free: 15.66 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/LogicalSample/LogicalSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: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 [Calling sys.exit(0), Time elapsed: 8.029608692973852]