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.001352/0.001352, allocations: 112.1 kB / 17.08 MB, free: 5.816 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.001437/0.001437, allocations: 194.4 kB / 18.01 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, 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.2129/0.2129, allocations: 43.52 MB / 314.8 MB, free: 468 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.001317/0.001317, allocations: 67.89 kB / 442.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1152, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.004023/0.1192, allocations: 1.974 MB / 0.4905 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1206, allocations: 0.7486 MB / 0.4912 GB, free: 9.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.428e-05/0.1207, allocations: 8 kB / 0.4912 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004589/0.1212, allocations: 259.2 kB / 0.4915 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.1215, allocations: 199.3 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.1227, allocations: 0.5964 MB / 0.4922 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.1231, allocations: 303.3 kB / 0.4925 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.1233, allocations: 76.62 kB / 0.4926 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001962/0.1235, allocations: 135.5 kB / 0.4927 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.1237, allocations: 191.4 kB / 0.4929 GB, free: 7.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.518e-05/0.1238, allocations: 12 kB / 0.4929 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.1239, allocations: 75.89 kB / 0.493 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1241, allocations: 103.7 kB / 0.4931 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.861e-05/0.1242, allocations: 111.1 kB / 0.4932 GB, free: 7.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003581/0.1245, allocations: 310.8 kB / 0.4935 GB, free: 6.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1245, allocations: 0 / 0.4935 GB, free: 6.727 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.1245, allocations: 0 / 0.4935 GB, free: 6.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.1246, allocations: 3.938 kB / 0.4935 GB, free: 6.723 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.0006931/0.1253, allocations: 0.6262 MB / 0.4941 GB, free: 6.047 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1253, allocations: 11.89 kB / 0.4941 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.1254, allocations: 44.38 kB / 0.4942 GB, free: 5.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.1257, allocations: 310.2 kB / 0.4945 GB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.1257, allocations: 12.38 kB / 0.4945 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1258, allocations: 12.38 kB / 0.4945 GB, free: 5.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.126, allocations: 129.6 kB / 0.4946 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.126, allocations: 7.938 kB / 0.4946 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1261, allocations: 4 kB / 0.4946 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.1261, allocations: 4 kB / 0.4946 GB, free: 5.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.1263, allocations: 87.92 kB / 0.4947 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006128/0.1269, allocations: 492.4 kB / 0.4952 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.1271, allocations: 118.4 kB / 0.4953 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.1272, allocations: 40.84 kB / 0.4953 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.1272, allocations: 3.984 kB / 0.4953 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.1272, allocations: 34.55 kB / 0.4954 GB, free: 4.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.1272, allocations: 4 kB / 0.4954 GB, free: 4.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009838/0.1282, allocations: 431.9 kB / 0.4958 GB, free: 4.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.1283, allocations: 55.41 kB / 0.4958 GB, free: 4.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.1288, allocations: 0.5211 MB / 0.4963 GB, free: 3.613 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.1289, allocations: 29.7 kB / 0.4964 GB, free: 3.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.129, allocations: 196.3 kB / 0.4966 GB, free: 3.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.975e-05/0.1291, allocations: 63.17 kB / 0.4966 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.1291, allocations: 33.72 kB / 0.4966 GB, free: 3.281 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1292, allocations: 350.8 kB / 0.497 GB, free: 2.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.1294, allocations: 63.95 kB / 0.497 GB, free: 2.867 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1295, allocations: 74.55 kB / 0.4971 GB, free: 2.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.1298, allocations: 160.7 kB / 0.4973 GB, free: 2.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1298, allocations: 3.938 kB / 0.4973 GB, free: 2.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000386/0.1302, allocations: 228 kB / 0.4975 GB, free: 2.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1302, allocations: 4 kB / 0.4975 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1302, allocations: 0 / 0.4975 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1302, allocations: 0 / 0.4975 GB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.1304, allocations: 39.91 kB / 0.4975 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1304, allocations: 0 / 0.4975 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.1305, allocations: 11.91 kB / 0.4975 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.1305, allocations: 7.984 kB / 0.4975 GB, free: 2.344 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.0002219/0.1307, allocations: 185.7 kB / 0.4977 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.1308, allocations: 47.47 kB / 0.4978 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004735/0.1313, allocations: 269.2 kB / 0.498 GB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1313, allocations: 7.984 kB / 0.498 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1313, allocations: 0 / 0.498 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1313, allocations: 0 / 0.498 GB, free: 1.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/0.1321, allocations: 0.666 MB / 0.4987 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1321, allocations: 0 / 0.4987 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.1322, allocations: 27.98 kB / 0.4987 GB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1322, allocations: 4 kB / 0.4987 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1323, allocations: 4 kB / 0.4987 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.1323, allocations: 7.984 kB / 0.4987 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.939e-05/0.1323, allocations: 7.938 kB / 0.4987 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004747/0.1328, allocations: 331.2 kB / 0.499 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.235e-05/0.1328, allocations: 104.7 kB / 0.4991 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.1329, allocations: 0 / 0.4991 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.853e-05/0.133, allocations: 8 kB / 0.4992 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.133, allocations: 15.91 kB / 0.4992 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.1331, allocations: 8 kB / 0.4992 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003629/0.1334, allocations: 395.1 kB / 0.4996 GB, free: 192 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1334, allocations: 0 / 0.4996 GB, free: 192 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1337, allocations: 55.89 kB / 0.4996 GB, free: 136 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.001566/0.1353, allocations: 0.6791 MB / 0.5003 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003349/0.1356, allocations: 159.8 kB / 0.5004 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1357, allocations: 4 kB / 0.5004 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001576/0.1358, allocations: 103.8 kB / 0.5005 GB, free: 15.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005665/0.1364, allocations: 69.31 kB / 0.5006 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009386/0.1373, allocations: 0.6993 MB / 0.5013 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.1377, allocations: 0.8181 MB / 0.5021 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.21e-05/0.1378, allocations: 27.44 kB / 0.5021 GB, free: 13.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1378, allocations: 0 / 0.5021 GB, free: 13.55 MB / 398.1 MB Notification: Performance of Templates: time 0.006266/0.1441, allocations: 4.57 MB / 0.5066 GB, free: 8.977 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