Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 105.4 kB / 16.41 MB, free: 6.461 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.001357/0.001358, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.483/1.483, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2203/0.2203, allocations: 43.52 MB / 314.1 MB, free: 452 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.00162/0.001621, allocations: 73.61 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1169, allocations: 57.8 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.003018/0.1199, allocations: 1.612 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006055/0.1206, allocations: 315.6 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.1206, allocations: 0 / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.1209, allocations: 55.75 kB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.1211, allocations: 47.77 kB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.1214, allocations: 115.7 kB / 0.49 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.1215, allocations: 71.75 kB / 0.4901 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.408e-05/0.1216, allocations: 12.19 kB / 0.4901 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.1217, allocations: 31.91 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.502e-05/0.1218, allocations: 39.83 kB / 0.4901 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1218, allocations: 4 kB / 0.4901 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.151e-05/0.1219, allocations: 28 kB / 0.4902 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.122, allocations: 27.91 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.122, allocations: 23.8 kB / 0.4902 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.1222, allocations: 87.66 kB / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1222, allocations: 0 / 0.4903 GB, free: 9.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1222, allocations: 4 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1222, allocations: 0 / 0.4903 GB, free: 9.305 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.0004636/0.1227, allocations: 391.1 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1227, allocations: 11.89 kB / 0.4907 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.1228, allocations: 8.844 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1229, allocations: 192.2 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.123, allocations: 8.375 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.123, allocations: 384 / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.1231, allocations: 73.53 kB / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1232, allocations: 0 / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1232, allocations: 0 / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1232, allocations: 0 / 0.491 GB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.1233, allocations: 35.97 kB / 0.491 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.1236, allocations: 284.7 kB / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1238, allocations: 54.48 kB / 0.4913 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.262e-05/0.1238, allocations: 24.94 kB / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.1239, allocations: 0 / 0.4913 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.1239, allocations: 34.56 kB / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1239, allocations: 0 / 0.4914 GB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006661/0.1246, allocations: 205.2 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.1246, allocations: 55.41 kB / 0.4916 GB, free: 7.773 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.1248, allocations: 169.8 kB / 0.4918 GB, free: 7.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.1248, allocations: 25.7 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.1249, allocations: 96.05 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.1249, allocations: 31.58 kB / 0.4919 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.1249, allocations: 21.72 kB / 0.4919 GB, free: 7.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1251, allocations: 318.8 kB / 0.4922 GB, free: 7.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.1252, allocations: 31.97 kB / 0.4923 GB, free: 7.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.001e-05/0.1253, allocations: 35.97 kB / 0.4923 GB, free: 7.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.1255, allocations: 76.69 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1255, allocations: 4 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002331/0.1257, allocations: 113.5 kB / 0.4925 GB, free: 6.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.1257, allocations: 4 kB / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.1257, allocations: 0 / 0.4925 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1258, allocations: 4 kB / 0.4925 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.1259, allocations: 23.98 kB / 0.4925 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1259, allocations: 0 / 0.4925 GB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.126, allocations: 15.92 kB / 0.4925 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.126, allocations: 0 / 0.4925 GB, free: 6.777 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 7.819e-05/0.126, allocations: 129.7 kB / 0.4927 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.1261, allocations: 11.91 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.1264, allocations: 122.3 kB / 0.4928 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1264, allocations: 4 kB / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1264, allocations: 0 / 0.4928 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1264, allocations: 3.938 kB / 0.4928 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004618/0.1269, allocations: 382.5 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1269, allocations: 0 / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.127, allocations: 23.98 kB / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.127, allocations: 0 / 0.4932 GB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.127, allocations: 7.938 kB / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.127, allocations: 0 / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.127, allocations: 480 / 0.4932 GB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.1273, allocations: 219.2 kB / 0.4934 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.232e-05/0.1273, allocations: 81.11 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.1274, allocations: 7.922 kB / 0.4935 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.1274, allocations: 4 kB / 0.4935 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.1275, allocations: 15.92 kB / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1275, allocations: 0 / 0.4935 GB, free: 5.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.1276, allocations: 130.5 kB / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1276, allocations: 0 / 0.4936 GB, free: 5.551 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002346/0.1278, allocations: 15.91 kB / 0.4937 GB, free: 5.535 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.0008625/0.1287, allocations: 405.1 kB / 0.494 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002678/0.129, allocations: 83.86 kB / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.129, allocations: 0 / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1291, allocations: 39.97 kB / 0.4942 GB, free: 5.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1294, allocations: 23.84 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004042/0.1299, allocations: 209.8 kB / 0.4944 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.1301, allocations: 0.6963 MB / 0.4951 GB, free: 4.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.025e-05/0.1302, allocations: 15.98 kB / 0.4951 GB, free: 4.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.691e-05/0.1302, allocations: 15.44 kB / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1302, allocations: 0 / 0.4951 GB, free: 4.043 MB / 382.1 MB Notification: Performance of Templates: time 0.003648/0.1339, allocations: 1.249 MB / 0.4963 GB, free: 2.793 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches