Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") translateModel(ModelicaTest.Tables.CombiTable2D.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 103.8 kB / 16.4 MB, free: 6.465 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.001418/0.001419, allocations: 192.2 kB / 17.34 MB, free: 5.715 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.716/1.716, 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.2104/0.2104, 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.001706/0.001706, allocations: 77.59 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1196, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.002897/0.1226, allocations: 1.596 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006079/0.1232, allocations: 331.5 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.1233, allocations: 4 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.1238, allocations: 451.1 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.1242, allocations: 255.4 kB / 0.4904 GB, free: 9.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1245, allocations: 115.7 kB / 0.4906 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002297/0.1248, allocations: 155.6 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1249, allocations: 20.17 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.125, allocations: 103.8 kB / 0.4908 GB, free: 8.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.1253, allocations: 207.6 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.1253, allocations: 4 kB / 0.491 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.1254, allocations: 31.97 kB / 0.4911 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1255, allocations: 83.64 kB / 0.4911 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.734e-05/0.1256, allocations: 103 kB / 0.4912 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003615/0.126, allocations: 258.6 kB / 0.4915 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.126, allocations: 0 / 0.4915 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.126, allocations: 0 / 0.4915 GB, free: 8.078 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.126, allocations: 0 / 0.4915 GB, free: 8.078 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.0006909/0.1267, allocations: 0.6413 MB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1267, allocations: 11.89 kB / 0.4921 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.713e-05/0.1268, allocations: 48.64 kB / 0.4922 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.1271, allocations: 296.6 kB / 0.4925 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1271, allocations: 4.375 kB / 0.4925 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.1271, allocations: 4.375 kB / 0.4925 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1273, allocations: 57.61 kB / 0.4925 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.1273, allocations: 3.953 kB / 0.4925 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1273, allocations: 0 / 0.4925 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1273, allocations: 0 / 0.4925 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.445e-05/0.1274, allocations: 23.98 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.128, allocations: 384.7 kB / 0.4929 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.1282, allocations: 42.56 kB / 0.4929 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.273e-05/0.1283, allocations: 20.92 kB / 0.493 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.1283, allocations: 0 / 0.493 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.1283, allocations: 34.5 kB / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.1283, allocations: 0 / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005997/0.1289, allocations: 240.6 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.129, allocations: 51.41 kB / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008687/0.1299, allocations: 0.8613 MB / 0.4941 GB, free: 5.176 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1299, allocations: 25.7 kB / 0.4941 GB, free: 5.145 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.13, allocations: 220 kB / 0.4944 GB, free: 4.926 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.1301, allocations: 11.91 kB / 0.4944 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.1301, allocations: 29.64 kB / 0.4944 GB, free: 4.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1303, allocations: 358.8 kB / 0.4947 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.1303, allocations: 15.98 kB / 0.4948 GB, free: 4.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.737e-05/0.1304, allocations: 20.17 kB / 0.4948 GB, free: 4.484 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.1305, allocations: 48.83 kB / 0.4948 GB, free: 4.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1305, allocations: 0 / 0.4948 GB, free: 4.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001999/0.1307, allocations: 121.4 kB / 0.4949 GB, free: 4.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1308, allocations: 4 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1308, allocations: 0 / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1308, allocations: 0 / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.88e-05/0.1309, allocations: 19.92 kB / 0.495 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1309, allocations: 0 / 0.495 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.1309, allocations: 7.891 kB / 0.495 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.1309, allocations: 4 kB / 0.495 GB, free: 4.273 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.0001754/0.1311, allocations: 225.7 kB / 0.4952 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.1312, allocations: 39.72 kB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002584/0.1315, allocations: 129.1 kB / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1315, allocations: 0 / 0.4953 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.1315, allocations: 3.984 kB / 0.4953 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1315, allocations: 3.938 kB / 0.4954 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/0.132, allocations: 462.5 kB / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.132, allocations: 0 / 0.4958 GB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.928e-05/0.1321, allocations: 8.188 kB / 0.4958 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1321, allocations: 0 / 0.4958 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1321, allocations: 11.94 kB / 0.4958 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1321, allocations: 0 / 0.4958 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1321, allocations: 0 / 0.4958 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1323, allocations: 223.2 kB / 0.496 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.974e-05/0.1324, allocations: 108.8 kB / 0.4961 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1324, allocations: 3.938 kB / 0.4961 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.1325, allocations: 7.984 kB / 0.4961 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.1326, allocations: 0 / 0.4961 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1326, allocations: 4 kB / 0.4961 GB, free: 2.961 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006367/0.1332, allocations: 0.6472 MB / 0.4968 GB, free: 2.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1332, allocations: 7.875 kB / 0.4968 GB, free: 2.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1335, allocations: 27.92 kB / 0.4968 GB, free: 2.281 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.0009592/0.1345, allocations: 393.1 kB / 0.4972 GB, free: 1.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1347, allocations: 51.89 kB / 0.4972 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1347, allocations: 0 / 0.4972 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.1348, allocations: 23.98 kB / 0.4973 GB, free: 1.855 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003669/0.1351, allocations: 33.75 kB / 0.4973 GB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.1363, allocations: 0.7826 MB / 0.4981 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.1367, allocations: 0.8182 MB / 0.4989 GB, free: 168 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.258e-05/0.1368, allocations: 11.97 kB / 0.4989 GB, free: 156 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.1368, allocations: 15.38 kB / 0.4989 GB, free: 140 kB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1368, allocations: 0 / 0.4989 GB, free: 140 kB / 382.1 MB Notification: Performance of Templates: time 0.005043/0.1419, allocations: 1.459 MB / 0.5003 GB, free: 14.68 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches