Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.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.001774/0.001774, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.002055/0.002055, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.46/1.46, allocations: 230.5 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.89 kB / 378.7 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3239, allocations: 53.32 MB / 432.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.003413/0.3273, allocations: 1.643 MB / 433.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005365/0.3278, allocations: 179.4 kB / 433.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3279, allocations: 0 / 433.9 MB, free: 5.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.328, allocations: 11.86 kB / 433.9 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.3282, allocations: 19.86 kB / 433.9 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.3284, allocations: 47.89 kB / 433.9 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.3286, allocations: 67.77 kB / 434 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3287, allocations: 31.97 kB / 434 MB, free: 5.414 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.628e-05/0.3288, allocations: 23.86 kB / 434.1 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.3289, allocations: 35.84 kB / 434.1 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.3289, allocations: 11.98 kB / 434.1 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.602e-05/0.3289, allocations: 8 kB / 434.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.594e-05/0.329, allocations: 23.92 kB / 434.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.231e-05/0.3291, allocations: 43.67 kB / 434.2 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.3292, allocations: 93.48 kB / 434.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3292, allocations: 0 / 434.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3292, allocations: 0 / 434.3 MB, free: 5.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.3292, allocations: 0 / 434.3 MB, free: 5.18 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000712/0.33, allocations: 418.8 kB / 434.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.33, allocations: 12.03 kB / 434.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.853e-05/0.3301, allocations: 12.89 kB / 434.7 MB, free: 4.695 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.3304, allocations: 212.1 kB / 434.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.3304, allocations: 4.375 kB / 434.9 MB, free: 4.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.3304, allocations: 8.375 kB / 434.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004868/0.3309, allocations: 217.1 kB / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3309, allocations: 192 / 435.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3309, allocations: 3.938 kB / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3309, allocations: 0 / 435.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001593/0.3311, allocations: 55.91 kB / 435.2 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005769/0.3317, allocations: 385.8 kB / 435.6 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.3319, allocations: 123.8 kB / 435.7 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.332, allocations: 66.61 kB / 435.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3321, allocations: 11.98 kB / 435.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3321, allocations: 34.56 kB / 435.8 MB, free: 3.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.3321, allocations: 3.938 kB / 435.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004465/0.3325, allocations: 165.5 kB / 436 MB, free: 3.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.493e-05/0.3326, allocations: 103.1 kB / 436.1 MB, free: 3.141 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3328, allocations: 165 kB / 436.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.3328, allocations: 29.7 kB / 436.3 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.3329, allocations: 96.41 kB / 436.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.3329, allocations: 3.953 kB / 436.4 MB, free: 2.832 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.3329, allocations: 33.7 kB / 436.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3331, allocations: 322.8 kB / 436.7 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.3332, allocations: 23.92 kB / 436.7 MB, free: 2.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3333, allocations: 89.44 kB / 436.8 MB, free: 2.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.3334, allocations: 109.3 kB / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3334, allocations: 4 kB / 436.9 MB, free: 2.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002398/0.3337, allocations: 129.3 kB / 437.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3337, allocations: 8.359 kB / 437.1 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3337, allocations: 4.344 kB / 437.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.3337, allocations: 8 kB / 437.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3338, allocations: 19.94 kB / 437.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.3339, allocations: 11.92 kB / 437.1 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.3339, allocations: 15.89 kB / 437.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.3339, allocations: 8 kB / 437.1 MB, free: 1.973 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 (integerConstant.y,sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],sample2.y,sample1.y,sample1.u,hold1.u,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001556/0.3341, allocations: 141.6 kB / 437.3 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.3341, allocations: 7.953 kB / 437.3 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.3342, allocations: 20.72 kB / 437.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.3342, allocations: 4 kB / 437.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3342, allocations: 3.984 kB / 437.3 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.336e-05/0.3343, allocations: 101 kB / 437.4 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.3343, allocations: 4 kB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.3344, allocations: 4 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.3345, allocations: 11.92 kB / 437.4 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004035/0.3349, allocations: 367.3 kB / 437.8 MB, free: 1.285 MB / 334.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:332:7-332:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed (Purely discrete algebraic loops cannot be solved by iterative processes. Try to break them open using the delay() operator.) sum2.y hold1.u hold1.y sample2.y sum1.u[2] sum1.y sum2.u[2] sum2.y := sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] sum2.u[2] := sum1.y sum1.y := sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum1.u[2] := sample2.y sample2.y := $getPart(hold1.y) hold1.y := $getPart(hold1.u) hold1.u := sum2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: sum2.y hold1.u hold1.y sample2.y sum1.u[2] sum1.y sum2.u[2] equations: sum2.y := sum2.k[1] * sum2.u[1] + sum2.k[2] * sum2.u[2] sum2.u[2] := sum1.y sum1.y := sum1.k[1] * sum1.u[1] + sum1.k[2] * sum1.u[2] sum1.u[2] := sample2.y sample2.y := $getPart(hold1.y) hold1.y := $getPart(hold1.u) hold1.u := sum2.y [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8016:5-8016:89:writable] Error: Internal error Transformation module sort components failed Warning: The optimization module SymbolicJacobian.symbolicJacobianDAE failed. This module will be skipped and the transformation process continued. Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005335/0.3354, allocations: 0.506 MB / 438.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00011/0.3355, allocations: 47.91 kB / 438.3 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.619e-05/0.3356, allocations: 114.7 kB / 438.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of Backend: time 5.51e-07/0.3356, allocations: 0 / 438.5 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005598/0.3362, allocations: 134.4 kB / 438.6 MB, free: 480 kB / 334.1 MB Notification: Performance of SimCode: time 0.0007105/0.3369, allocations: 0.6649 MB / 439.2 MB, free: 15.76 MB / 350.1 MB Notification: Performance of Templates: time 0.003969/0.3408, allocations: 0.9627 MB / 440.2 MB, free: 14.8 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.472197488881648] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 0.3500723489560187 0.364793211 0.032325762 Calling exit ...