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.0012/0.001201, allocations: 110.8 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.001354/0.001355, 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.524/1.524, 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.2087/0.2087, allocations: 43.53 MB / 314.1 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.001412/0.001412, allocations: 63.91 kB / 441.8 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1154, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002597/0.118, allocations: 1.612 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005927/0.1186, allocations: 343.5 kB / 0.4898 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.1187, allocations: 3.938 kB / 0.4898 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005181/0.1192, allocations: 459.1 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.1195, allocations: 247.5 kB / 0.4905 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.1199, allocations: 155.6 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.1201, allocations: 163.7 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.718e-05/0.1202, allocations: 24.16 kB / 0.4908 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.1203, allocations: 111.8 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002028/0.1205, allocations: 207.6 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.1205, allocations: 8 kB / 0.4911 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.1206, allocations: 31.98 kB / 0.4911 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.256e-05/0.1207, allocations: 83.69 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.751e-05/0.1208, allocations: 99 kB / 0.4913 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.1211, allocations: 255 kB / 0.4916 GB, free: 8.031 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1211, allocations: 0 / 0.4916 GB, free: 8.031 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1211, allocations: 0 / 0.4916 GB, free: 8.031 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1211, allocations: 0 / 0.4916 GB, free: 8.031 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.0006304/0.1217, allocations: 0.637 MB / 0.4922 GB, free: 7.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.1218, allocations: 15.89 kB / 0.4922 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.356e-05/0.1218, allocations: 44.38 kB / 0.4922 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1221, allocations: 296.2 kB / 0.4925 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.1221, allocations: 4.312 kB / 0.4925 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.1221, allocations: 384 / 0.4925 GB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.1222, allocations: 61.61 kB / 0.4926 GB, free: 6.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1223, allocations: 7.922 kB / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1223, allocations: 0 / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1223, allocations: 0 / 0.4926 GB, free: 6.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.1224, allocations: 35.98 kB / 0.4926 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.1228, allocations: 392.6 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.123, allocations: 46.5 kB / 0.493 GB, free: 6.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.1231, allocations: 20.94 kB / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.1231, allocations: 80 / 0.4931 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.1232, allocations: 34.56 kB / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.1232, allocations: 0 / 0.4931 GB, free: 6.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005758/0.1237, allocations: 235.9 kB / 0.4933 GB, free: 6.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1238, allocations: 51.41 kB / 0.4934 GB, free: 5.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.1245, allocations: 0.8613 MB / 0.4942 GB, free: 5.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.1246, allocations: 25.7 kB / 0.4942 GB, free: 5.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.1247, allocations: 232 kB / 0.4945 GB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.1248, allocations: 15.66 kB / 0.4945 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.1248, allocations: 17.72 kB / 0.4945 GB, free: 4.812 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1249, allocations: 362.8 kB / 0.4948 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.125, allocations: 19.98 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.383e-05/0.1251, allocations: 23.98 kB / 0.4949 GB, free: 4.406 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.1252, allocations: 53.02 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1252, allocations: 4 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002308/0.1255, allocations: 125.1 kB / 0.495 GB, free: 4.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.1255, allocations: 4 kB / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1255, allocations: 3.984 kB / 0.4951 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1255, allocations: 0 / 0.4951 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.1256, allocations: 15.98 kB / 0.4951 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1256, allocations: 0 / 0.4951 GB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.1257, allocations: 7.938 kB / 0.4951 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1257, allocations: 4 kB / 0.4951 GB, free: 4.184 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.0001698/0.1258, allocations: 217.7 kB / 0.4953 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.1259, allocations: 43.44 kB / 0.4953 GB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.1262, allocations: 144.9 kB / 0.4955 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.1262, allocations: 0 / 0.4955 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1262, allocations: 0 / 0.4955 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1262, allocations: 7.938 kB / 0.4955 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.1267, allocations: 462.5 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1267, allocations: 3.938 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.303e-05/0.1268, allocations: 12 kB / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1268, allocations: 0 / 0.4959 GB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1268, allocations: 3.938 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1268, allocations: 0 / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1268, allocations: 0 / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.1271, allocations: 223.1 kB / 0.4961 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.1271, allocations: 108.6 kB / 0.4962 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1272, allocations: 11.94 kB / 0.4963 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.889e-05/0.1273, allocations: 0 / 0.4963 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/0.1273, allocations: 4 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.1273, allocations: 3.984 kB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000552/0.1279, allocations: 0.6511 MB / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1279, allocations: 0 / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1281, allocations: 31.94 kB / 0.4969 GB, free: 2.176 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.000844/0.129, allocations: 404.8 kB / 0.4973 GB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.1292, allocations: 51.97 kB / 0.4974 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.1292, allocations: 0 / 0.4974 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.122e-05/0.1293, allocations: 39.91 kB / 0.4974 GB, free: 1.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.1296, allocations: 33.09 kB / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009467/0.1306, allocations: 0.7794 MB / 0.4982 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.131, allocations: 0.8221 MB / 0.499 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.231e-05/0.131, allocations: 11.98 kB / 0.499 GB, free: 24 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.156e-05/0.1311, allocations: 23.42 kB / 0.499 GB, free: 0 / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1311, allocations: 0 / 0.499 GB, free: 0 / 382.1 MB Notification: Performance of Templates: time 0.004484/0.1356, allocations: 1.471 MB / 0.5005 GB, free: 14.53 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","/var/lib/jenkins/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