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.001199/0.001199, allocations: 108.4 kB / 16.41 MB, free: 6.504 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.001255/0.001255, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.5/1.5, allocations: 205.1 MB / 223.2 MB, free: 12.28 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.2186/0.2186, allocations: 43.52 MB / 314.1 MB, free: 468 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.00139/0.00139, allocations: 69.47 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1155, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.003135/0.1187, allocations: 1.6 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007178/0.1194, allocations: 355.5 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.263e-05/0.1195, allocations: 0 / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006187/0.1202, allocations: 455.1 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003194/0.1205, allocations: 255.5 kB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.1209, allocations: 143.7 kB / 0.4906 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.1211, allocations: 163.7 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.1212, allocations: 28.16 kB / 0.4908 GB, free: 8.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001608/0.1214, allocations: 107.7 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.1217, allocations: 211.6 kB / 0.4911 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.1217, allocations: 8 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.1218, allocations: 31.98 kB / 0.4911 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.1219, allocations: 79.69 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.032e-05/0.122, allocations: 103 kB / 0.4913 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003377/0.1223, allocations: 258.9 kB / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1223, allocations: 0 / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1223, allocations: 0 / 0.4916 GB, free: 8.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1223, allocations: 0 / 0.4916 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.0006637/0.123, allocations: 0.6297 MB / 0.4922 GB, free: 7.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.123, allocations: 11.89 kB / 0.4922 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.516e-05/0.1231, allocations: 48.38 kB / 0.4922 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.1233, allocations: 300.2 kB / 0.4925 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1234, allocations: 384 / 0.4925 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1234, allocations: 8.375 kB / 0.4925 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1235, allocations: 69.53 kB / 0.4926 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1236, allocations: 0 / 0.4926 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1236, allocations: 0 / 0.4926 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1236, allocations: 0 / 0.4926 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.975e-05/0.1237, allocations: 27.97 kB / 0.4926 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.1241, allocations: 400.6 kB / 0.493 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.1243, allocations: 50.48 kB / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.399e-05/0.1244, allocations: 12.86 kB / 0.4931 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.1244, allocations: 0 / 0.4931 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1244, allocations: 46.64 kB / 0.4931 GB, free: 6.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.1244, allocations: 0 / 0.4931 GB, free: 6.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005517/0.125, allocations: 224 kB / 0.4933 GB, free: 6.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.125, allocations: 55.41 kB / 0.4934 GB, free: 5.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/0.126, allocations: 0.8613 MB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.126, allocations: 29.64 kB / 0.4942 GB, free: 5.066 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1262, allocations: 220.1 kB / 0.4944 GB, free: 4.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.1262, allocations: 27.64 kB / 0.4945 GB, free: 4.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.1262, allocations: 17.72 kB / 0.4945 GB, free: 4.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1264, allocations: 354.8 kB / 0.4948 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.587e-05/0.1265, allocations: 19.98 kB / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.1266, allocations: 23.97 kB / 0.4949 GB, free: 4.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1267, allocations: 60.77 kB / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1267, allocations: 0 / 0.4949 GB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002315/0.127, allocations: 113.2 kB / 0.495 GB, free: 4.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.127, allocations: 4 kB / 0.495 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.127, allocations: 7.984 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.127, allocations: 0 / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.282e-05/0.1271, allocations: 8 kB / 0.4951 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.1271, allocations: 0 / 0.4951 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.921e-05/0.1272, allocations: 15.92 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.1272, allocations: 0 / 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.0001915/0.1274, allocations: 221.7 kB / 0.4953 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.1275, allocations: 43.38 kB / 0.4953 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.1277, allocations: 137.3 kB / 0.4955 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1278, allocations: 4 kB / 0.4955 GB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.1278, allocations: 4.062 kB / 0.4955 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1278, allocations: 7.922 kB / 0.4955 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.1284, allocations: 470.5 kB / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.1284, allocations: 0 / 0.4959 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.593e-05/0.1285, allocations: 11.98 kB / 0.4959 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1285, allocations: 4 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.1285, allocations: 3.938 kB / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1285, allocations: 0 / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1285, allocations: 0 / 0.4959 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002829/0.1288, allocations: 223 kB / 0.4961 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.008e-05/0.1289, allocations: 104.9 kB / 0.4962 GB, free: 2.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.1289, allocations: 3.938 kB / 0.4963 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.989e-05/0.129, allocations: 11.92 kB / 0.4963 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/0.129, allocations: 3.984 kB / 0.4963 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1291, allocations: 4 kB / 0.4963 GB, free: 2.844 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006297/0.1297, allocations: 0.6511 MB / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1297, allocations: 0 / 0.4969 GB, free: 2.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.13, allocations: 27.98 kB / 0.4969 GB, free: 2.168 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.0008989/0.1309, allocations: 400.9 kB / 0.4973 GB, free: 1.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002242/0.1311, allocations: 55.95 kB / 0.4974 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1311, allocations: 0 / 0.4974 GB, free: 1.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.585e-05/0.1312, allocations: 31.92 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.0004153/0.1316, allocations: 29.81 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.001131/0.1328, allocations: 0.7833 MB / 0.4982 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006004/0.1334, allocations: 0.8221 MB / 0.499 GB, free: 32 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.691e-05/0.1335, allocations: 15.98 kB / 0.499 GB, free: 16 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.147e-05/0.1335, allocations: 11.44 kB / 0.499 GB, free: 4 kB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1335, allocations: 4 kB / 0.499 GB, free: 0 / 382.1 MB Notification: Performance of Templates: time 0.005467/0.139, allocations: 1.475 MB / 0.5005 GB, free: 14.53 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","/var/lib/jenkins/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