Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001141, allocations: 108.6 kB / 17.21 MB, free: 6.273 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.001091/0.001091, allocations: 194 kB / 18.12 MB, free: 5.363 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.43/1.43, allocations: 222.9 MB / 241.8 MB, free: 13.64 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.2384/0.2384, allocations: 44.17 MB / 336.1 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 64.27 kB / 407.8 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1142, allocations: 60.83 MB / 468.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.004059/0.1183, allocations: 1.704 MB / 470.3 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.1192, allocations: 419.2 kB / 470.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/0.1193, allocations: 0 / 470.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1196, allocations: 67.83 kB / 470.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000216/0.1198, allocations: 55.81 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003865/0.1202, allocations: 122.7 kB / 471 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1204, allocations: 79.77 kB / 471.1 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1205, allocations: 15.98 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.1206, allocations: 31.84 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.1207, allocations: 55.81 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1207, allocations: 4 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.1209, allocations: 47.97 kB / 471.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.121, allocations: 19.92 kB / 471.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.121, allocations: 31.75 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1212, allocations: 119.8 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1213, allocations: 0 / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1213, allocations: 0 / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1213, allocations: 0 / 471.4 MB, free: 11.94 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006073/0.1219, allocations: 426.9 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1219, allocations: 8.031 kB / 471.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.122, allocations: 34.75 kB / 471.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.551e-05/0.1221, allocations: 12.84 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.1223, allocations: 204.8 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.1223, allocations: 384 / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1223, allocations: 4.375 kB / 472.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1225, allocations: 69.53 kB / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1225, allocations: 4 kB / 472.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1226, allocations: 8 kB / 472.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1226, allocations: 3.938 kB / 472.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001633/0.1227, allocations: 31.97 kB / 472.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.1232, allocations: 316.7 kB / 472.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.1235, allocations: 58.55 kB / 472.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.1236, allocations: 24.97 kB / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1236, allocations: 0 / 472.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1237, allocations: 38.59 kB / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1237, allocations: 0 / 472.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001502/0.1252, allocations: 388.8 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.1252, allocations: 51.41 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.1255, allocations: 211.3 kB / 473.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.1255, allocations: 25.7 kB / 473.3 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.1256, allocations: 108 kB / 473.4 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.93e-05/0.1256, allocations: 39.44 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.1257, allocations: 25.7 kB / 473.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.1258, allocations: 326.8 kB / 473.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001298/0.1259, allocations: 39.97 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1261, allocations: 43.97 kB / 473.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.1263, allocations: 108.7 kB / 473.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1263, allocations: 0 / 473.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003098/0.1267, allocations: 141.7 kB / 474.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1267, allocations: 4 kB / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1267, allocations: 0 / 474.1 MB, free: 9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.1267, allocations: 7.938 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.1268, allocations: 23.98 kB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1268, allocations: 4 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.1269, allocations: 7.984 kB / 474.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.1269, allocations: 4.562 kB / 474.1 MB, free: 8.953 MB / 350.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 (11): * Single equations (assignments): 11 * 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.0001049/0.127, allocations: 133.8 kB / 474.3 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.1271, allocations: 11.81 kB / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.1275, allocations: 167.1 kB / 474.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.1275, allocations: 15.92 kB / 474.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1275, allocations: 0 / 474.4 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1275, allocations: 3.938 kB / 474.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000653/0.1282, allocations: 480 kB / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1282, allocations: 96 / 474.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.935e-05/0.1283, allocations: 31.86 kB / 475 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1283, allocations: 4 kB / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1283, allocations: 0 / 475 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1283, allocations: 4 kB / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1283, allocations: 0 / 475 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003724/0.1287, allocations: 253 kB / 475.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.1288, allocations: 85.02 kB / 475.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1288, allocations: 11.98 kB / 475.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.543e-05/0.1289, allocations: 4 kB / 475.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.129, allocations: 19.92 kB / 475.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.129, allocations: 4 kB / 475.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.1291, allocations: 168.8 kB / 475.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1291, allocations: 0 / 475.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002663/0.1294, allocations: 20 kB / 475.5 MB, free: 7.453 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001623/0.131, allocations: 1.146 MB / 476.7 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003243/0.1314, allocations: 99.88 kB / 476.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1314, allocations: 0 / 476.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.1315, allocations: 59.91 kB / 476.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003903/0.1319, allocations: 23.95 kB / 476.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.1342, allocations: 1.873 MB / 478.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1346, allocations: 0.7121 MB / 479.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.007e-05/0.1346, allocations: 12.56 kB / 479.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.1347, allocations: 39.42 kB / 479.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1347, allocations: 0 / 479.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.1565, allocations: 3.136 MB / 482.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.1567, allocations: 240.9 kB / 482.8 MB, free: 236 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.095, allocations: 0 / 482.8 MB, free: 236 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches