Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001855/0.002994, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001584/0.002637, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9282/0.9282, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1788/1.107, allocations: 52.48 MB / 238.5 MB, free: 7.637 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1469/0.1469, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01868/0.1656, allocations: 12.54 MB / 284.5 MB, free: 9.73 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 285.9 MB, free: 8.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.163e-05/2.33e-05, allocations: 2.312 kB / 285.9 MB, free: 8.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002912/0.002935, allocations: 1.763 MB / 287.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.004246, allocations: 0.8532 MB / 288.5 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.77e-05/0.004323, allocations: 3.938 kB / 288.5 MB, free: 5.711 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.004553, allocations: 51.75 kB / 288.6 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.004798, allocations: 59.69 kB / 288.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.00508, allocations: 111.4 kB / 288.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.005243, allocations: 91.64 kB / 288.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.005286, allocations: 8 kB / 288.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.005434, allocations: 75.83 kB / 288.9 MB, free: 5.32 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.319e-05/0.005517, allocations: 27.91 kB / 289 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.005535, allocations: 4 kB / 289 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.005621, allocations: 31.94 kB / 289 MB, free: 5.258 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.23e-05/0.005673, allocations: 23.86 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.005707, allocations: 15.94 kB / 289 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.005891, allocations: 99.59 kB / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.249e-05/0.005904, allocations: 0 / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.005905, allocations: 0 / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.005915, allocations: 0 / 289.1 MB, free: 5.121 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004757/0.00639, allocations: 347.7 kB / 289.5 MB, free: 4.758 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.006425, allocations: 12.03 kB / 289.5 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.006463, allocations: 8.922 kB / 289.5 MB, free: 4.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.006647, allocations: 161.2 kB / 289.7 MB, free: 4.555 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.006664, allocations: 4.375 kB / 289.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.006675, allocations: 384 / 289.7 MB, free: 4.551 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.00679, allocations: 65.75 kB / 289.7 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.006799, allocations: 3.938 kB / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.006807, allocations: 0 / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.006815, allocations: 0 / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.49e-05/0.00684, allocations: 11.94 kB / 289.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.847e-05/0.006939, allocations: 70.69 kB / 289.8 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.785e-05/0.007027, allocations: 41.44 kB / 289.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.007051, allocations: 12.86 kB / 289.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.007062, allocations: 0 / 289.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001109/0.007173, allocations: 66.2 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.293e-06/0.007174, allocations: 0 / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001338/0.007308, allocations: 61.55 kB / 290 MB, free: 4.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.007341, allocations: 59.34 kB / 290 MB, free: 4.094 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.007497, allocations: 208.6 kB / 290.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.007513, allocations: 25.7 kB / 290.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.007673, allocations: 100.1 kB / 290.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.007707, allocations: 15.89 kB / 290.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.007745, allocations: 17.7 kB / 290.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.185e-05/0.007837, allocations: 326.8 kB / 290.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.007858, allocations: 10.83 kB / 290.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.608e-05/0.007884, allocations: 21.7 kB / 290.8 MB, free: 3.336 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.696e-05/0.007931, allocations: 35.3 kB / 290.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.007933, allocations: 0 / 290.8 MB, free: 3.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.845e-05/0.008022, allocations: 68.44 kB / 290.9 MB, free: 3.219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.008034, allocations: 4 kB / 290.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.008039, allocations: 0 / 290.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.008051, allocations: 0 / 290.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.222e-05/0.008123, allocations: 15.94 kB / 290.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.955e-06/0.008126, allocations: 0 / 290.9 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.057e-05/0.008167, allocations: 8 kB / 290.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.008173, allocations: 3.984 kB / 290.9 MB, free: 3.188 MB / 282.7 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 (7): * Single equations (assignments): 7 * 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 7.381e-05/0.008247, allocations: 116.6 kB / 291 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.008263, allocations: 12.02 kB / 291 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.008371, allocations: 67.16 kB / 291.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.008375, allocations: 3.984 kB / 291.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.008379, allocations: 3.938 kB / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.008382, allocations: 0 / 291.1 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.336e-05/0.008475, allocations: 89.86 kB / 291.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.008477, allocations: 0 / 291.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.14e-05/0.008508, allocations: 8 kB / 291.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.795e-05/0.008526, allocations: 15.89 kB / 291.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.008529, allocations: 0 / 291.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.008535, allocations: 0 / 291.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.008536, allocations: 4 kB / 291.2 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.008538, allocations: 3.938 kB / 291.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.648e-05/0.008635, allocations: 94.69 kB / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.841e-05/0.008653, allocations: 0 / 291.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.254e-05/0.008686, allocations: 7.938 kB / 291.3 MB, free: 2.715 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.008715, allocations: 7.984 kB / 291.3 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.008728, allocations: 4 kB / 291.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.047e-05/0.008808, allocations: 67.58 kB / 291.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008808, allocations: 0 / 291.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001828/0.008991, allocations: 19.98 kB / 291.4 MB, free: 2.613 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001451/0.01044, allocations: 0.5528 MB / 292 MB, free: 2.328 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.01057, allocations: 32.84 kB / 292 MB, free: 2.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-05/0.01059, allocations: 4 kB / 292 MB, free: 2.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/0.01062, allocations: 16.8 kB / 292 MB, free: 2.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.01085, allocations: 181.9 kB / 292.2 MB, free: 2.062 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.01131, allocations: 235.1 kB / 292.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.397e-05/0.01134, allocations: 71.33 kB / 292.5 MB, free: 1.715 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.275e-05/0.01137, allocations: 12.48 kB / 292.5 MB, free: 1.703 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.01143, allocations: 71.36 kB / 292.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01143, allocations: 0 / 292.6 MB, free: 1.633 MB / 282.7 MB Notification: Performance of Templates: time 0.003301/0.01473, allocations: 1.795 MB / 294.4 MB, free: 15.87 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.851839866489172]