Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.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.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") translateModel(ModelicaTest.Tables.CombiTable2D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 110.8 kB / 16.41 MB, free: 6.027 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.001327/0.001327, allocations: 185.8 kB / 17.34 MB, free: 5.633 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.481/1.481, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.2291/0.2291, allocations: 43.53 MB / 314.1 MB, free: 460 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.001541/0.001541, allocations: 68.47 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1176, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test12): time 0.00322/0.1209, allocations: 1.615 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1224, allocations: 0.938 MB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.816e-05/0.1226, allocations: 3.938 kB / 0.4904 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.1229, allocations: 23.84 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.1233, allocations: 39.8 kB / 0.4905 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.1237, allocations: 111.7 kB / 0.4906 GB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002294/0.1239, allocations: 63.83 kB / 0.4906 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.1241, allocations: 16.17 kB / 0.4906 GB, free: 8.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.1242, allocations: 27.86 kB / 0.4907 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.1244, allocations: 31.84 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.399e-05/0.1244, allocations: 4 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.1246, allocations: 51.97 kB / 0.4907 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.616e-05/0.1247, allocations: 23.91 kB / 0.4908 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.06e-05/0.1248, allocations: 15.88 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.125, allocations: 107.6 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1251, allocations: 4 kB / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1251, allocations: 0 / 0.4909 GB, free: 8.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1251, allocations: 0 / 0.4909 GB, free: 8.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006231/0.1257, allocations: 383.2 kB / 0.4913 GB, free: 8.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.1258, allocations: 15.89 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.1258, allocations: 4.844 kB / 0.4913 GB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.126, allocations: 184.3 kB / 0.4914 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.1261, allocations: 4.375 kB / 0.4915 GB, free: 8.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.1261, allocations: 4.375 kB / 0.4915 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.1263, allocations: 83.25 kB / 0.4915 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1264, allocations: 4 kB / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1264, allocations: 0 / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1264, allocations: 0 / 0.4915 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.1265, allocations: 31.97 kB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.127, allocations: 292.8 kB / 0.4919 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.1271, allocations: 46.5 kB / 0.4919 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.1272, allocations: 20.94 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.1272, allocations: 0 / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.1272, allocations: 38.56 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1273, allocations: 4 kB / 0.492 GB, free: 7.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007481/0.128, allocations: 197.2 kB / 0.4921 GB, free: 7.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.1281, allocations: 77.11 kB / 0.4922 GB, free: 7.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1282, allocations: 141.8 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1283, allocations: 29.7 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.1283, allocations: 96.08 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1284, allocations: 27.55 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.1284, allocations: 21.72 kB / 0.4925 GB, free: 6.805 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1285, allocations: 314.8 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.1286, allocations: 35.97 kB / 0.4929 GB, free: 6.453 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001081/0.1288, allocations: 49.62 kB / 0.4929 GB, free: 6.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.129, allocations: 80.81 kB / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.129, allocations: 0 / 0.493 GB, free: 6.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002474/0.1292, allocations: 105.6 kB / 0.4931 GB, free: 6.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.1292, allocations: 8.031 kB / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1293, allocations: 0 / 0.4931 GB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.1293, allocations: 4 kB / 0.4931 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1294, allocations: 15.98 kB / 0.4931 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.1294, allocations: 0 / 0.4931 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.21e-05/0.1295, allocations: 15.92 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1295, allocations: 0 / 0.4931 GB, free: 6.164 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 (7): * Single equations (assignments): 7 * 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 9.332e-05/0.1296, allocations: 129.7 kB / 0.4932 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.333e-05/0.1296, allocations: 7.906 kB / 0.4933 GB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/0.1299, allocations: 118 kB / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-06/0.13, allocations: 0 / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.13, allocations: 0 / 0.4934 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.13, allocations: 7.922 kB / 0.4934 GB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000494/0.1305, allocations: 398.4 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1305, allocations: 0 / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.468e-05/0.1306, allocations: 15.98 kB / 0.4938 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1306, allocations: 4 kB / 0.4938 GB, free: 5.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1306, allocations: 3.938 kB / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1306, allocations: 0 / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1306, allocations: 0 / 0.4938 GB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002862/0.1309, allocations: 207.9 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.1309, allocations: 81.02 kB / 0.4941 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.131, allocations: 7.938 kB / 0.4941 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.334e-05/0.1311, allocations: 11.98 kB / 0.4941 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.1311, allocations: 15.91 kB / 0.4941 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.1311, allocations: 0 / 0.4941 GB, free: 5.066 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.705e-05/0.1312, allocations: 107.3 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1312, allocations: 0 / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1315, allocations: 27.98 kB / 0.4942 GB, free: 4.934 MB / 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 (7): * Single equations (assignments): 7 * 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.0009832/0.1325, allocations: 440.6 kB / 0.4946 GB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.1328, allocations: 91.86 kB / 0.4947 GB, free: 4.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1328, allocations: 3.938 kB / 0.4947 GB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1329, allocations: 35.97 kB / 0.4948 GB, free: 4.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003466/0.1332, allocations: 15.86 kB / 0.4948 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.1337, allocations: 194 kB / 0.495 GB, free: 4.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.134, allocations: 0.6885 MB / 0.4956 GB, free: 3.469 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.269e-05/0.1341, allocations: 11.98 kB / 0.4956 GB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.1341, allocations: 19.38 kB / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of SimCode: time 2.765e-06/0.1341, allocations: 0 / 0.4957 GB, free: 3.438 MB / 382.1 MB Notification: Performance of Templates: time 0.004465/0.1386, allocations: 1.506 MB / 0.4971 GB, free: 1.934 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches