Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001146/0.001146, 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.001142/0.001141, 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.389/1.389, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2062/0.2062, allocations: 44.19 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 64.69 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1269, allocations: 60.82 MB / 469.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003778/0.1308, allocations: 1.619 MB / 471 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1326, allocations: 1.059 MB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.1327, allocations: 3.938 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.133, allocations: 23.86 kB / 472.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002901/0.1333, allocations: 47.77 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.1338, allocations: 172.8 kB / 472.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000175/0.134, allocations: 71.81 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1341, allocations: 16 kB / 472.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.204e-05/0.1342, allocations: 23.92 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.1344, allocations: 31.84 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.1344, allocations: 4 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001453/0.1345, allocations: 55.91 kB / 472.5 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.1346, allocations: 23.91 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.695e-05/0.1347, allocations: 31.81 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.1349, allocations: 107.9 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1349, allocations: 0 / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.135, allocations: 0 / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.135, allocations: 0 / 472.6 MB, free: 10.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006221/0.1356, allocations: 398.1 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.1356, allocations: 12.03 kB / 473 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.1357, allocations: 30.75 kB / 473.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.1358, allocations: 12.78 kB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.136, allocations: 199.2 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-06/0.136, allocations: 8.375 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.136, allocations: 384 / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.1362, allocations: 79.31 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1363, allocations: 0 / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1363, allocations: 0 / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.1363, allocations: 4 kB / 473.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1365, allocations: 47.89 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.137, allocations: 312.7 kB / 473.7 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.1371, allocations: 42.56 kB / 473.8 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.04e-05/0.1372, allocations: 28.94 kB / 473.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.1372, allocations: 0 / 473.8 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.1373, allocations: 34.56 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.605e-06/0.1373, allocations: 0 / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000835/0.1381, allocations: 221.2 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.1382, allocations: 81.05 kB / 474.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.1384, allocations: 156.1 kB / 474.3 MB, free: 9.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.1384, allocations: 25.7 kB / 474.3 MB, free: 9.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.394e-05/0.1385, allocations: 96.08 kB / 474.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1385, allocations: 23.7 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.1386, allocations: 17.72 kB / 474.4 MB, free: 8.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1387, allocations: 326.8 kB / 474.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1388, allocations: 31.97 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.139, allocations: 53.67 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002365/0.1392, allocations: 96.86 kB / 474.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1392, allocations: 4.031 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003065/0.1395, allocations: 117.5 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1396, allocations: 4 kB / 475 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1396, allocations: 4 kB / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1396, allocations: 0 / 475 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.1397, allocations: 23.97 kB / 475.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1398, allocations: 7.938 kB / 475.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.714e-05/0.1398, allocations: 8 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.1399, allocations: 4 kB / 475.1 MB, free: 8.289 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 (7): * Single equations (assignments): 7 * 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.0001023/0.14, allocations: 129.6 kB / 475.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.786e-05/0.14, allocations: 7.906 kB / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.1404, allocations: 138.6 kB / 475.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1404, allocations: 4 kB / 475.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1404, allocations: 3.938 kB / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1404, allocations: 0 / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.141, allocations: 414.5 kB / 475.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.141, allocations: 4 kB / 475.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.624e-05/0.1411, allocations: 27.92 kB / 475.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1411, allocations: 7.938 kB / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.1411, allocations: 0 / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1411, allocations: 0 / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1411, allocations: 0 / 475.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.1415, allocations: 219.4 kB / 476 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.1415, allocations: 81.11 kB / 476.1 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.1416, allocations: 7.938 kB / 476.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.1417, allocations: 15.98 kB / 476.1 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1417, allocations: 7.984 kB / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-06/0.1417, allocations: 0 / 476.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.591e-05/0.1418, allocations: 117.2 kB / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1418, allocations: 0 / 476.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00032/0.1422, allocations: 24 kB / 476.3 MB, free: 7 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 (7): * Single equations (assignments): 7 * 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.001494/0.1437, allocations: 1.095 MB / 477.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003237/0.144, allocations: 91.86 kB / 477.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.144, allocations: 0 / 477.5 MB, free: 5.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.1441, allocations: 43.97 kB / 477.5 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.1445, allocations: 15.98 kB / 477.5 MB, free: 5.906 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.1467, allocations: 1.61 MB / 479.1 MB, free: 4.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1471, allocations: 0.7002 MB / 479.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.1472, allocations: 20.66 kB / 479.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.1472, allocations: 23.42 kB / 479.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1473, allocations: 0 / 479.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.1715, allocations: 3.052 MB / 482.9 MB, free: 476 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.683/7.855, allocations: 15.91 kB / 482.9 MB, free: 460 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches