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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008493/0.0008493, allocations: 98.98 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008899/0.0008901, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 246 MB, free: 11.97 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002567/0.0002567, allocations: 4 kB / 306.8 MB, free: 1.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1131, allocations: 51.49 MB / 358.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003733/0.1169, allocations: 2.623 MB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.1189, allocations: 1.114 MB / 362 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.1192, allocations: 15.94 kB / 362.1 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001835/0.1194, allocations: 59.42 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.1196, allocations: 31.66 kB / 362.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007837/0.1203, allocations: 271.1 kB / 362.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007215/0.1211, allocations: 0.8194 MB / 363.2 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008389/0.1219, allocations: 0.6573 MB / 363.9 MB, free: 8.355 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003144/0.1222, allocations: 202.8 kB / 364.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.1225, allocations: 246.4 kB / 364.3 MB, free: 7.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.874e-05/0.1226, allocations: 16 kB / 364.3 MB, free: 7.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1227, allocations: 47.92 kB / 364.4 MB, free: 7.852 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.1228, allocations: 123.4 kB / 364.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.123, allocations: 157.2 kB / 364.7 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008477/0.1238, allocations: 1.025 MB / 365.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1238, allocations: 0 / 365.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1238, allocations: 0 / 365.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.1239, allocations: 0 / 365.7 MB, free: 6.543 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.001611/0.1255, allocations: 1.002 MB / 366.7 MB, free: 5.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.1255, allocations: 8.031 kB / 366.7 MB, free: 5.465 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.1257, allocations: 152 kB / 366.9 MB, free: 5.309 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003269/0.126, allocations: 130.8 kB / 367 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006825/0.1267, allocations: 0.5216 MB / 367.5 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001348/0.1269, allocations: 137.3 kB / 367.6 MB, free: 4.469 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.127, allocations: 96 kB / 367.7 MB, free: 4.375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.1298, allocations: 1.717 MB / 369.4 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.1298, allocations: 0 / 369.4 MB, free: 2.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/0.1299, allocations: 36 kB / 369.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.1299, allocations: 23.95 kB / 369.5 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001498/0.1314, allocations: 0.812 MB / 370.3 MB, free: 1.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2168/0.3483, allocations: 2.144 MB / 372.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001759/0.3501, allocations: 1.037 MB / 373.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009163/0.351, allocations: 489.2 kB / 374 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.3511, allocations: 27.19 kB / 374 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008553/0.352, allocations: 408.3 kB / 374.4 MB, free: 17.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 3.186e-06/0.352, allocations: 3.469 kB / 374.4 MB, free: 17.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002374/0.3544, allocations: 1.157 MB / 375.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.3545, allocations: 251.7 kB / 375.8 MB, free: 17.44 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005278/0.355, allocations: 423.3 kB / 376.2 MB, free: 17.31 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.68e-05/0.3551, allocations: 61.3 kB / 376.3 MB, free: 17.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.3553, allocations: 279.6 kB / 376.6 MB, free: 17.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.3555, allocations: 162.2 kB / 376.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.3555, allocations: 20.12 kB / 376.7 MB, free: 16.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3556, allocations: 368.9 kB / 377.1 MB, free: 16.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005712/0.3562, allocations: 326.4 kB / 377.4 MB, free: 16.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/0.3569, allocations: 0.6167 MB / 378 MB, free: 16.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006136/0.3575, allocations: 399.5 kB / 378.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.3575, allocations: 4.219 kB / 378.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001547/0.3591, allocations: 0.998 MB / 379.4 MB, free: 15.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.3591, allocations: 52.06 kB / 379.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.3591, allocations: 9.594 kB / 379.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.3592, allocations: 16.89 kB / 379.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.3595, allocations: 109.3 kB / 379.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/0.3596, allocations: 20.75 kB / 379.6 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.3599, allocations: 96.27 kB / 379.7 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/0.36, allocations: 43.67 kB / 379.8 MB, free: 15.36 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 91 (disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_sample.y,rotational_clock_2.changed.y,rotational_clock_2.changed.u,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.combinator.y,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_sample.y,rotational_clock_1.changed.y,rotational_clock_1.changed.u,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 2 (rotational_clock_2.changed.u,rotational_clock_1.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000497/0.3605, allocations: 402 kB / 380.2 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006118/0.3611, allocations: 398.6 kB / 380.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000647/0.3618, allocations: 411.1 kB / 380.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.3618, allocations: 16.48 kB / 381 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.497e-06/0.3618, allocations: 1.906 kB / 381 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.3618, allocations: 7.125 kB / 381 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.3641, allocations: 1.684 MB / 382.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3641, allocations: 2.938 kB / 382.7 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.3645, allocations: 98.12 kB / 382.7 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.3645, allocations: 9.812 kB / 382.8 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.791e-05/0.3645, allocations: 26.44 kB / 382.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-05/0.3646, allocations: 9.547 kB / 382.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.3646, allocations: 2.125 kB / 382.8 MB, free: 13.82 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:7863:5-7863: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.001536/0.3661, allocations: 1.149 MB / 383.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.3662, allocations: 148.4 kB / 384.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3663, allocations: 37.17 kB / 384.1 MB, free: 13.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003612/0.3667, allocations: 48.02 kB / 384.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.3669, allocations: 88.67 kB / 384.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.877e-05/0.367, allocations: 32.77 kB / 384.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002824/0.3672, allocations: 248.7 kB / 384.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3673, allocations: 0 / 384.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001079/0.3683, allocations: 190.1 kB / 384.7 MB, free: 12.82 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 [/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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1766:3-1766:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.001996/0.3703, allocations: 1.415 MB / 386.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.372, allocations: 0.9124 MB / 387 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.372, allocations: 5.219 kB / 387.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005493/0.3726, allocations: 292.5 kB / 387.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.3736, allocations: 292.4 kB / 387.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.3766, allocations: 1.67 MB / 389.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006238/0.3773, allocations: 1.018 MB / 390.3 MB, free: 9.723 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003719/0.3776, allocations: 127.9 kB / 390.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.3781, allocations: 269.9 kB / 390.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of SimCode: time 1.773e-06/0.3781, allocations: 0 / 390.7 MB, free: 9.516 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.4058, allocations: 12.68 MB / 403.4 MB, free: 376 kB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.406, allocations: 202.9 kB / 403.6 MB, free: 132 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.17/2.576, allocations: 0.9844 kB / 403.6 MB, free: 132 kB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat does not exist to compare? outputFormat=mat