Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotational_clock_1.angle|rotational_clock_1.direction|rotational_clock_1.direction_changed|rotational_clock_2.angle|rotational_clock_2.direction|rotational_clock_2.direction_changed|sample_conjunctive.y|sample_disjunctive.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rotational_clock_1.angle|rotational_clock_1.direction|rotational_clock_1.direction_changed|rotational_clock_2.angle|rotational_clock_2.direction|rotational_clock_2.direction_changed|sample_conjunctive.y|sample_disjunctive.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 111.7 kB / 17.68 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 192 kB / 18.62 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001025/0.001025, allocations: 50.98 kB / 302.1 MB, free: 5.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1146, allocations: 49.45 MB / 351.5 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.005096/0.1198, allocations: 3.101 MB / 354.6 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002221/0.122, allocations: 1.118 MB / 355.7 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002694/0.1223, allocations: 15.94 kB / 355.7 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002743/0.1226, allocations: 86.92 kB / 355.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.1228, allocations: 67.22 kB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009374/0.1237, allocations: 375.4 kB / 356.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009281/0.1247, allocations: 0.9483 MB / 357.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.1258, allocations: 0.9244 MB / 358.1 MB, free: 13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.1263, allocations: 402.6 kB / 358.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.1267, allocations: 426 kB / 358.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000135/0.1268, allocations: 120 kB / 359.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001879/0.127, allocations: 136 kB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.1273, allocations: 271.2 kB / 359.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.1277, allocations: 469.7 kB / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.1291, allocations: 1.367 MB / 361.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1291, allocations: 0 / 361.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1291, allocations: 0 / 361.3 MB, free: 9.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.737e-05/0.1291, allocations: 3.938 kB / 361.3 MB, free: 9.832 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.001997/0.1311, allocations: 1.173 MB / 362.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.1312, allocations: 8.031 kB / 362.5 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.1314, allocations: 111.7 kB / 362.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008801/0.1323, allocations: 0.5421 MB / 363.1 MB, free: 7.887 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002018/0.1325, allocations: 134 kB / 363.2 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.1327, allocations: 96.38 kB / 363.3 MB, free: 7.652 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002813/0.1355, allocations: 1.722 MB / 365.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.1355, allocations: 0 / 365.1 MB, free: 5.871 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/0.1356, allocations: 35.98 kB / 365.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.1356, allocations: 23.94 kB / 365.1 MB, free: 5.812 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.1375, allocations: 0.7976 MB / 365.9 MB, free: 5.016 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003466/0.1409, allocations: 2.109 MB / 368 MB, free: 2.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.1427, allocations: 1.038 MB / 369.1 MB, free: 1.715 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007865/0.1435, allocations: 480.3 kB / 369.5 MB, free: 1.227 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.495e-05/0.1436, allocations: 28.73 kB / 369.6 MB, free: 1.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006693/0.1443, allocations: 403 kB / 370 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 3.517e-06/0.1443, allocations: 0 / 370 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.2019/0.3462, allocations: 1.136 MB / 371.1 MB, free: 25.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.3464, allocations: 250.9 kB / 371.3 MB, free: 25.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.347, allocations: 419.7 kB / 371.7 MB, free: 25.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001314/0.3472, allocations: 64.3 kB / 371.8 MB, free: 25.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000221/0.3474, allocations: 278.7 kB / 372.1 MB, free: 25.05 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.3476, allocations: 164.1 kB / 372.2 MB, free: 24.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003592/0.3479, allocations: 216.6 kB / 372.5 MB, free: 24.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.3481, allocations: 369.3 kB / 372.8 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/0.3487, allocations: 320.2 kB / 373.1 MB, free: 24.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007809/0.3495, allocations: 0.613 MB / 373.7 MB, free: 24.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/0.3509, allocations: 0.8585 MB / 374.6 MB, free: 23.7 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/0.351, allocations: 2.531 kB / 374.6 MB, free: 23.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002118/0.3531, allocations: 0.995 MB / 375.6 MB, free: 23.3 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.605e-05/0.3532, allocations: 39.34 kB / 375.6 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/0.3532, allocations: 13.16 kB / 375.6 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.902e-05/0.3533, allocations: 14.72 kB / 375.7 MB, free: 23.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.3537, allocations: 112.9 kB / 375.8 MB, free: 23.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-05/0.3537, allocations: 20.61 kB / 375.8 MB, free: 23.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004597/0.3542, allocations: 84.14 kB / 375.9 MB, free: 23.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.3543, allocations: 46.12 kB / 375.9 MB, free: 23.19 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.0007323/0.3551, allocations: 414 kB / 376.3 MB, free: 22.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008334/0.3559, allocations: 389.2 kB / 376.7 MB, free: 22.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/0.3567, allocations: 417.1 kB / 377.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.3567, allocations: 11 kB / 377.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.3568, allocations: 3.453 kB / 377.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.3568, allocations: 6.578 kB / 377.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002488/0.3593, allocations: 1.66 MB / 378.8 MB, free: 21.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3593, allocations: 2.156 kB / 378.8 MB, free: 21.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.3597, allocations: 95.62 kB / 378.9 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/0.3597, allocations: 5.281 kB / 378.9 MB, free: 21.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.068e-05/0.3598, allocations: 23.67 kB / 378.9 MB, free: 21.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.509e-05/0.3598, allocations: 10.12 kB / 378.9 MB, free: 21.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.3598, allocations: 2.312 kB / 378.9 MB, free: 21.66 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: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.002168/0.362, allocations: 1.139 MB / 380.1 MB, free: 21.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.3621, allocations: 144.6 kB / 380.2 MB, free: 20.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.3622, allocations: 36.73 kB / 380.2 MB, free: 20.89 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.3626, allocations: 36.25 kB / 380.3 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.3628, allocations: 87.36 kB / 380.4 MB, free: 20.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.375e-05/0.3629, allocations: 39.91 kB / 380.4 MB, free: 20.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002625/0.3632, allocations: 251.6 kB / 380.6 MB, free: 20.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3632, allocations: 3.188 kB / 380.7 MB, free: 20.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008232/0.364, allocations: 196.1 kB / 380.8 MB, free: 20.64 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.0002886/0.3643, allocations: 211.8 kB / 381.1 MB, free: 20.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001865/0.3662, allocations: 0.9091 MB / 382 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3662, allocations: 1.188 kB / 382 MB, free: 20.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005514/0.3667, allocations: 289.5 kB / 382.2 MB, free: 20.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.3679, allocations: 292.8 kB / 382.5 MB, free: 19.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.3705, allocations: 1.424 MB / 384 MB, free: 19.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.3712, allocations: 1.012 MB / 385 MB, free: 18.49 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003772/0.3716, allocations: 135.6 kB / 385.1 MB, free: 18.47 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.3718, allocations: 61.28 kB / 385.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of SimCode: time 1.413e-06/0.3718, allocations: 0 / 385.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of Templates: time 0.01381/0.3856, allocations: 6.908 MB / 392.1 MB, free: 15.84 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat","/var/lib/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_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches