Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001354/0.001354, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001401/0.001401, allocations: 207.4 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_LogicalSample",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.89 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3599, allocations: 53.41 MB / 432 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.LogicalSample): time 0.00598/0.3659, allocations: 3.169 MB / 435.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.369, allocations: 1.231 MB / 436.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004482/0.3695, allocations: 31.75 kB / 436.4 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.3698, allocations: 90.97 kB / 436.5 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001873/0.37, allocations: 71.22 kB / 436.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.3711, allocations: 402.9 kB / 436.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001044/0.3722, allocations: 0.9445 MB / 437.9 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009251/0.3731, allocations: 0.5578 MB / 438.4 MB, free: 172 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007468/0.3739, allocations: 410.7 kB / 438.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005647/0.3744, allocations: 434 kB / 439.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.3746, allocations: 120 kB / 439.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.3749, allocations: 144 kB / 439.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003428/0.3752, allocations: 259.2 kB / 439.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005779/0.3758, allocations: 477.6 kB / 440.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.3775, allocations: 1.375 MB / 441.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3775, allocations: 0 / 441.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.3775, allocations: 0 / 441.6 MB, free: 12.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.3775, allocations: 7.938 kB / 441.6 MB, free: 12.98 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.002634/0.3802, allocations: 1.136 MB / 442.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.27e-05/0.3802, allocations: 8.031 kB / 442.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.783e-05/0.3803, allocations: 26.19 kB / 442.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001962/0.3805, allocations: 152.2 kB / 442.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005153/0.381, allocations: 132.2 kB / 443.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000907/0.3819, allocations: 0.4897 MB / 443.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.3821, allocations: 189.4 kB / 443.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.3822, allocations: 100.1 kB / 443.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.3854, allocations: 1.714 MB / 445.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.3855, allocations: 0 / 445.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.856e-05/0.3856, allocations: 47.92 kB / 445.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.3856, allocations: 20 kB / 445.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.3873, allocations: 0.7921 MB / 446.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.3909, allocations: 2.078 MB / 448.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001874/0.3928, allocations: 0.9038 MB / 449.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008404/0.3936, allocations: 448.5 kB / 449.8 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.859e-05/0.3937, allocations: 24.06 kB / 449.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008012/0.3945, allocations: 395.3 kB / 450.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=102): time 3.407e-06/0.3945, allocations: 0 / 450.3 MB, free: 4.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=102): time 0.002493/0.397, allocations: 1.141 MB / 451.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002344/0.3972, allocations: 249.5 kB / 451.6 MB, free: 2.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/0.398, allocations: 429.3 kB / 452.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.3981, allocations: 73.67 kB / 452.1 MB, free: 2.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/0.3984, allocations: 285.8 kB / 452.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.3986, allocations: 162.9 kB / 452.6 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003261/0.3989, allocations: 210.6 kB / 452.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.3991, allocations: 374.8 kB / 453.1 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006261/0.3998, allocations: 317.8 kB / 453.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009656/0.4007, allocations: 0.6197 MB / 454.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.4021, allocations: 0.8378 MB / 454.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.4021, allocations: 0 / 454.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00188/0.404, allocations: 0.9901 MB / 455.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.4041, allocations: 41.69 kB / 455.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.4041, allocations: 8.688 kB / 455.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.085e-05/0.4041, allocations: 20 kB / 456 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.4045, allocations: 111.7 kB / 456.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.673e-05/0.4046, allocations: 23.92 kB / 456.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/0.405, allocations: 83.5 kB / 456.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/0.4051, allocations: 43.98 kB / 456.2 MB, free: 13.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 91 (disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_sample.y,rotational_clock_2.changed.y,$CLKPRE.rotational_clock_2.changed.u,rotational_clock_2.changed.u,rotational_clock_2.cast.y,rotational_clock_2.direction_changed,rotational_clock_2.direction,$whenCondition5,disjunctiveClock.splitter.y[2],disjunctiveClock.reset_ticked.input_ticked.u,$PRE.disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.input_memory[2].pre.u,$PRE.disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[1].pre.u,$PRE.disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].Q,disjunctiveClock.suppress_S[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.input_ticked[2].input_ticked.u,$PRE.disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_ticked[1].input_ticked.u,$PRE.disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.combinator.y,disjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_sample.y,$whenCondition4,conjunctiveClock.splitter.y[2],conjunctiveClock.reset_ticked.input_ticked.u,$PRE.conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_memory[2].pre.u,$PRE.conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[1].pre.u,$PRE.conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].Q,conjunctiveClock.suppress_S[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.input_ticked[2].input_ticked.u,$PRE.conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,$PRE.conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.combinator.y,conjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.input_ticked[1].input_hold.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_sample.y,rotational_clock_1.changed.y,$CLKPRE.rotational_clock_1.changed.u,rotational_clock_1.changed.u,rotational_clock_1.cast.y,rotational_clock_1.direction_changed,rotational_clock_1.direction,$whenCondition3,$whenCondition2,rotational_clock_2.less.y,rotational_clock_1.less.y,trigger_interval_input.count,$PRE.trigger_interval_input.count,trigger_interval_input.T_start,$PRE.trigger_interval_input.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 2 (rotational_clock_2.changed.u,rotational_clock_1.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007191/0.4058, allocations: 411.1 kB / 456.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008493/0.4066, allocations: 395.6 kB / 457 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.4068, allocations: 83.22 kB / 457.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.4069, allocations: 15.94 kB / 457.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.4069, allocations: 4 kB / 457.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.727e-05/0.4069, allocations: 11.97 kB / 457.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00273/0.4096, allocations: 1.63 MB / 458.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.4096, allocations: 0 / 458.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004011/0.41, allocations: 95.8 kB / 458.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.41, allocations: 4 kB / 458.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.116e-05/0.4101, allocations: 27.98 kB / 458.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/0.4101, allocations: 11.88 kB / 458.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.4101, allocations: 4 kB / 458.9 MB, free: 10.94 MB / 366.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_ticked.u disjunctiveClock.reset_ticked.input_hold.u disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_tick.u equations: disjunctiveClock.reset_ticked.input_tick.u = disjunctiveClock.reset_ticked.input_sample.y disjunctiveClock.reset_ticked.input_tick.y = not disjunctiveClock.reset_ticked.input_tick.u disjunctiveClock.reset_ticked.input_hold.u = disjunctiveClock.reset_ticked.input_tick.y disjunctiveClock.reset_ticked.input_ticked.u = $getPart(disjunctiveClock.reset_ticked.input_hold.u) disjunctiveClock.reset_ticked.input_sample.y = $getPart(disjunctiveClock.reset_ticked.input_ticked.u) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8030:5-8030: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.001816/0.4119, allocations: 1.128 MB / 460 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.412, allocations: 75.42 kB / 460.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.4122, allocations: 39.98 kB / 460.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000373/0.4125, allocations: 39.97 kB / 460.2 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.4127, allocations: 91.81 kB / 460.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.318e-05/0.4128, allocations: 27.98 kB / 460.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003157/0.4131, allocations: 255.2 kB / 460.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4131, allocations: 0 / 460.5 MB, free: 9.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008828/0.414, allocations: 183.6 kB / 460.7 MB, free: 9.082 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 77 (rotational_clock_1.direction,rotational_clock_1.direction_changed,rotational_clock_1.cast.y,rotational_clock_1.changed.u,rotational_clock_1.changed.y,conjunctiveClock.input_ticked[1].input_sample.y,conjunctiveClock.input_ticked[1].input_tick.u,conjunctiveClock.input_ticked[1].input_tick.y,conjunctiveClock.input_ticked[1].input_hold.u,disjunctiveClock.input_ticked[1].input_sample.y,disjunctiveClock.input_ticked[1].input_tick.u,disjunctiveClock.input_ticked[1].input_tick.y,disjunctiveClock.input_ticked[1].input_hold.u,rotational_clock_2.direction,rotational_clock_2.direction_changed,rotational_clock_2.cast.y,rotational_clock_2.changed.u,rotational_clock_2.changed.y,conjunctiveClock.input_ticked[2].input_sample.y,conjunctiveClock.input_ticked[2].input_tick.u,conjunctiveClock.input_ticked[2].input_tick.y,conjunctiveClock.input_ticked[2].input_hold.u,disjunctiveClock.input_ticked[2].input_sample.y,disjunctiveClock.input_ticked[2].input_tick.u,disjunctiveClock.input_ticked[2].input_tick.y,disjunctiveClock.input_ticked[2].input_hold.u,conjunctiveClock.reset_ticked.input_sample.y,conjunctiveClock.reset_ticked.input_tick.u,conjunctiveClock.reset_ticked.input_tick.y,conjunctiveClock.reset_ticked.input_hold.u,disjunctiveClock.reset_ticked.input_sample.y,disjunctiveClock.reset_ticked.input_tick.u,disjunctiveClock.reset_ticked.input_tick.y,disjunctiveClock.reset_ticked.input_hold.u,conjunctiveClock.combinator.y,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.forbidden_state[1].u2,conjunctiveClock.forbidden_state[1].y,conjunctiveClock.forbidden_state[2].u2,conjunctiveClock.forbidden_state[2].y,conjunctiveClock.suppress_S[1].y,conjunctiveClock.suppress_S[2].y,conjunctiveClock.input_memory[1].Q,conjunctiveClock.input_memory[1].QI,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].Q,conjunctiveClock.input_memory[2].QI,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.splitter.y[2],$whenCondition4,disjunctiveClock.combinator.y,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.forbidden_state[1].u2,disjunctiveClock.forbidden_state[1].y,disjunctiveClock.forbidden_state[2].u2,disjunctiveClock.forbidden_state[2].y,disjunctiveClock.suppress_S[1].y,disjunctiveClock.suppress_S[2].y,disjunctiveClock.input_memory[1].Q,disjunctiveClock.input_memory[1].QI,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].Q,disjunctiveClock.input_memory[2].QI,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,disjunctiveClock.splitter.y[2],$whenCondition5,rotational_clock_1.less.y,rotational_clock_2.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2,$whenCondition3) * Number of discrete states: 11 (trigger_interval_input.count,disjunctiveClock.input_ticked[1].input_ticked.u,disjunctiveClock.input_ticked[2].input_ticked.u,disjunctiveClock.input_memory[1].pre.u,disjunctiveClock.input_memory[2].pre.u,disjunctiveClock.reset_ticked.input_ticked.u,conjunctiveClock.input_ticked[1].input_ticked.u,conjunctiveClock.input_ticked[2].input_ticked.u,conjunctiveClock.input_memory[1].pre.u,conjunctiveClock.input_memory[2].pre.u,conjunctiveClock.reset_ticked.input_ticked.u) * Number of clocked states: 2 (rotational_clock_1.changed.u,rotational_clock_2.changed.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 [/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:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1814:3-1814:84:writable] Error: Internal error function createFMIModelDerivatives failed Notification: Performance of Backend phase and start with SimCode phase: time 0.002141/0.4161, allocations: 1.404 MB / 462.1 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.418, allocations: 0.8853 MB / 463 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.418, allocations: 0 / 463 MB, free: 6.746 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005294/0.4185, allocations: 266.3 kB / 463.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.4196, allocations: 288.2 kB / 463.5 MB, free: 6.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003217/0.4228, allocations: 1.503 MB / 465.1 MB, free: 4.656 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/0.4236, allocations: 1.01 MB / 466.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003206/0.4239, allocations: 128.8 kB / 466.2 MB, free: 3.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.4243, allocations: 271.3 kB / 466.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of SimCode: time 1.433e-06/0.4243, allocations: 0 / 466.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04157/0.4659, allocations: 14.72 MB / 481.2 MB, free: 4.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.6, allocations: 11.5 kB / 481.2 MB, free: 4.637 MB / 382.1 MB " [Timeout remaining time 647] (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/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 --stepSize=0.000384986 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.333820860018022] Failed to read output from testmodel.py, exit status != 0: ['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'] 12.786537311039865 12.810668681 12.428449917 Calling exit ...