Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.002027/0.002027, allocations: 84.34 kB / 20.95 MB, free: 3.457 MB / 18.57 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.002484/0.002484, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.564/1.564, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3551/0.3551, allocations: 34.27 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.65e-05/2.819e-05, allocations: 2.312 kB / 377.3 MB, free: 2.941 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003232/0.00326, allocations: 1.693 MB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.00444, allocations: 0.5491 MB / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.014e-05/0.0045, allocations: 0 / 379.5 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002404/0.00474, allocations: 27.78 kB / 379.6 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.005093, allocations: 83.5 kB / 379.7 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003844/0.005478, allocations: 139.5 kB / 379.8 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.005679, allocations: 91.69 kB / 379.9 MB, free: 352 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.005794, allocations: 15.98 kB / 379.9 MB, free: 336 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.005912, allocations: 51.89 kB / 379.9 MB, free: 284 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.006016, allocations: 39.89 kB / 380 MB, free: 244 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.006039, allocations: 4 kB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.006244, allocations: 99.81 kB / 380.1 MB, free: 140 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.197e-05/0.006316, allocations: 15.92 kB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.318e-05/0.006369, allocations: 27.91 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.006735, allocations: 175.5 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.006739, allocations: 0 / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.00674, allocations: 3.844 kB / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.006746, allocations: 0 / 380.3 MB, free: 15.92 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007726/0.007519, allocations: 369.5 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.007558, allocations: 8.031 kB / 380.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.007623, allocations: 12.89 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.007884, allocations: 145.4 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.007898, allocations: 384 / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.782e-05/0.007936, allocations: 8.375 kB / 380.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003662/0.008302, allocations: 117.3 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.008321, allocations: 4 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.008335, allocations: 0 / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.008342, allocations: 4 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003296/0.008672, allocations: 67.92 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.009333, allocations: 244.5 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.009643, allocations: 70.41 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.009843, allocations: 48.95 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.009881, allocations: 0 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/0.009932, allocations: 30.56 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.009933, allocations: 0 / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.001842/0.01178, allocations: 392.9 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.847e-05/0.01187, allocations: 77.11 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.01212, allocations: 158.4 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.01215, allocations: 25.7 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.788e-05/0.01224, allocations: 104.1 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.01228, allocations: 27.75 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/0.01234, allocations: 25.7 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.01254, allocations: 314.8 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003024/0.01284, allocations: 75.92 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.01317, allocations: 115.3 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.01371, allocations: 148.7 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.01371, allocations: 0 / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006481/0.01436, allocations: 198 kB / 383 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.01438, allocations: 8 kB / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01439, allocations: 0 / 383 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.01441, allocations: 3.984 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.01463, allocations: 39.91 kB / 383.1 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003079/0.01494, allocations: 7.984 kB / 383.1 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.0151, allocations: 31.89 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.01512, allocations: 8 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001397/0.01526, allocations: 117.8 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.01531, allocations: 11.95 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007133/0.01602, allocations: 202.3 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.01602, allocations: 4 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01603, allocations: 0 / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.01603, allocations: 3.938 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.01704, allocations: 438 kB / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01704, allocations: 0 / 383.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.01722, allocations: 35.95 kB / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.01722, allocations: 0 / 383.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.01724, allocations: 3.938 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01724, allocations: 0 / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.01724, allocations: 7.984 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007124/0.01795, allocations: 291.3 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.01797, allocations: 7.953 kB / 384.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.018, allocations: 3.938 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.01818, allocations: 23.97 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.01825, allocations: 11.97 kB / 384.3 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.01826, allocations: 8 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.01838, allocations: 122.4 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01838, allocations: 0 / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003258/0.01871, allocations: 47.86 kB / 384.4 MB, free: 11.5 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.002272/0.02098, allocations: 0.5317 MB / 385 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.02164, allocations: 151.8 kB / 385.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02164, allocations: 4 kB / 385.1 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.02196, allocations: 83.84 kB / 385.2 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003867/0.02234, allocations: 34 kB / 385.2 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005609/0.02291, allocations: 217 kB / 385.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.02301, allocations: 85.44 kB / 385.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.8e-05/0.0231, allocations: 20.48 kB / 385.6 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.795e-05/0.02317, allocations: 32.42 kB / 385.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02317, allocations: 3.938 kB / 385.6 MB, free: 10.52 MB / 362.7 MB Notification: Performance of Templates: time 0.006753/0.02993, allocations: 2.637 MB / 388.2 MB, free: 7.902 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.855772273964249]