Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 115.4 kB / 17.08 MB, free: 5.996 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.001275/0.001275, allocations: 194.4 kB / 18.01 MB, free: 5.082 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.592/1.592, allocations: 205.1 MB / 223.9 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.2123/0.2123, allocations: 43.52 MB / 314.8 MB, free: 464 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.001623/0.001623, allocations: 67.91 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1143, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.003147/0.1175, allocations: 1.605 MB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007605/0.1183, allocations: 343.6 kB / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.609e-05/0.1184, allocations: 0 / 0.4904 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.119, allocations: 459.1 kB / 0.4909 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003934/0.1194, allocations: 259.4 kB / 0.4911 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.1199, allocations: 155.6 kB / 0.4913 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.1201, allocations: 159.7 kB / 0.4914 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001316/0.1203, allocations: 32.14 kB / 0.4915 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.1204, allocations: 103.8 kB / 0.4916 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002612/0.1207, allocations: 211.6 kB / 0.4918 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.1207, allocations: 4 kB / 0.4918 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.974e-05/0.1208, allocations: 35.98 kB / 0.4918 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.1209, allocations: 79.69 kB / 0.4919 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.116e-05/0.121, allocations: 99 kB / 0.492 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1214, allocations: 255 kB / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1214, allocations: 0 / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1214, allocations: 0 / 0.4922 GB, free: 8.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.1214, allocations: 0 / 0.4922 GB, free: 8.023 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.0007864/0.1222, allocations: 0.6408 MB / 0.4928 GB, free: 7.336 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.1222, allocations: 11.89 kB / 0.4928 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.038e-05/0.1223, allocations: 48.38 kB / 0.4929 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.1226, allocations: 296.2 kB / 0.4932 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1227, allocations: 384 / 0.4932 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.1227, allocations: 8.375 kB / 0.4932 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.1228, allocations: 53.61 kB / 0.4932 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1229, allocations: 4 kB / 0.4932 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1229, allocations: 7.984 kB / 0.4932 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1229, allocations: 0 / 0.4932 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.123, allocations: 31.91 kB / 0.4933 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005221/0.1235, allocations: 400.6 kB / 0.4937 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.1237, allocations: 42.56 kB / 0.4937 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.1238, allocations: 16.94 kB / 0.4937 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.872e-05/0.1238, allocations: 3.938 kB / 0.4937 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1239, allocations: 38.56 kB / 0.4938 GB, free: 6.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.312e-06/0.1239, allocations: 0 / 0.4938 GB, free: 6.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006294/0.1245, allocations: 232 kB / 0.494 GB, free: 6.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.1246, allocations: 55.41 kB / 0.494 GB, free: 5.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008074/0.1254, allocations: 0.8613 MB / 0.4949 GB, free: 5.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1254, allocations: 25.7 kB / 0.4949 GB, free: 5.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.1256, allocations: 228.1 kB / 0.4951 GB, free: 4.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.1256, allocations: 23.66 kB / 0.4951 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.1257, allocations: 13.72 kB / 0.4951 GB, free: 4.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1258, allocations: 362.8 kB / 0.4955 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.1259, allocations: 19.98 kB / 0.4955 GB, free: 4.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.148e-05/0.126, allocations: 19.98 kB / 0.4955 GB, free: 4.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.1261, allocations: 56.83 kB / 0.4956 GB, free: 4.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1261, allocations: 3.938 kB / 0.4956 GB, free: 4.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002124/0.1264, allocations: 121.1 kB / 0.4957 GB, free: 4.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1264, allocations: 4 kB / 0.4957 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.1264, allocations: 4 kB / 0.4957 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1264, allocations: 0 / 0.4957 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.1265, allocations: 11.98 kB / 0.4957 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1265, allocations: 0 / 0.4957 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/0.1266, allocations: 7.938 kB / 0.4957 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1266, allocations: 4 kB / 0.4957 GB, free: 4.176 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.000182/0.1268, allocations: 221.7 kB / 0.4959 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.331e-05/0.1269, allocations: 43.38 kB / 0.496 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.1272, allocations: 141 kB / 0.4961 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1272, allocations: 4 kB / 0.4961 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1272, allocations: 0 / 0.4961 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1272, allocations: 3.938 kB / 0.4961 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.1278, allocations: 470.8 kB / 0.4966 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1278, allocations: 0 / 0.4966 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.1278, allocations: 8 kB / 0.4966 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1278, allocations: 4 kB / 0.4966 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1279, allocations: 7.875 kB / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1279, allocations: 0 / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1279, allocations: 0 / 0.4966 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.1281, allocations: 219 kB / 0.4968 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.835e-05/0.1282, allocations: 108.6 kB / 0.4969 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.7e-05/0.1282, allocations: 7.922 kB / 0.4969 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.987e-05/0.1283, allocations: 4 kB / 0.4969 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.1284, allocations: 0 / 0.4969 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1284, allocations: 7.984 kB / 0.4969 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007048/0.1291, allocations: 0.6511 MB / 0.4976 GB, free: 2.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1291, allocations: 0 / 0.4976 GB, free: 2.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1294, allocations: 24 kB / 0.4976 GB, free: 2.172 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.001035/0.1304, allocations: 412.3 kB / 0.498 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1306, allocations: 55.91 kB / 0.498 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1307, allocations: 0 / 0.498 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.1307, allocations: 31.97 kB / 0.4981 GB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004307/0.1312, allocations: 33.09 kB / 0.4981 GB, free: 1.688 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.1325, allocations: 0.8162 MB / 0.4989 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.133, allocations: 0.8182 MB / 0.4997 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.1331, allocations: 19.42 kB / 0.4997 GB, free: 15.97 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1331, allocations: 0 / 0.4997 GB, free: 15.97 MB / 398.1 MB Notification: Performance of Templates: time 0.007811/0.1409, allocations: 3.715 MB / 0.5033 GB, free: 12.25 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches