Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 108.2 kB / 18.39 MB, free: 4.762 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.001916/0.001916, allocations: 182.9 kB / 19.32 MB, free: 3.832 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.476/1.476, allocations: 222.9 MB / 243 MB, free: 15.07 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.2033/0.2033, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 60.62 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.115, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.003007/0.1181, allocations: 1.615 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008469/0.1189, allocations: 0.688 MB / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.119, allocations: 0 / 473 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002343/0.1192, allocations: 27.84 kB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001856/0.1194, allocations: 35.89 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.568e-06/0.1194, allocations: 3.938 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1196, allocations: 31.84 kB / 473.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.369e-05/0.1196, allocations: 15.97 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.104e-05/0.1197, allocations: 7.938 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.1197, allocations: 7.938 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.1197, allocations: 4 kB / 473.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-05/0.1198, allocations: 15.97 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.807e-05/0.1198, allocations: 8 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.1199, allocations: 23.81 kB / 473.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.12, allocations: 75.67 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.12, allocations: 0 / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.12, allocations: 0 / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.12, allocations: 0 / 473.3 MB, free: 11.05 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.0003357/0.1204, allocations: 363.3 kB / 473.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.1204, allocations: 8.031 kB / 473.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.1204, allocations: 8.844 kB / 473.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.1206, allocations: 180.2 kB / 473.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.1206, allocations: 4.375 kB / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.1206, allocations: 384 / 473.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.1208, allocations: 123.4 kB / 473.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1208, allocations: 8.125 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1208, allocations: 3.938 kB / 473.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.1209, allocations: 27.98 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.639e-05/0.1209, allocations: 43.84 kB / 474 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.1215, allocations: 0.8906 MB / 474.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/0.1216, allocations: 169.1 kB / 475.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.597e-05/0.1216, allocations: 84.14 kB / 475.2 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1217, allocations: 83.25 kB / 475.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.1217, allocations: 105.8 kB / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1217, allocations: 0 / 475.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.441e-05/0.1218, allocations: 41.61 kB / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1218, allocations: 130.7 kB / 475.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.122, allocations: 182.1 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.147e-06/0.122, allocations: 29.7 kB / 475.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.144e-05/0.1221, allocations: 143.2 kB / 475.9 MB, free: 8.215 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/0.1221, allocations: 8 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.1222, allocations: 41.61 kB / 475.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.1223, allocations: 326.8 kB / 476.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.445e-05/0.1224, allocations: 27.98 kB / 476.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.1225, allocations: 157.1 kB / 476.4 MB, free: 7.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.1227, allocations: 204.9 kB / 476.6 MB, free: 7.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1227, allocations: 4 kB / 476.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000277/0.123, allocations: 201.2 kB / 476.8 MB, free: 7.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.123, allocations: 8 kB / 476.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.123, allocations: 4 kB / 476.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.123, allocations: 4 kB / 476.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1232, allocations: 39.92 kB / 476.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.1232, allocations: 11.94 kB / 476.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.122e-05/0.1233, allocations: 24.16 kB / 476.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.1233, allocations: 16 kB / 476.9 MB, free: 7.016 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.0001226/0.1234, allocations: 217.9 kB / 477.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.206e-05/0.1235, allocations: 116.8 kB / 477.2 MB, free: 6.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.695e-05/0.1235, allocations: 112.9 kB / 477.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.883e-05/0.1236, allocations: 180.2 kB / 477.5 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.635e-05/0.1237, allocations: 180.3 kB / 477.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.967e-05/0.1237, allocations: 188.2 kB / 477.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.124, allocations: 417.2 kB / 478.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.112e-05/0.124, allocations: 108.9 kB / 478.4 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.1241, allocations: 104.9 kB / 478.5 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.558e-05/0.1241, allocations: 180.2 kB / 478.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/0.1242, allocations: 192.2 kB / 478.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.567e-05/0.1243, allocations: 180.3 kB / 479 MB, free: 4.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.69e-05/0.1243, allocations: 176.3 kB / 479.2 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.1245, allocations: 315.7 kB / 479.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.976e-05/0.1246, allocations: 193.9 kB / 479.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.1246, allocations: 180.3 kB / 479.9 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.333e-05/0.1247, allocations: 105 kB / 480 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.24e-05/0.1248, allocations: 184.2 kB / 480.2 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.1248, allocations: 105 kB / 480.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.752e-05/0.1249, allocations: 131.2 kB / 480.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.125, allocations: 0 / 480.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1252, allocations: 19.98 kB / 480.4 MB, free: 3.281 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.0004853/0.1257, allocations: 272.9 kB / 480.7 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001489/0.1259, allocations: 72.78 kB / 480.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1259, allocations: 0 / 480.8 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.108e-06/0.1259, allocations: 12.19 kB / 480.8 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.1263, allocations: 470.4 kB / 481.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.1266, allocations: 241.1 kB / 481.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.1269, allocations: 0.6967 MB / 482.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000158/0.127, allocations: 49.02 kB / 482.2 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.1271, allocations: 15.44 kB / 482.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1271, allocations: 0 / 482.2 MB, free: 1.461 MB / 350.1 MB Notification: Performance of Templates: time 0.002643/0.1297, allocations: 0.6763 MB / 482.9 MB, free: 0.793 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches