Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002194/0.002194, allocations: 212.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 51.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2233, allocations: 53.37 MB / 432.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.002838/0.2262, allocations: 1.628 MB / 434 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004523/0.2266, allocations: 183.4 kB / 434.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.636e-05/0.2267, allocations: 0 / 434.1 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.433e-05/0.2268, allocations: 11.86 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001171/0.2269, allocations: 15.88 kB / 434.2 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.2271, allocations: 51.83 kB / 434.2 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.2273, allocations: 71.81 kB / 434.3 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2274, allocations: 27.64 kB / 434.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.127e-05/0.2274, allocations: 27.86 kB / 434.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.371e-05/0.2275, allocations: 39.78 kB / 434.4 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.2275, allocations: 4 kB / 434.4 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.894e-05/0.2276, allocations: 8 kB / 434.4 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.998e-05/0.2276, allocations: 31.84 kB / 434.4 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.2276, allocations: 31.8 kB / 434.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.2278, allocations: 86.59 kB / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2278, allocations: 0 / 434.5 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2278, allocations: 4 kB / 434.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.2278, allocations: 3.938 kB / 434.5 MB, free: 4.48 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.0005309/0.2283, allocations: 337.7 kB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2284, allocations: 8.031 kB / 434.9 MB, free: 4.109 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.2284, allocations: 16.84 kB / 434.9 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.2286, allocations: 154.3 kB / 435.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.2286, allocations: 4.375 kB / 435.1 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.2287, allocations: 8.375 kB / 435.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004162/0.2291, allocations: 206.3 kB / 435.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.2291, allocations: 192 / 435.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.2291, allocations: 7.938 kB / 435.3 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.2291, allocations: 4 kB / 435.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001337/0.2292, allocations: 51.91 kB / 435.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004036/0.2296, allocations: 321.5 kB / 435.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.2299, allocations: 127.9 kB / 435.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.23, allocations: 70.55 kB / 435.8 MB, free: 3.039 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.23, allocations: 4 kB / 435.8 MB, free: 3.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.23, allocations: 38.5 kB / 435.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.283e-06/0.23, allocations: 4 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003943/0.2304, allocations: 157.5 kB / 436 MB, free: 2.824 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.2305, allocations: 110.8 kB / 436.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2306, allocations: 167.5 kB / 436.3 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.2306, allocations: 29.95 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.2307, allocations: 92.42 kB / 436.4 MB, free: 2.391 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.2307, allocations: 15.94 kB / 436.4 MB, free: 2.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.2308, allocations: 30.09 kB / 436.5 MB, free: 2.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.2309, allocations: 318.8 kB / 436.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.916e-05/0.231, allocations: 19.98 kB / 436.8 MB, free: 2 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.2311, allocations: 93.36 kB / 436.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.2312, allocations: 117.2 kB / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.2312, allocations: 0 / 437 MB, free: 1.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002303/0.2315, allocations: 129.4 kB / 437.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2315, allocations: 8 kB / 437.1 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2315, allocations: 4 kB / 437.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.2315, allocations: 0 / 437.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.2316, allocations: 27.92 kB / 437.2 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.2316, allocations: 4 kB / 437.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.2317, allocations: 16.23 kB / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2317, allocations: 11.98 kB / 437.2 MB, free: 1.523 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.0001303/0.2319, allocations: 133.8 kB / 437.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.2319, allocations: 15.83 kB / 437.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.362e-05/0.232, allocations: 20.7 kB / 437.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.232, allocations: 0 / 437.4 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.232, allocations: 4 kB / 437.4 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.232, allocations: 27.83 kB / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.232, allocations: 0 / 437.4 MB, free: 1.312 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.2322, allocations: 15.98 kB / 437.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.042e-05/0.2322, allocations: 8 kB / 437.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003559/0.2326, allocations: 371.3 kB / 437.8 MB, free: 0.918 MB / 334.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.) 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/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/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:8018:5-8018: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.0004644/0.233, allocations: 0.5028 MB / 438.3 MB, free: 408 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.85e-05/0.2331, allocations: 43.91 kB / 438.3 MB, free: 364 kB / 334.1 MB Notification: Performance of sorting global known variables: time 9.337e-05/0.2332, allocations: 119.2 kB / 438.5 MB, free: 244 kB / 334.1 MB Notification: Performance of Backend: time 3.8e-07/0.2332, allocations: 0 / 438.5 MB, free: 244 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00053/0.2337, allocations: 120.8 kB / 438.6 MB, free: 120 kB / 334.1 MB Notification: Performance of SimCode: time 0.0006465/0.2344, allocations: 0.6654 MB / 439.2 MB, free: 15.41 MB / 350.1 MB Notification: Performance of Templates: time 0.003671/0.2381, allocations: 1.076 MB / 440.3 MB, free: 14.35 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.236997228996188] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y', 'sample2.y', 'hold1.y'] 0.24585476699576247 0.260141497 0.029324461000000003 Calling exit ...