Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3",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.001189/0.001189, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001211/0.001211, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.327/1.327, allocations: 222.9 MB / 242.3 MB, free: 15.23 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.2544/0.2544, allocations: 44.17 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 55.12 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1238, allocations: 60.83 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003417/0.1272, allocations: 1.642 MB / 471 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008539/0.1281, allocations: 459.1 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.738e-05/0.1282, allocations: 0 / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.1288, allocations: 459.1 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003919/0.1292, allocations: 243.4 kB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.1297, allocations: 183.1 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.13, allocations: 171.7 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1301, allocations: 23.98 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.1302, allocations: 111.7 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.1305, allocations: 219.5 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.1305, allocations: 4 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.1307, allocations: 47.98 kB / 472.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.1308, allocations: 95.61 kB / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.505e-05/0.131, allocations: 103 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.1313, allocations: 275.1 kB / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1313, allocations: 0 / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1313, allocations: 0 / 473.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.1313, allocations: 0 / 473.3 MB, free: 10.29 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.0008004/0.1321, allocations: 0.6569 MB / 474 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1322, allocations: 12.02 kB / 474 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.81e-05/0.1322, allocations: 34.75 kB / 474 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.1323, allocations: 48.38 kB / 474.1 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1326, allocations: 300.1 kB / 474.4 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1326, allocations: 4.375 kB / 474.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.1327, allocations: 4.375 kB / 474.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.1329, allocations: 73.53 kB / 474.5 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1329, allocations: 4 kB / 474.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1329, allocations: 0 / 474.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1329, allocations: 0 / 474.5 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.1331, allocations: 43.97 kB / 474.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.1336, allocations: 416.5 kB / 474.9 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1339, allocations: 58.55 kB / 475 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.134, allocations: 32.97 kB / 475 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.134, allocations: 0 / 475 MB, free: 8.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.134, allocations: 34.56 kB / 475 MB, free: 8.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.92e-07/0.134, allocations: 0 / 475 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001574/0.1356, allocations: 0.4959 MB / 475.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1357, allocations: 51.41 kB / 475.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00078/0.1365, allocations: 0.8613 MB / 476.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1365, allocations: 29.7 kB / 476.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1366, allocations: 216.1 kB / 476.7 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.1367, allocations: 35.45 kB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.1367, allocations: 25.7 kB / 476.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1369, allocations: 358.8 kB / 477.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.137, allocations: 59.95 kB / 477.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1372, allocations: 55.95 kB / 477.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.1374, allocations: 124.7 kB / 477.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1375, allocations: 0 / 477.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003789/0.1378, allocations: 200.9 kB / 477.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1379, allocations: 4 kB / 477.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1379, allocations: 0 / 477.5 MB, free: 5.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1379, allocations: 3.938 kB / 477.5 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.138, allocations: 27.97 kB / 477.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.138, allocations: 0 / 477.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.1381, allocations: 15.98 kB / 477.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1381, allocations: 8 kB / 477.6 MB, free: 5.793 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.0001902/0.1383, allocations: 217.7 kB / 477.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.456e-05/0.1384, allocations: 47.42 kB / 477.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.1389, allocations: 225.7 kB / 478.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/0.1389, allocations: 7.922 kB / 478.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.1389, allocations: 8 kB / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1389, allocations: 0 / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008152/0.1398, allocations: 0.5975 MB / 478.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1398, allocations: 0 / 478.7 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.1399, allocations: 28.05 kB / 478.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.1399, allocations: 0 / 478.7 MB, free: 4.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1399, allocations: 4 kB / 478.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1399, allocations: 0 / 478.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.1399, allocations: 8.125 kB / 478.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.1404, allocations: 304.5 kB / 479 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.1405, allocations: 116.6 kB / 479.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.1405, allocations: 4 kB / 479.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.1406, allocations: 11.98 kB / 479.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1407, allocations: 11.98 kB / 479.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.1407, allocations: 4 kB / 479.2 MB, free: 4.094 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006294/0.1413, allocations: 0.6511 MB / 479.8 MB, free: 3.445 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1413, allocations: 4 kB / 479.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.1416, allocations: 39.89 kB / 479.9 MB, free: 3.402 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.001647/0.1433, allocations: 1.183 MB / 481 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003805/0.1437, allocations: 135.8 kB / 481.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1437, allocations: 0 / 481.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.1439, allocations: 71.89 kB / 481.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.1444, allocations: 25.95 kB / 481.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004194/0.1486, allocations: 3.563 MB / 484.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.149, allocations: 0.8377 MB / 485.7 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001035/0.1492, allocations: 32.52 kB / 485.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.1493, allocations: 123.4 kB / 485.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1493, allocations: 4 kB / 485.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.1755, allocations: 6.465 MB / 492.3 MB, free: 7.074 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.694/7.87, allocations: 2.656 kB / 492.3 MB, free: 7.074 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches