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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009065/0.0009068, allocations: 87.22 kB / 16.31 MB, free: 6.457 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.0009467/0.0009469, allocations: 180.8 kB / 17.21 MB, free: 6.328 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.34/1.34, allocations: 223.3 MB / 241.2 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.0004143, allocations: 5.469 kB / 300.9 MB, free: 5.996 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1121, allocations: 50.42 MB / 351.3 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.003625/0.1157, allocations: 2.605 MB / 353.9 MB, free: 9.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.1178, allocations: 1.048 MB / 355 MB, free: 7.961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002585/0.1181, allocations: 15.94 kB / 355 MB, free: 7.945 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001972/0.1183, allocations: 59.42 kB / 355.1 MB, free: 7.887 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.1185, allocations: 31.66 kB / 355.1 MB, free: 7.855 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007677/0.1192, allocations: 267.6 kB / 355.4 MB, free: 7.594 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007284/0.12, allocations: 0.8195 MB / 356.2 MB, free: 6.773 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000826/0.1208, allocations: 0.6534 MB / 356.8 MB, free: 6.098 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002969/0.1211, allocations: 194.9 kB / 357 MB, free: 5.906 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.1214, allocations: 254.3 kB / 357.3 MB, free: 5.656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.1214, allocations: 20 kB / 357.3 MB, free: 5.637 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1215, allocations: 31.98 kB / 357.3 MB, free: 5.605 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1217, allocations: 115.4 kB / 357.4 MB, free: 5.492 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.1218, allocations: 153.3 kB / 357.6 MB, free: 5.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008678/0.1227, allocations: 1.025 MB / 358.6 MB, free: 4.309 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1227, allocations: 4 kB / 358.6 MB, free: 4.305 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1227, allocations: 0 / 358.6 MB, free: 4.305 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.1227, allocations: 0 / 358.6 MB, free: 4.305 MB / 286.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.001533/0.1242, allocations: 0.9976 MB / 359.6 MB, free: 3.238 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1243, allocations: 8.031 kB / 359.6 MB, free: 3.23 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.1245, allocations: 155.9 kB / 359.8 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001525/0.1246, allocations: 110.7 kB / 359.9 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006736/0.1253, allocations: 0.51 MB / 360.4 MB, free: 2.41 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.1254, allocations: 137.4 kB / 360.5 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.1256, allocations: 103.9 kB / 360.6 MB, free: 2.16 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002742/0.1283, allocations: 1.71 MB / 362.3 MB, free: 404 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.1284, allocations: 3.938 kB / 362.3 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.339e-05/0.1284, allocations: 36 kB / 362.4 MB, free: 364 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.1285, allocations: 23.98 kB / 362.4 MB, free: 340 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.13, allocations: 0.7968 MB / 363.2 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.1332, allocations: 2.16 MB / 365.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/0.1349, allocations: 1.042 MB / 366.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007799/0.1357, allocations: 488 kB / 366.9 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-05/0.1358, allocations: 28.75 kB / 366.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006972/0.1365, allocations: 419.1 kB / 367.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=102): time 2.955e-06/0.1365, allocations: 0 / 367.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=102): time 0.002329/0.1389, allocations: 1.155 MB / 368.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/0.139, allocations: 245.5 kB / 368.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.1395, allocations: 429 kB / 369.1 MB, free: 9.355 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.252e-05/0.1396, allocations: 61.69 kB / 369.2 MB, free: 9.289 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.1398, allocations: 281.2 kB / 369.5 MB, free: 9.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/0.14, allocations: 154.3 kB / 369.6 MB, free: 8.855 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.14, allocations: 16 kB / 369.6 MB, free: 8.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1402, allocations: 374.8 kB / 370 MB, free: 8.465 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006153/0.1408, allocations: 325.8 kB / 370.3 MB, free: 8.148 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007261/0.1415, allocations: 0.6121 MB / 370.9 MB, free: 7.406 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.1422, allocations: 401.5 kB / 371.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.1422, allocations: 7.953 kB / 371.3 MB, free: 7 MB / 302.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001602/0.1438, allocations: 1.005 MB / 372.3 MB, free: 5.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.1439, allocations: 37.7 kB / 372.4 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.1439, allocations: 11.94 kB / 372.4 MB, free: 5.93 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.628e-05/0.1439, allocations: 16.34 kB / 372.4 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003657/0.1443, allocations: 120.2 kB / 372.5 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.1443, allocations: 19.94 kB / 372.5 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.1447, allocations: 95.25 kB / 372.6 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/0.1448, allocations: 40 kB / 372.7 MB, free: 5.645 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.0005775/0.1454, allocations: 407.1 kB / 373.1 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006361/0.146, allocations: 386.8 kB / 373.4 MB, free: 4.852 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006641/0.1467, allocations: 414.2 kB / 373.8 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.1467, allocations: 15.95 kB / 373.9 MB, free: 4.43 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.1467, allocations: 3.938 kB / 373.9 MB, free: 4.426 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.1467, allocations: 11.97 kB / 373.9 MB, free: 4.414 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/0.149, allocations: 1.686 MB / 375.6 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.149, allocations: 0 / 375.6 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003602/0.1494, allocations: 103.7 kB / 375.7 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.1494, allocations: 4 kB / 375.7 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.863e-05/0.1494, allocations: 23.98 kB / 375.7 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.096e-06/0.1494, allocations: 8 kB / 375.7 MB, free: 2.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1495, allocations: 4 kB / 375.7 MB, free: 2.531 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.001551/0.151, allocations: 1.149 MB / 376.8 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1511, allocations: 148.2 kB / 377 MB, free: 1.191 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-05/0.1512, allocations: 39.98 kB / 377 MB, free: 1.152 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003489/0.1516, allocations: 43.97 kB / 377.1 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.1518, allocations: 87.88 kB / 377.2 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.88e-05/0.1518, allocations: 31.98 kB / 377.2 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.1521, allocations: 247.2 kB / 377.4 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1521, allocations: 0 / 377.4 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006856/0.1528, allocations: 187.4 kB / 377.6 MB, free: 0.5625 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.001849/0.1546, allocations: 1.429 MB / 379 MB, free: 15.1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001495/0.1561, allocations: 0.9123 MB / 380 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1561, allocations: 1.938 kB / 380 MB, free: 14.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.1566, allocations: 293.8 kB / 380.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009784/0.1576, allocations: 295.6 kB / 380.5 MB, free: 13.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.1602, allocations: 1.671 MB / 382.2 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/0.1608, allocations: 1.007 MB / 383.2 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000305/0.1611, allocations: 132.7 kB / 383.3 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.1615, allocations: 267.3 kB / 383.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1615, allocations: 4 kB / 383.6 MB, free: 10.45 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.1882, allocations: 12.71 MB / 396.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.1884, allocations: 196.5 kB / 396.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.314/2.502, allocations: 64 / 396.5 MB, free: 13.7 MB / 334.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample_res.mat does not exist to compare? outputFormat=mat