Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.001303/0.001303, allocations: 84.47 kB / 20.68 MB, free: 1.027 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.001488/0.001488, allocations: 168.8 kB / 23.96 MB, free: 4.148 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.517/1.517, allocations: 177.1 MB / 204.3 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2124/0.2124, allocations: 34.28 MB / 294.9 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.624e-06/1.624e-06, allocations: 0 / 442.8 MB, free: 5.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.19e-05, allocations: 2.281 kB / 442.8 MB, free: 5.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003679/0.003711, allocations: 1.72 MB / 444.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002009/0.00572, allocations: 0.9742 MB / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.005835, allocations: 0 / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.006172, allocations: 47.7 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.006603, allocations: 95.53 kB / 445.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.006879, allocations: 79.55 kB / 445.7 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.007096, allocations: 111.6 kB / 445.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.007183, allocations: 4 kB / 445.8 MB, free: 2.246 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.007301, allocations: 59.78 kB / 445.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.615e-05/0.007397, allocations: 31.89 kB / 445.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.007422, allocations: 4 kB / 445.9 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.007534, allocations: 39.98 kB / 445.9 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.007604, allocations: 23.91 kB / 445.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.007658, allocations: 23.88 kB / 446 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.007907, allocations: 123.5 kB / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.007911, allocations: 0 / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.007912, allocations: 0 / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.007917, allocations: 0 / 446.1 MB, free: 1.945 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006165/0.008533, allocations: 349.6 kB / 446.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.008569, allocations: 8.031 kB / 446.4 MB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.008624, allocations: 16.83 kB / 446.4 MB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.008873, allocations: 161.5 kB / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.008887, allocations: 384 / 446.6 MB, free: 1.367 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.453e-05/0.008911, allocations: 4.375 kB / 446.6 MB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.009071, allocations: 54.23 kB / 446.7 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.009084, allocations: 3.938 kB / 446.7 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.009097, allocations: 3.984 kB / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.009101, allocations: 0 / 446.7 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.49e-05/0.009186, allocations: 31.97 kB / 446.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.009555, allocations: 232.5 kB / 446.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.009752, allocations: 50.69 kB / 447 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.009818, allocations: 24.78 kB / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.009833, allocations: 0 / 447 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.009995, allocations: 75.27 kB / 447.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.009996, allocations: 0 / 447.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006207/0.01062, allocations: 185.6 kB / 447.3 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.01067, allocations: 63.39 kB / 447.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.01091, allocations: 214.9 kB / 447.5 MB, free: 364 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.01093, allocations: 25.7 kB / 447.6 MB, free: 332 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.01101, allocations: 112.1 kB / 447.7 MB, free: 216 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.01104, allocations: 27.78 kB / 447.7 MB, free: 188 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.01109, allocations: 17.72 kB / 447.7 MB, free: 164 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1958/0.2069, allocations: 322.8 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/0.207, allocations: 22.62 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.2071, allocations: 35.33 kB / 448.1 MB, free: 19 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.2073, allocations: 62.19 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2073, allocations: 2.531 kB / 448.1 MB, free: 18.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003389/0.2077, allocations: 105.4 kB / 448.2 MB, free: 18.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2077, allocations: 8.031 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.2077, allocations: 8.359 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.2077, allocations: 0.875 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.2079, allocations: 15.45 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.2079, allocations: 5.359 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.657e-05/0.208, allocations: 6.812 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.208, allocations: 3.812 kB / 448.3 MB, free: 18.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001189/0.2081, allocations: 127.3 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.2081, allocations: 14.62 kB / 448.4 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003835/0.2085, allocations: 119.3 kB / 448.5 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2085, allocations: 4.25 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2085, allocations: 3.938 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2085, allocations: 0.6562 kB / 448.6 MB, free: 18.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.2092, allocations: 350 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2092, allocations: 0.7969 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-05/0.2092, allocations: 13.53 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2092, allocations: 1.531 kB / 448.9 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.2092, allocations: 5.922 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.2093, allocations: 1.25 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/0.2093, allocations: 6.047 kB / 448.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.2096, allocations: 210.8 kB / 449.1 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.886e-05/0.2096, allocations: 15.53 kB / 449.1 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.2097, allocations: 9.547 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2098, allocations: 6.938 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.2098, allocations: 10.5 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.2099, allocations: 3.281 kB / 449.2 MB, free: 18.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001737/0.21, allocations: 158.9 kB / 449.3 MB, free: 18.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.21, allocations: 0 / 449.3 MB, free: 18.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004655/0.2105, allocations: 29.81 kB / 449.4 MB, free: 18.33 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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 Notification: Performance of Backend phase and start with SimCode phase: time 0.002408/0.2129, allocations: 0.4907 MB / 449.9 MB, free: 18.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.2132, allocations: 62.38 kB / 449.9 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2132, allocations: 1.312 kB / 449.9 MB, free: 18.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.2133, allocations: 35.39 kB / 449.9 MB, free: 18.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005645/0.2138, allocations: 33.14 kB / 450 MB, free: 18.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.2144, allocations: 249.7 kB / 450.2 MB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.2145, allocations: 95.52 kB / 450.3 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.2146, allocations: 16.72 kB / 450.3 MB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.239e-05/0.2147, allocations: 18.09 kB / 450.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.2147, allocations: 0 / 450.4 MB, free: 17.89 MB / 366.1 MB Notification: Performance of Templates: time 0.007455/0.2221, allocations: 1.852 MB / 452.2 MB, free: 17.65 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.977393209934235]