Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 116.2 kB / 17.08 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 198.9 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.655/2.655, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.471/0.471, allocations: 43.53 MB / 314.8 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002882/0.002882, allocations: 69.45 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1987, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.007213/0.206, allocations: 1.978 MB / 0.4905 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003052/0.2091, allocations: 0.7563 MB / 0.4912 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003965/0.2096, allocations: 7.938 kB / 0.4912 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009504/0.2106, allocations: 259.2 kB / 0.4915 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007604/0.2114, allocations: 191.3 kB / 0.4916 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002527/0.214, allocations: 0.5965 MB / 0.4922 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000861/0.2148, allocations: 295.3 kB / 0.4925 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.2152, allocations: 88.61 kB / 0.4926 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.2157, allocations: 135.5 kB / 0.4927 GB, free: 7.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.2162, allocations: 199.3 kB / 0.4929 GB, free: 7.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.848e-05/0.2163, allocations: 8 kB / 0.4929 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.2167, allocations: 63.98 kB / 0.493 GB, free: 7.215 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.217, allocations: 111.7 kB / 0.4931 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001945/0.2172, allocations: 111 kB / 0.4932 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008444/0.218, allocations: 306.9 kB / 0.4935 GB, free: 6.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.2181, allocations: 0 / 0.4935 GB, free: 6.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2181, allocations: 0 / 0.4935 GB, free: 6.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.2181, allocations: 0 / 0.4935 GB, free: 6.695 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00151/0.2196, allocations: 0.6262 MB / 0.4941 GB, free: 6.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.502e-05/0.2197, allocations: 15.89 kB / 0.4941 GB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.2199, allocations: 40.38 kB / 0.4942 GB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006332/0.2205, allocations: 318.1 kB / 0.4945 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.2206, allocations: 8.375 kB / 0.4945 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.748e-05/0.2207, allocations: 12.38 kB / 0.4945 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004323/0.2211, allocations: 133.7 kB / 0.4946 GB, free: 5.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.2211, allocations: 3.938 kB / 0.4946 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.2212, allocations: 4 kB / 0.4946 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2212, allocations: 4 kB / 0.4946 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003198/0.2215, allocations: 87.94 kB / 0.4947 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.2227, allocations: 0.4886 MB / 0.4952 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.223, allocations: 106.5 kB / 0.4953 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.2232, allocations: 48.77 kB / 0.4953 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.2232, allocations: 4 kB / 0.4953 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.967e-05/0.2233, allocations: 34.56 kB / 0.4954 GB, free: 4.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 2.836e-06/0.2233, allocations: 4 kB / 0.4954 GB, free: 4.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.001761/0.2251, allocations: 435.9 kB / 0.4958 GB, free: 4.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.2252, allocations: 55.41 kB / 0.4958 GB, free: 4.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.2262, allocations: 0.5211 MB / 0.4963 GB, free: 3.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.2263, allocations: 37.64 kB / 0.4964 GB, free: 3.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.2265, allocations: 196.3 kB / 0.4966 GB, free: 3.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.901e-05/0.2266, allocations: 55.2 kB / 0.4966 GB, free: 3.281 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.2268, allocations: 37.7 kB / 0.4967 GB, free: 3.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.227, allocations: 346.8 kB / 0.497 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.2273, allocations: 63.95 kB / 0.497 GB, free: 2.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/0.2275, allocations: 70.61 kB / 0.4971 GB, free: 2.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.2281, allocations: 152.7 kB / 0.4973 GB, free: 2.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.2281, allocations: 11.94 kB / 0.4973 GB, free: 2.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006983/0.2288, allocations: 221.9 kB / 0.4975 GB, free: 2.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.2288, allocations: 4 kB / 0.4975 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.2289, allocations: 0 / 0.4975 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.2289, allocations: 4 kB / 0.4975 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002716/0.2292, allocations: 31.92 kB / 0.4975 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.2292, allocations: 7.984 kB / 0.4975 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.2294, allocations: 15.89 kB / 0.4975 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.2294, allocations: 4 kB / 0.4975 GB, free: 2.309 MB / 382.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 (17): * Single equations (assignments): 17 * 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.0003223/0.2298, allocations: 185.7 kB / 0.4977 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.2299, allocations: 35.53 kB / 0.4978 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000904/0.2308, allocations: 276 kB / 0.498 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.2309, allocations: 0 / 0.498 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2309, allocations: 3.938 kB / 0.498 GB, free: 1.809 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.2309, allocations: 3.984 kB / 0.498 GB, free: 1.805 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001535/0.2325, allocations: 0.666 MB / 0.4987 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.2325, allocations: 0 / 0.4987 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.2327, allocations: 39.92 kB / 0.4987 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.2327, allocations: 0 / 0.4987 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.2328, allocations: 8 kB / 0.4987 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2328, allocations: 0 / 0.4987 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.2328, allocations: 3.938 kB / 0.4987 GB, free: 1.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007557/0.2336, allocations: 322.9 kB / 0.499 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.2337, allocations: 104.7 kB / 0.4991 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.2338, allocations: 4 kB / 0.4991 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.234, allocations: 8 kB / 0.4991 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.2341, allocations: 19.91 kB / 0.4992 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.2342, allocations: 4 kB / 0.4992 GB, free: 0.543 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006956/0.2349, allocations: 395.1 kB / 0.4995 GB, free: 164 kB / 382.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2349, allocations: 4 kB / 0.4995 GB, free: 160 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005423/0.2354, allocations: 51.91 kB / 0.4996 GB, free: 108 kB / 382.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 (17): * Single equations (assignments): 17 * 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.003098/0.2386, allocations: 0.693 MB / 0.5003 GB, free: 15.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006724/0.2393, allocations: 167.8 kB / 0.5004 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.2393, allocations: 0 / 0.5004 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002572/0.2396, allocations: 95.89 kB / 0.5005 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009648/0.2406, allocations: 69.36 kB / 0.5006 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.2425, allocations: 0.7032 MB / 0.5013 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.2432, allocations: 0.8026 MB / 0.5021 GB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.2433, allocations: 35.42 kB / 0.5021 GB, free: 13.53 MB / 398.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2434, allocations: 0 / 0.5021 GB, free: 13.53 MB / 398.1 MB Notification: Performance of Templates: time 0.0139/0.2573, allocations: 4.62 MB / 0.5066 GB, free: 8.898 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches