Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20",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.001279/0.001279, allocations: 97.17 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 180 kB / 16.91 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.548/1.548, allocations: 205.4 MB / 223.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4059/0.4059, allocations: 43.57 MB / 315 MB, free: 8.715 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005297/0.0005298, allocations: 12 kB / 384.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1327, allocations: 58.86 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test20): time 0.002631/0.1354, allocations: 1.648 MB / 445.2 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.1367, allocations: 0.6512 MB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.1369, allocations: 4 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.1374, allocations: 247.4 kB / 446.1 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003996/0.1378, allocations: 171.5 kB / 446.3 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001011/0.1389, allocations: 427.2 kB / 446.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003986/0.1393, allocations: 259.4 kB / 446.9 MB, free: 9.195 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.1395, allocations: 64.92 kB / 447 MB, free: 9.133 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1396, allocations: 111.5 kB / 447.1 MB, free: 9.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002119/0.1399, allocations: 179.3 kB / 447.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.1399, allocations: 0 / 447.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.14, allocations: 59.97 kB / 447.3 MB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.1402, allocations: 83.69 kB / 447.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1403, allocations: 128.7 kB / 447.5 MB, free: 8.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.1406, allocations: 294.9 kB / 447.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1406, allocations: 0 / 447.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1406, allocations: 0 / 447.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.259e-06/0.1407, allocations: 0 / 447.8 MB, free: 8.285 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007286/0.1414, allocations: 0.5992 MB / 448.4 MB, free: 7.637 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1414, allocations: 8.031 kB / 448.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.1415, allocations: 42.73 kB / 448.5 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.836e-05/0.1415, allocations: 40.47 kB / 448.5 MB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003955/0.1419, allocations: 318.1 kB / 448.8 MB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.142, allocations: 12.38 kB / 448.8 MB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.142, allocations: 12.38 kB / 448.8 MB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.1422, allocations: 113.5 kB / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1423, allocations: 0 / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1423, allocations: 4 kB / 449 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.1423, allocations: 4 kB / 449 MB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1425, allocations: 79.83 kB / 449 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006269/0.1431, allocations: 488.4 kB / 449.5 MB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.1433, allocations: 106.5 kB / 449.6 MB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.615e-05/0.1434, allocations: 32.84 kB / 449.7 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.415e-05/0.1434, allocations: 4 kB / 449.7 MB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1434, allocations: 38.44 kB / 449.7 MB, free: 6.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.082e-06/0.1434, allocations: 0 / 449.7 MB, free: 6.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009049/0.1443, allocations: 396 kB / 450.1 MB, free: 5.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.1444, allocations: 51.41 kB / 450.1 MB, free: 5.777 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005426/0.1449, allocations: 0.5447 MB / 450.7 MB, free: 5.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.145, allocations: 29.7 kB / 450.7 MB, free: 5.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.1451, allocations: 208.4 kB / 450.9 MB, free: 4.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.467e-05/0.1452, allocations: 63.09 kB / 451 MB, free: 4.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.1452, allocations: 17.72 kB / 451 MB, free: 4.891 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1453, allocations: 354.7 kB / 451.3 MB, free: 4.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.1455, allocations: 51.97 kB / 451.4 MB, free: 4.484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.1456, allocations: 55.97 kB / 451.4 MB, free: 4.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.1458, allocations: 136.2 kB / 451.6 MB, free: 4.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1458, allocations: 3.938 kB / 451.6 MB, free: 4.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003241/0.1462, allocations: 201.1 kB / 451.8 MB, free: 4.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1462, allocations: 4 kB / 451.8 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1462, allocations: 0 / 451.8 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1462, allocations: 4 kB / 451.8 MB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.1464, allocations: 35.98 kB / 451.8 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1464, allocations: 0 / 451.8 MB, free: 4.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.425e-05/0.1465, allocations: 11.98 kB / 451.8 MB, free: 4.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.39e-05/0.1465, allocations: 4 kB / 451.8 MB, free: 4.031 MB / 382.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 (17): * Single equations (assignments): 17 * 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.0001667/0.1467, allocations: 181.7 kB / 452 MB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.1467, allocations: 39.52 kB / 452 MB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004476/0.1472, allocations: 249.3 kB / 452.3 MB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1472, allocations: 8 kB / 452.3 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1472, allocations: 0 / 452.3 MB, free: 3.551 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1472, allocations: 3.938 kB / 452.3 MB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008018/0.148, allocations: 0.6306 MB / 452.9 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.148, allocations: 0 / 452.9 MB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1481, allocations: 39.91 kB / 453 MB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.1482, allocations: 3.984 kB / 453 MB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1482, allocations: 8 kB / 453 MB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.1482, allocations: 3.938 kB / 453 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1482, allocations: 0 / 453 MB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003696/0.1486, allocations: 306.9 kB / 453.3 MB, free: 2.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9e-05/0.1487, allocations: 120.6 kB / 453.4 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.102e-05/0.1487, allocations: 4 kB / 453.4 MB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.975e-05/0.1488, allocations: 19.92 kB / 453.4 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.1489, allocations: 11.98 kB / 453.4 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.1489, allocations: 8 kB / 453.4 MB, free: 2.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004986/0.1494, allocations: 411.1 kB / 453.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1494, allocations: 4 kB / 453.9 MB, free: 1.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002916/0.1497, allocations: 40 kB / 453.9 MB, free: 1.867 MB / 382.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 (17): * Single equations (assignments): 17 * 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.002142/0.1519, allocations: 1.452 MB / 455.3 MB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.1522, allocations: 139.8 kB / 455.5 MB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1522, allocations: 0 / 455.5 MB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1523, allocations: 75.91 kB / 455.6 MB, free: 212 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.1529, allocations: 65.45 kB / 455.6 MB, free: 148 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1992/0.3521, allocations: 3.171 MB / 458.8 MB, free: 44.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.3524, allocations: 0.8041 MB / 459.6 MB, free: 43.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.3525, allocations: 46.61 kB / 459.6 MB, free: 43.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.3527, allocations: 120.1 kB / 459.8 MB, free: 43.64 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3527, allocations: 3.812 kB / 459.8 MB, free: 43.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.37, allocations: 6.644 MB / 466.4 MB, free: 43.12 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.3702, allocations: 233.8 kB / 466.6 MB, free: 42.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.98/2.35, allocations: 0 / 466.6 MB, free: 42.88 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches