Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.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.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test27,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27",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.001165/0.001165, allocations: 104.5 kB / 17.21 MB, free: 6.266 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.001064/0.001064, allocations: 190 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.457/1.457, allocations: 222.9 MB / 241.8 MB, free: 15.5 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.2337/0.2337, allocations: 44.17 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.33 kB / 407.8 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1197, allocations: 60.83 MB / 468.6 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002807/0.1225, allocations: 1.691 MB / 470.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00077/0.1233, allocations: 447.2 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.1234, allocations: 4 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.1236, allocations: 51.8 kB / 470.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.1237, allocations: 55.81 kB / 470.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003508/0.1241, allocations: 159 kB / 471 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001198/0.1242, allocations: 83.75 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.303e-05/0.1243, allocations: 19.98 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.502e-05/0.1244, allocations: 31.86 kB / 471.2 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.1244, allocations: 47.81 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.1245, allocations: 4 kB / 471.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.828e-05/0.1246, allocations: 43.98 kB / 471.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.173e-05/0.1246, allocations: 19.92 kB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.1247, allocations: 35.73 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.1248, allocations: 119.8 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1248, allocations: 0 / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1248, allocations: 0 / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.1248, allocations: 0 / 471.4 MB, free: 11.95 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.0005369/0.1254, allocations: 414 kB / 471.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1254, allocations: 12.03 kB / 471.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.1255, allocations: 34.75 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.1255, allocations: 8.844 kB / 471.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.1257, allocations: 197.9 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.1258, allocations: 12.38 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1258, allocations: 4.312 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.126, allocations: 69.59 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.126, allocations: 3.906 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.126, allocations: 4 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.126, allocations: 4 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1262, allocations: 39.97 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.1266, allocations: 328.7 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.1268, allocations: 54.5 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.1269, allocations: 32.95 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.893e-05/0.1269, allocations: 4 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1269, allocations: 38.59 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.1269, allocations: 0 / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001365/0.1283, allocations: 424.7 kB / 473.1 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.1284, allocations: 55.41 kB / 473.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.1285, allocations: 190.2 kB / 473.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.1286, allocations: 33.64 kB / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.1286, allocations: 104.1 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.1287, allocations: 31.47 kB / 473.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.1287, allocations: 29.7 kB / 473.5 MB, free: 9.656 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1288, allocations: 322.8 kB / 473.8 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.129, allocations: 47.97 kB / 473.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.1291, allocations: 59.95 kB / 473.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.1293, allocations: 128.7 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1294, allocations: 0 / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003004/0.1297, allocations: 173.7 kB / 474.2 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1297, allocations: 4 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1297, allocations: 0 / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1297, allocations: 7.938 kB / 474.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.1298, allocations: 23.98 kB / 474.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.1298, allocations: 0 / 474.3 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.1299, allocations: 12.55 kB / 474.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1299, allocations: 4 kB / 474.3 MB, free: 8.871 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 9.422e-05/0.13, allocations: 141.7 kB / 474.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.1301, allocations: 7.906 kB / 474.4 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.1304, allocations: 186.3 kB / 474.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1304, allocations: 3.938 kB / 474.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1305, allocations: 0 / 474.6 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1305, allocations: 7.984 kB / 474.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.1311, allocations: 0.4999 MB / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1311, allocations: 0 / 475.1 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.878e-05/0.1312, allocations: 27.92 kB / 475.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1312, allocations: 0 / 475.1 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1312, allocations: 12.06 kB / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1312, allocations: 0 / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1313, allocations: 0 / 475.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.1316, allocations: 269 kB / 475.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.1317, allocations: 96.91 kB / 475.5 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1317, allocations: 8 kB / 475.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1318, allocations: 11.92 kB / 475.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1319, allocations: 4.094 kB / 475.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1319, allocations: 15.92 kB / 475.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.132, allocations: 144.1 kB / 475.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.132, allocations: 0 / 475.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1323, allocations: 27.98 kB / 475.7 MB, free: 7.309 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.001678/0.1339, allocations: 1.154 MB / 476.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.1343, allocations: 123.8 kB / 477 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1343, allocations: 8 kB / 477 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.1345, allocations: 67.89 kB / 477.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1348, allocations: 19.98 kB / 477.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.1371, allocations: 1.906 MB / 479 MB, free: 4.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.1375, allocations: 0.7043 MB / 479.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001038/0.1376, allocations: 36.5 kB / 479.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.1377, allocations: 43.61 kB / 479.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1377, allocations: 3.938 kB / 479.8 MB, free: 3.277 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01334/0.1511, allocations: 3.147 MB / 482.9 MB, free: 224 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.1513, allocations: 241.7 kB / 483.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/1.982, allocations: 0 / 483.2 MB, free: 15.96 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test27.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches