Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 111.2 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.001195/0.001195, 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.522/1.522, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.53 MB / 314.1 MB, free: 448 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.001483/0.001483, allocations: 63.91 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1099, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003056/0.113, allocations: 1.6 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006309/0.1137, allocations: 327.6 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.673e-05/0.1138, allocations: 0 / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000535/0.1143, allocations: 451.1 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003817/0.1147, allocations: 259.4 kB / 0.4904 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003333/0.1151, allocations: 107.8 kB / 0.4906 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1153, allocations: 163.6 kB / 0.4907 GB, free: 8.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1154, allocations: 16.19 kB / 0.4907 GB, free: 8.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.1156, allocations: 107.8 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1158, allocations: 207.6 kB / 0.491 GB, free: 8.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.1159, allocations: 4 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.081e-05/0.116, allocations: 35.92 kB / 0.4911 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.1161, allocations: 79.69 kB / 0.4911 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.72e-05/0.1162, allocations: 103 kB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.1165, allocations: 251 kB / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1165, allocations: 0 / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1165, allocations: 0 / 0.4915 GB, free: 8.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.1165, allocations: 0 / 0.4915 GB, free: 8.105 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.0007092/0.1172, allocations: 0.6297 MB / 0.4921 GB, free: 7.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1173, allocations: 11.89 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.1173, allocations: 36.47 kB / 0.4921 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1176, allocations: 300.1 kB / 0.4924 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.1176, allocations: 384 / 0.4924 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.1177, allocations: 8.375 kB / 0.4924 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.1178, allocations: 61.59 kB / 0.4925 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1178, allocations: 0 / 0.4925 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1178, allocations: 0 / 0.4925 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.1178, allocations: 0 / 0.4925 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.1179, allocations: 27.98 kB / 0.4925 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004586/0.1184, allocations: 384.6 kB / 0.4929 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.1186, allocations: 46.56 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.1187, allocations: 16.94 kB / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1187, allocations: 0 / 0.4929 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.1188, allocations: 34.56 kB / 0.493 GB, free: 6.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1188, allocations: 0 / 0.493 GB, free: 6.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006088/0.1194, allocations: 227.9 kB / 0.4932 GB, free: 6.168 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.1194, allocations: 51.41 kB / 0.4932 GB, free: 6.105 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000799/0.1202, allocations: 0.8573 MB / 0.4941 GB, free: 5.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1203, allocations: 29.7 kB / 0.4941 GB, free: 5.199 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.1204, allocations: 227.9 kB / 0.4943 GB, free: 4.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.1205, allocations: 15.75 kB / 0.4943 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.1205, allocations: 21.7 kB / 0.4944 GB, free: 4.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.1206, allocations: 362.8 kB / 0.4947 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.699e-05/0.1207, allocations: 15.98 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.1208, allocations: 19.98 kB / 0.4947 GB, free: 4.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.1209, allocations: 45.02 kB / 0.4948 GB, free: 4.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1209, allocations: 4 kB / 0.4948 GB, free: 4.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001953/0.1211, allocations: 113.1 kB / 0.4949 GB, free: 4.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1211, allocations: 12 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1212, allocations: 3.984 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1212, allocations: 0 / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.1212, allocations: 15.92 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.353e-06/0.1213, allocations: 4 kB / 0.4949 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.359e-05/0.1213, allocations: 3.938 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1213, allocations: 4 kB / 0.4949 GB, free: 4.32 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.0001813/0.1215, allocations: 221.7 kB / 0.4951 GB, free: 4.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.239e-05/0.1216, allocations: 39.53 kB / 0.4952 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.1218, allocations: 133 kB / 0.4953 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1219, allocations: 0 / 0.4953 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1219, allocations: 0 / 0.4953 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.1219, allocations: 7.922 kB / 0.4953 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004895/0.1224, allocations: 450.4 kB / 0.4958 GB, free: 3.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1224, allocations: 4 kB / 0.4958 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.383e-05/0.1225, allocations: 11.98 kB / 0.4958 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1225, allocations: 0 / 0.4958 GB, free: 3.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.1225, allocations: 11.94 kB / 0.4958 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1225, allocations: 0 / 0.4958 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1225, allocations: 0 / 0.4958 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1227, allocations: 215.2 kB / 0.496 GB, free: 3.16 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.1229, allocations: 112.5 kB / 0.4961 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1229, allocations: 3.938 kB / 0.4961 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.123, allocations: 7.984 kB / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.123, allocations: 0 / 0.4961 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.123, allocations: 4 kB / 0.4961 GB, free: 3.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005588/0.1236, allocations: 0.6472 MB / 0.4967 GB, free: 2.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1236, allocations: 3.938 kB / 0.4967 GB, free: 2.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.1239, allocations: 23.98 kB / 0.4968 GB, free: 2.344 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.0008681/0.1248, allocations: 404.9 kB / 0.4971 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.125, allocations: 55.89 kB / 0.4972 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.125, allocations: 0 / 0.4972 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.4e-05/0.1251, allocations: 23.98 kB / 0.4972 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1254, allocations: 29.11 kB / 0.4973 GB, free: 1.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1265, allocations: 0.7755 MB / 0.498 GB, free: 1.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.127, allocations: 0.8221 MB / 0.4988 GB, free: 228 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.659e-05/0.127, allocations: 7.984 kB / 0.4988 GB, free: 220 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.1271, allocations: 15.44 kB / 0.4988 GB, free: 204 kB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1271, allocations: 0 / 0.4988 GB, free: 204 kB / 382.1 MB Notification: Performance of Templates: time 0.004946/0.132, allocations: 1.463 MB / 0.5003 GB, free: 14.74 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches