Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") translateModel(ModelicaTest.Tables.CombiTable2D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 107.1 kB / 16.41 MB, free: 6.492 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.001132/0.001133, allocations: 188.1 kB / 17.34 MB, free: 5.77 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.437/1.437, allocations: 205.1 MB / 223.2 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.2204/0.2204, allocations: 43.52 MB / 314.1 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.001374/0.001374, allocations: 67.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1182, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test4): time 0.00274/0.1209, allocations: 1.6 MB / 0.4895 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000577/0.1215, allocations: 323.6 kB / 0.4898 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.1216, allocations: 0 / 0.4898 GB, free: 9.871 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005137/0.1221, allocations: 447.2 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003238/0.1224, allocations: 263.4 kB / 0.4904 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1227, allocations: 111.7 kB / 0.4906 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.123, allocations: 159.7 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1231, allocations: 16.19 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.1232, allocations: 107.8 kB / 0.4908 GB, free: 8.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.1234, allocations: 211.6 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.537e-05/0.1234, allocations: 0 / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.663e-05/0.1235, allocations: 31.98 kB / 0.4911 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.414e-05/0.1236, allocations: 83.69 kB / 0.4911 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.1237, allocations: 107 kB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003222/0.124, allocations: 243 kB / 0.4915 GB, free: 8.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.124, allocations: 8 kB / 0.4915 GB, free: 8.117 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.124, allocations: 0 / 0.4915 GB, free: 8.117 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.124, allocations: 0 / 0.4915 GB, free: 8.117 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.0006624/0.1247, allocations: 0.6252 MB / 0.4921 GB, free: 7.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1248, allocations: 15.89 kB / 0.4921 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.1248, allocations: 36.47 kB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.1251, allocations: 300.1 kB / 0.4924 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.141e-06/0.1251, allocations: 4.375 kB / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.149e-05/0.1251, allocations: 4.375 kB / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1253, allocations: 61.59 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1253, allocations: 4 kB / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1253, allocations: 4 kB / 0.4925 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1253, allocations: 0 / 0.4925 GB, free: 6.977 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.74e-05/0.1254, allocations: 27.92 kB / 0.4925 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.1258, allocations: 384.6 kB / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.126, allocations: 42.56 kB / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.1261, allocations: 20.88 kB / 0.4929 GB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.1261, allocations: 4 kB / 0.493 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.1261, allocations: 30.56 kB / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1261, allocations: 0 / 0.493 GB, free: 6.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005443/0.1267, allocations: 223.9 kB / 0.4932 GB, free: 6.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.1267, allocations: 55.41 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.1275, allocations: 0.8535 MB / 0.4941 GB, free: 5.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.1275, allocations: 25.7 kB / 0.4941 GB, free: 5.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.1277, allocations: 224.1 kB / 0.4943 GB, free: 4.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.1277, allocations: 19.69 kB / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.1278, allocations: 17.72 kB / 0.4944 GB, free: 4.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1279, allocations: 362.8 kB / 0.4947 GB, free: 4.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.128, allocations: 19.98 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.275e-05/0.128, allocations: 19.98 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1282, allocations: 53.02 kB / 0.4948 GB, free: 4.492 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1282, allocations: 3.938 kB / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001996/0.1284, allocations: 113 kB / 0.4949 GB, free: 4.371 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1284, allocations: 12 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1284, allocations: 0 / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1284, allocations: 0 / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.1285, allocations: 11.98 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1285, allocations: 0 / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.1286, allocations: 7.938 kB / 0.4949 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.1286, allocations: 4 kB / 0.4949 GB, free: 4.336 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 (5): * Single equations (assignments): 5 * 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.0001688/0.1287, allocations: 221.7 kB / 0.4951 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.869e-05/0.1288, allocations: 39.53 kB / 0.4952 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.129, allocations: 140.9 kB / 0.4953 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1291, allocations: 0 / 0.4953 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1291, allocations: 0 / 0.4953 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1291, allocations: 3.938 kB / 0.4953 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.1296, allocations: 446.5 kB / 0.4957 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.1296, allocations: 0 / 0.4957 GB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.1297, allocations: 19.98 kB / 0.4958 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1297, allocations: 3.938 kB / 0.4958 GB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1297, allocations: 4.125 kB / 0.4958 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1297, allocations: 8 kB / 0.4958 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1297, allocations: 0 / 0.4958 GB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1299, allocations: 203 kB / 0.496 GB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/0.13, allocations: 116.8 kB / 0.4961 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/0.1301, allocations: 3.938 kB / 0.4961 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.835e-05/0.1302, allocations: 4 kB / 0.4961 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.1302, allocations: 7.969 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-06/0.1302, allocations: 8 kB / 0.4961 GB, free: 3.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005367/0.1308, allocations: 0.6394 MB / 0.4967 GB, free: 2.387 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.184e-06/0.1308, allocations: 0 / 0.4967 GB, free: 2.387 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.131, allocations: 27.94 kB / 0.4968 GB, free: 2.359 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 (5): * Single equations (assignments): 5 * 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.0008582/0.1319, allocations: 411 kB / 0.4972 GB, free: 1.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1321, allocations: 47.91 kB / 0.4972 GB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1321, allocations: 0 / 0.4972 GB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.1322, allocations: 23.98 kB / 0.4972 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1325, allocations: 33.56 kB / 0.4973 GB, free: 1.895 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009894/0.1335, allocations: 0.7833 MB / 0.498 GB, free: 1.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.1341, allocations: 0.8182 MB / 0.4988 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.952e-05/0.1342, allocations: 7.984 kB / 0.4988 GB, free: 236 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.1342, allocations: 15.44 kB / 0.4988 GB, free: 220 kB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1342, allocations: 0 / 0.4988 GB, free: 220 kB / 382.1 MB Notification: Performance of Templates: time 0.004638/0.1388, allocations: 1.448 MB / 0.5003 GB, free: 14.77 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches