Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 116.7 kB / 17.08 MB, free: 5.789 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.001548/0.001548, allocations: 197.2 kB / 18.02 MB, free: 4.918 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.569/1.569, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2163/0.2163, allocations: 43.52 MB / 314.8 MB, free: 440 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.001332/0.001332, allocations: 69.61 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1138, allocations: 57.78 MB / 0.4885 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.00331/0.1172, allocations: 1.616 MB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007917/0.118, allocations: 347.5 kB / 0.4904 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.645e-05/0.1181, allocations: 4 kB / 0.4905 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005854/0.1187, allocations: 451.2 kB / 0.4909 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.1191, allocations: 247.5 kB / 0.4911 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004267/0.1195, allocations: 155.6 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.1198, allocations: 171.6 kB / 0.4914 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1199, allocations: 20.17 kB / 0.4915 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1201, allocations: 111.8 kB / 0.4916 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.1204, allocations: 211.6 kB / 0.4918 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.519e-05/0.1204, allocations: 8 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.581e-05/0.1205, allocations: 28 kB / 0.4918 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.1206, allocations: 83.69 kB / 0.4919 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.401e-05/0.1207, allocations: 107 kB / 0.492 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.121, allocations: 251 kB / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.121, allocations: 0 / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.121, allocations: 0 / 0.4922 GB, free: 7.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.121, allocations: 0 / 0.4922 GB, free: 7.996 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.0007269/0.1218, allocations: 0.6297 MB / 0.4928 GB, free: 7.316 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1218, allocations: 19.89 kB / 0.4928 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.1219, allocations: 40.38 kB / 0.4929 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.1222, allocations: 300.2 kB / 0.4932 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.1222, allocations: 384 / 0.4932 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.1222, allocations: 8.359 kB / 0.4932 GB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1224, allocations: 57.56 kB / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1224, allocations: 0 / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1224, allocations: 0 / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1224, allocations: 4 kB / 0.4932 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.1225, allocations: 35.97 kB / 0.4933 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.123, allocations: 392.6 kB / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000208/0.1232, allocations: 50.48 kB / 0.4937 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.176e-05/0.1233, allocations: 16.86 kB / 0.4937 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.1233, allocations: 4.078 kB / 0.4937 GB, free: 6.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.845e-05/0.1233, allocations: 34.56 kB / 0.4938 GB, free: 6.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.1233, allocations: 0 / 0.4938 GB, free: 6.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006061/0.124, allocations: 232 kB / 0.494 GB, free: 6.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.124, allocations: 51.41 kB / 0.494 GB, free: 5.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007777/0.1248, allocations: 0.8613 MB / 0.4949 GB, free: 5.082 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.1248, allocations: 29.7 kB / 0.4949 GB, free: 5.047 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.125, allocations: 224.1 kB / 0.4951 GB, free: 4.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.125, allocations: 19.64 kB / 0.4951 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.125, allocations: 17.72 kB / 0.4951 GB, free: 4.781 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1252, allocations: 362.8 kB / 0.4955 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.1253, allocations: 23.97 kB / 0.4955 GB, free: 4.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.266e-05/0.1253, allocations: 19.98 kB / 0.4955 GB, free: 4.375 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1255, allocations: 60.95 kB / 0.4956 GB, free: 4.312 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1255, allocations: 0 / 0.4956 GB, free: 4.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002044/0.1257, allocations: 121.2 kB / 0.4957 GB, free: 4.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1257, allocations: 7.938 kB / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1258, allocations: 0 / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1258, allocations: 0 / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.157e-05/0.1258, allocations: 12 kB / 0.4957 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1258, allocations: 3.984 kB / 0.4957 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.486e-05/0.1259, allocations: 15.92 kB / 0.4957 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.1259, allocations: 0 / 0.4957 GB, free: 4.148 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.0001866/0.1261, allocations: 217.7 kB / 0.4959 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.1262, allocations: 47.38 kB / 0.496 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.1265, allocations: 141 kB / 0.4961 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1265, allocations: 0 / 0.4961 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1265, allocations: 0 / 0.4961 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.1265, allocations: 7.938 kB / 0.4961 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000507/0.127, allocations: 458.4 kB / 0.4966 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.127, allocations: 4 kB / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.1271, allocations: 15.98 kB / 0.4966 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1271, allocations: 192 / 0.4966 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1271, allocations: 7.938 kB / 0.4966 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1271, allocations: 0 / 0.4966 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1271, allocations: 4 kB / 0.4966 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.1274, allocations: 215 kB / 0.4968 GB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.1275, allocations: 104.6 kB / 0.4969 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.1275, allocations: 7.938 kB / 0.4969 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.1276, allocations: 7.984 kB / 0.4969 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.735e-05/0.1276, allocations: 4 kB / 0.4969 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.962e-06/0.1276, allocations: 0 / 0.4969 GB, free: 2.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005609/0.1282, allocations: 0.655 MB / 0.4976 GB, free: 2.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1282, allocations: 0 / 0.4976 GB, free: 2.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1285, allocations: 31.98 kB / 0.4976 GB, free: 2.141 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.000872/0.1293, allocations: 408.6 kB / 0.498 GB, free: 1.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.1296, allocations: 47.97 kB / 0.498 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1296, allocations: 0 / 0.498 GB, free: 1.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.672e-05/0.1297, allocations: 35.92 kB / 0.4981 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.13, allocations: 29.81 kB / 0.4981 GB, free: 1.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1311, allocations: 0.8123 MB / 0.4989 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.1315, allocations: 0.8221 MB / 0.4997 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.525e-05/0.1316, allocations: 11.44 kB / 0.4997 GB, free: 15.95 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1316, allocations: 0 / 0.4997 GB, free: 15.95 MB / 398.1 MB Notification: Performance of Templates: time 0.006917/0.1385, allocations: 3.735 MB / 0.5033 GB, free: 12.22 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches