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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 186.9 kB / 17.97 MB, free: 3.793 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 102.6 kB / 291.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.416/0.416, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 55.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3071, allocations: 60.79 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003307/0.3105, allocations: 1.728 MB / 0.5081 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007381/0.3113, allocations: 453 kB / 0.5085 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.3113, allocations: 4.938 kB / 0.5085 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.3115, allocations: 17.06 kB / 0.5085 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.3117, allocations: 32.69 kB / 0.5085 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.3121, allocations: 129.9 kB / 0.5087 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3122, allocations: 78.16 kB / 0.5087 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3123, allocations: 12.42 kB / 0.5088 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.151e-05/0.3124, allocations: 37.62 kB / 0.5088 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.588e-05/0.3125, allocations: 29.88 kB / 0.5088 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3125, allocations: 2.781 kB / 0.5088 GB, free: 36.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3126, allocations: 66.8 kB / 0.5089 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.203e-05/0.3127, allocations: 14.11 kB / 0.5089 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.708e-05/0.3128, allocations: 35.8 kB / 0.5089 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.3129, allocations: 107 kB / 0.509 GB, free: 36.51 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.313, allocations: 0 / 0.509 GB, free: 36.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.313, allocations: 0 / 0.509 GB, free: 36.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.313, allocations: 2.938 kB / 0.509 GB, free: 36.51 MB / 378.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.0005149/0.3135, allocations: 414.6 kB / 0.5094 GB, free: 36.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3135, allocations: 12.72 kB / 0.5095 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.3136, allocations: 11.75 kB / 0.5095 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.3138, allocations: 183.8 kB / 0.5096 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.931e-06/0.3138, allocations: 7.734 kB / 0.5096 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.3138, allocations: 7.344 kB / 0.5097 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.314, allocations: 91.95 kB / 0.5097 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3141, allocations: 0 / 0.5097 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.3141, allocations: 4 kB / 0.5097 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3141, allocations: 2.906 kB / 0.5097 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.3144, allocations: 69.64 kB / 0.5098 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003483/0.3147, allocations: 310.9 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.3149, allocations: 69.55 kB / 0.5102 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.3151, allocations: 44.75 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.235e-05/0.3151, allocations: 0 / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.266e-05/0.3151, allocations: 38.56 kB / 0.5103 GB, free: 35.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.21e-07/0.3151, allocations: 0 / 0.5103 GB, free: 35.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.001399/0.3165, allocations: 372.5 kB / 0.5106 GB, free: 35.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3166, allocations: 79.98 kB / 0.5107 GB, free: 35.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.3167, allocations: 145.2 kB / 0.5108 GB, free: 35.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.3167, allocations: 29.7 kB / 0.5109 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.795e-05/0.3168, allocations: 104.5 kB / 0.511 GB, free: 34.97 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.3168, allocations: 25.72 kB / 0.511 GB, free: 34.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.53e-05/0.3168, allocations: 29.09 kB / 0.511 GB, free: 34.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.3169, allocations: 320.7 kB / 0.5113 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002562/0.3171, allocations: 72.42 kB / 0.5114 GB, free: 34.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.3174, allocations: 84.62 kB / 0.5115 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/0.3179, allocations: 154.6 kB / 0.5116 GB, free: 34.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3179, allocations: 0 / 0.5116 GB, free: 34.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005441/0.3185, allocations: 197.1 kB / 0.5118 GB, free: 34.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.3185, allocations: 2.594 kB / 0.5118 GB, free: 34.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3185, allocations: 6.5 kB / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.3185, allocations: 0 / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.3187, allocations: 36.84 kB / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3187, allocations: 0 / 0.5118 GB, free: 34.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.3189, allocations: 39.03 kB / 0.5119 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3189, allocations: 2.656 kB / 0.5119 GB, free: 34.44 MB / 378.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 6.105e-05/0.3189, allocations: 123.1 kB / 0.512 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.319, allocations: 8.875 kB / 0.512 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005938/0.3196, allocations: 208.8 kB / 0.5122 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3196, allocations: 96 / 0.5122 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3196, allocations: 3.938 kB / 0.5122 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3196, allocations: 3.938 kB / 0.5122 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007999/0.3204, allocations: 497.4 kB / 0.5127 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3205, allocations: 0 / 0.5127 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.3206, allocations: 33.08 kB / 0.5127 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3206, allocations: 7.938 kB / 0.5127 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3207, allocations: 2.875 kB / 0.5127 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3207, allocations: 0 / 0.5127 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3207, allocations: 0 / 0.5127 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009635/0.3216, allocations: 0.9224 MB / 0.5136 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.3217, allocations: 81.02 kB / 0.5137 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.094e-05/0.3217, allocations: 6.688 kB / 0.5137 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3219, allocations: 26.42 kB / 0.5137 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.3219, allocations: 12.94 kB / 0.5138 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3219, allocations: 2.812 kB / 0.5138 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.054e-05/0.322, allocations: 109.7 kB / 0.5139 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.322, allocations: 0 / 0.5139 GB, free: 32.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003503/0.3224, allocations: 39.28 kB / 0.5139 GB, free: 32.88 MB / 378.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.0008415/0.3232, allocations: 449 kB / 0.5143 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006075/0.3238, allocations: 162.2 kB / 0.5145 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3238, allocations: 0 / 0.5145 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.3241, allocations: 77.02 kB / 0.5146 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.3245, allocations: 24.45 kB / 0.5146 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.3249, allocations: 358.6 kB / 0.5149 GB, free: 32.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.3251, allocations: 0.7047 MB / 0.5156 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.896e-05/0.3252, allocations: 27.12 kB / 0.5156 GB, free: 31.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.927e-05/0.3252, allocations: 14.97 kB / 0.5156 GB, free: 31.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3252, allocations: 3.938 kB / 0.5156 GB, free: 31.59 MB / 378.7 MB Notification: Performance of Templates: time 0.004543/0.3298, allocations: 1.952 MB / 0.5176 GB, free: 31.39 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches