Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001751/0.001751, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001647/0.001647, allocations: 161.7 kB / 24.27 MB, free: 172 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.489/1.489, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3363/0.3363, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.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.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.0.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.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.418e-05/3.651e-05, allocations: 5.266 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.004753/0.00479, allocations: 1.693 MB / 377 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001618/0.006408, allocations: 0.5569 MB / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.006476, allocations: 0 / 377.5 MB, free: 2.691 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.006742, allocations: 23.84 kB / 377.6 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.007159, allocations: 83.55 kB / 377.6 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.007651, allocations: 143.4 kB / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.007891, allocations: 91.75 kB / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.008006, allocations: 8 kB / 377.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.008176, allocations: 55.77 kB / 377.9 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.00829, allocations: 35.89 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.008316, allocations: 4 kB / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.008575, allocations: 95.88 kB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.448e-05/0.008659, allocations: 23.91 kB / 378.1 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.268e-05/0.008722, allocations: 23.92 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000442/0.009164, allocations: 171.4 kB / 378.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.009169, allocations: 4 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.00917, allocations: 0 / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.009175, allocations: 3.938 kB / 378.3 MB, free: 1.938 MB / 346.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.0008805/0.01006, allocations: 361.5 kB / 378.6 MB, free: 1.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.0101, allocations: 8.031 kB / 378.6 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.082e-05/0.01018, allocations: 16.89 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.01046, allocations: 138.2 kB / 378.8 MB, free: 1.371 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.01047, allocations: 8.312 kB / 378.8 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.0105, allocations: 4.375 kB / 378.8 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003959/0.0109, allocations: 125.4 kB / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01091, allocations: 0 / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.01093, allocations: 0 / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.01093, allocations: 0 / 378.9 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004176/0.01135, allocations: 71.91 kB / 379 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.01192, allocations: 244.5 kB / 379.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003296/0.01225, allocations: 66.47 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.01248, allocations: 44.95 kB / 379.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.01251, allocations: 3.984 kB / 379.4 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.01255, allocations: 34.56 kB / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.01256, allocations: 0 / 379.4 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.002334/0.01489, allocations: 392.9 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.01497, allocations: 77.11 kB / 379.8 MB, free: 232 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.01524, allocations: 157.4 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.833e-05/0.01528, allocations: 29.7 kB / 380 MB, free: 24 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.0154, allocations: 100.1 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.144e-05/0.01545, allocations: 27.75 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.957e-05/0.01554, allocations: 33.7 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.01577, allocations: 322.8 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004397/0.01621, allocations: 63.92 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.01671, allocations: 115.3 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008463/0.01755, allocations: 144.8 kB / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01756, allocations: 0 / 380.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0009718/0.01853, allocations: 205.7 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.01855, allocations: 8 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01856, allocations: 0 / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.01858, allocations: 0 / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003331/0.01891, allocations: 39.97 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.667e-06/0.01892, allocations: 3.984 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.01915, allocations: 23.91 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.622e-05/0.01916, allocations: 4 kB / 381.1 MB, free: 14.91 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.0001565/0.01932, allocations: 121.8 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.453e-05/0.0194, allocations: 11.95 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.02041, allocations: 210.3 kB / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.02042, allocations: 0 / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.02042, allocations: 0 / 381.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.02043, allocations: 3.938 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.02186, allocations: 434.4 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.02187, allocations: 0 / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.02214, allocations: 35.97 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.02214, allocations: 3.984 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.02216, allocations: 7.938 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.02216, allocations: 4 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.02217, allocations: 3.984 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.02318, allocations: 287.2 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.02321, allocations: 11.95 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.02324, allocations: 3.938 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.02353, allocations: 27.95 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.02361, allocations: 11.98 kB / 382.2 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.02363, allocations: 4 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.0238, allocations: 119.2 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0238, allocations: 3.938 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005489/0.02435, allocations: 51.86 kB / 382.4 MB, free: 13.51 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.003099/0.02745, allocations: 0.5282 MB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000908/0.02835, allocations: 155.8 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.02836, allocations: 0 / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.02876, allocations: 79.92 kB / 383.2 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/0.02925, allocations: 31.12 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.02989, allocations: 219.5 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.02999, allocations: 93.45 kB / 383.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.23e-05/0.03008, allocations: 12.47 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.641e-05/0.03014, allocations: 24.48 kB / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.03014, allocations: 0 / 383.6 MB, free: 12.55 MB / 362.7 MB Notification: Performance of Templates: time 0.006594/0.03674, allocations: 2.656 MB / 386.2 MB, free: 9.926 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.914264083025046]