Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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.001394/0.001394, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001614/0.001614, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.588/1.588, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.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.2334/0.2334, allocations: 46.94 MB / 360.9 MB, free: 4.25 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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 63.91 kB / 0.4967 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3852, allocations: 66.03 MB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003533/0.3888, allocations: 1.711 MB / 0.5628 GB, free: 2.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.39, allocations: 0.6166 MB / 0.5634 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.3901, allocations: 0 / 0.5634 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.3903, allocations: 27.78 kB / 0.5634 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002856/0.3906, allocations: 83.61 kB / 0.5635 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.391, allocations: 190.8 kB / 0.5637 GB, free: 1.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.3912, allocations: 95.77 kB / 0.5638 GB, free: 1.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3913, allocations: 23.95 kB / 0.5638 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.509e-05/0.3914, allocations: 35.8 kB / 0.5639 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3915, allocations: 51.77 kB / 0.5639 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.3916, allocations: 4 kB / 0.5639 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.3918, allocations: 99.94 kB / 0.564 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.3919, allocations: 27.91 kB / 0.564 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.3919, allocations: 43.73 kB / 0.5641 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.3923, allocations: 165.8 kB / 0.5642 GB, free: 1.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3923, allocations: 0 / 0.5642 GB, free: 1.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.3923, allocations: 4 kB / 0.5642 GB, free: 1.227 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.3923, allocations: 0 / 0.5642 GB, free: 1.227 MB / 398.1 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.000817/0.3931, allocations: 361.5 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3932, allocations: 8.031 kB / 0.5646 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.633e-05/0.3932, allocations: 12.84 kB / 0.5646 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.3935, allocations: 154.8 kB / 0.5647 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.773e-06/0.3935, allocations: 4.375 kB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.479e-05/0.3935, allocations: 7.875 kB / 0.5648 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.3939, allocations: 95.36 kB / 0.5649 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.3939, allocations: 3.984 kB / 0.5649 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.3939, allocations: 0 / 0.5649 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.3939, allocations: 0 / 0.5649 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.3942, allocations: 79.91 kB / 0.5649 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/0.3949, allocations: 311.8 kB / 0.5652 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.3952, allocations: 78.53 kB / 0.5653 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002023/0.3954, allocations: 48.94 kB / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.3954, allocations: 0 / 0.5653 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/0.3954, allocations: 38.44 kB / 0.5654 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3954, allocations: 4 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001783/0.3972, allocations: 409.1 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.042e-05/0.3973, allocations: 85.05 kB / 0.5659 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.3975, allocations: 162.1 kB / 0.566 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.3975, allocations: 25.7 kB / 0.566 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.3976, allocations: 104.1 kB / 0.5661 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.3976, allocations: 31.73 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.343e-05/0.3977, allocations: 21.72 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3978, allocations: 322.8 kB / 0.5665 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.3981, allocations: 79.92 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/0.3984, allocations: 97.56 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.399, allocations: 168.7 kB / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.399, allocations: 0 / 0.5668 GB, free: 14.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006654/0.3997, allocations: 213.4 kB / 0.567 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3997, allocations: 8 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3997, allocations: 384 / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3997, allocations: 4 kB / 0.567 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.4, allocations: 39.89 kB / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4, allocations: 0 / 0.5671 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.4001, allocations: 31.91 kB / 0.5671 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.4001, allocations: 3.984 kB / 0.5671 GB, free: 14.07 MB / 414.1 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.0001544/0.4003, allocations: 125.8 kB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.312e-05/0.4003, allocations: 7.953 kB / 0.5672 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007549/0.4011, allocations: 234.1 kB / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.4011, allocations: 3.938 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4011, allocations: 0 / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4011, allocations: 0 / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.4022, allocations: 0.4895 MB / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4022, allocations: 0 / 0.5679 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.4024, allocations: 35.97 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4024, allocations: 0 / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.4024, allocations: 0 / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4024, allocations: 384 / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4024, allocations: 3.984 kB / 0.568 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006968/0.4031, allocations: 307.2 kB / 0.5683 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.4031, allocations: 7.953 kB / 0.5683 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.4031, allocations: 8 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.4033, allocations: 23.95 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.4034, allocations: 11.98 kB / 0.5683 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.4034, allocations: 4 kB / 0.5683 GB, free: 12.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.4035, allocations: 123.2 kB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4035, allocations: 4.219 kB / 0.5685 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003257/0.4038, allocations: 47.86 kB / 0.5685 GB, free: 12.56 MB / 414.1 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.001781/0.4056, allocations: 0.4992 MB / 0.569 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006775/0.4063, allocations: 171.8 kB / 0.5692 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4063, allocations: 4 kB / 0.5692 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003074/0.4066, allocations: 84.05 kB / 0.5692 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.407, allocations: 33.22 kB / 0.5693 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005439/0.4075, allocations: 238.3 kB / 0.5695 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.4079, allocations: 0.708 MB / 0.5702 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.408, allocations: 28.45 kB / 0.5702 GB, free: 10.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.408, allocations: 23.42 kB / 0.5702 GB, free: 10.92 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.408, allocations: 4 kB / 0.5702 GB, free: 10.91 MB / 414.1 MB Notification: Performance of Templates: time 0.006239/0.4143, allocations: 2.627 MB / 0.5728 GB, free: 8.301 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.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: 5.67098838603124]