Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001133/0.001133, allocations: 193.3 kB / 18.91 MB, free: 4.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2053/0.2053, allocations: 44.18 MB / 336.9 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 68.41 kB / 408.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1038, allocations: 60.83 MB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.002835/0.1067, allocations: 1.677 MB / 471.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007688/0.1075, allocations: 0.6683 MB / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.364e-05/0.1075, allocations: 0 / 471.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.1077, allocations: 23.91 kB / 471.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1079, allocations: 35.89 kB / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.1079, allocations: 0 / 471.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.1081, allocations: 39.83 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.1081, allocations: 8 kB / 471.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.199e-05/0.1081, allocations: 7.938 kB / 471.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.1082, allocations: 23.91 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.1082, allocations: 0 / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.723e-05/0.1083, allocations: 16 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.1083, allocations: 15.92 kB / 471.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.82e-05/0.1084, allocations: 19.81 kB / 471.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.1085, allocations: 52.2 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1085, allocations: 0 / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1085, allocations: 0 / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.1085, allocations: 4 kB / 472 MB, free: 12.11 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003651/0.1089, allocations: 367.3 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1089, allocations: 8.031 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.109, allocations: 8.844 kB / 472.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.1091, allocations: 176.2 kB / 472.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.1091, allocations: 4.375 kB / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.1091, allocations: 384 / 472.5 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.1093, allocations: 123.3 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.1093, allocations: 4.188 kB / 472.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.1094, allocations: 7.922 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.152e-05/0.1094, allocations: 27.92 kB / 472.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.653e-05/0.1095, allocations: 43.84 kB / 472.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005953/0.1101, allocations: 0.8867 MB / 473.6 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.1102, allocations: 173.1 kB / 473.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.295e-05/0.1103, allocations: 84.14 kB / 473.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1103, allocations: 79.22 kB / 473.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.1103, allocations: 105.9 kB / 474 MB, free: 9.832 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.1103, allocations: 3.938 kB / 474 MB, free: 9.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.829e-05/0.1104, allocations: 33.61 kB / 474.1 MB, free: 9.789 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.1105, allocations: 126.7 kB / 474.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1106, allocations: 190.1 kB / 474.4 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.1107, allocations: 25.7 kB / 474.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.1108, allocations: 151.1 kB / 474.6 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-06/0.1108, allocations: 4 kB / 474.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.991e-05/0.1108, allocations: 41.61 kB / 474.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.1109, allocations: 322.8 kB / 474.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.111, allocations: 31.98 kB / 475 MB, free: 8.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.1111, allocations: 159.5 kB / 475.1 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.1113, allocations: 200.9 kB / 475.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.1113, allocations: 4 kB / 475.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002819/0.1116, allocations: 201 kB / 475.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.1116, allocations: 4 kB / 475.5 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1116, allocations: 8 kB / 475.5 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.1117, allocations: 4 kB / 475.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1118, allocations: 36.55 kB / 475.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1118, allocations: 11.94 kB / 475.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.599e-05/0.1119, allocations: 31.69 kB / 475.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1119, allocations: 8 kB / 475.6 MB, free: 8.086 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001198/0.112, allocations: 221.9 kB / 475.8 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.116e-05/0.1121, allocations: 120.8 kB / 475.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.866e-05/0.1122, allocations: 116.9 kB / 476.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.378e-05/0.1122, allocations: 180.2 kB / 476.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-05/0.1123, allocations: 184.3 kB / 476.4 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.038e-05/0.1124, allocations: 184.2 kB / 476.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.1126, allocations: 421.2 kB / 477 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-05/0.1126, allocations: 104.9 kB / 477.1 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.301e-05/0.1127, allocations: 112.9 kB / 477.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.56e-05/0.1128, allocations: 180.3 kB / 477.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.1128, allocations: 180.3 kB / 477.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.214e-05/0.1129, allocations: 180.2 kB / 477.7 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.969e-05/0.1129, allocations: 180.3 kB / 477.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.1131, allocations: 315.7 kB / 478.2 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.538e-05/0.1132, allocations: 185.9 kB / 478.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.526e-05/0.1132, allocations: 192.1 kB / 478.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.178e-05/0.1133, allocations: 105 kB / 478.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.1134, allocations: 184.2 kB / 478.9 MB, free: 4.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.1134, allocations: 101 kB / 479 MB, free: 4.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.112e-05/0.1135, allocations: 131.2 kB / 479.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1135, allocations: 4 kB / 479.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002758/0.1138, allocations: 16 kB / 479.1 MB, free: 4.34 MB / 350.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 (0): * Single equations (assignments): 0 * 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.0004389/0.1143, allocations: 270.1 kB / 479.4 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.1144, allocations: 76.91 kB / 479.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1144, allocations: 4.125 kB / 479.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/0.1144, allocations: 0 / 479.5 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1148, allocations: 467.6 kB / 479.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003413/0.1152, allocations: 302.7 kB / 480.2 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1154, allocations: 0.6967 MB / 480.9 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.1155, allocations: 19.42 kB / 480.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1155, allocations: 0 / 480.9 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Templates: time 0.002672/0.1182, allocations: 1.273 MB / 482.2 MB, free: 1.234 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches