Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001244/0.00125, allocations: 106.4 kB / 17.2 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.001349/0.001349, 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.461/1.461, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.216/0.216, allocations: 44.18 MB / 336.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 63.03 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1241, allocations: 60.83 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.002977/0.1271, allocations: 1.677 MB / 470.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.1286, allocations: 1.015 MB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.496e-05/0.1286, allocations: 0 / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.1288, allocations: 15.88 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.129, allocations: 47.83 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003236/0.1294, allocations: 114.5 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.1295, allocations: 55.78 kB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.1296, allocations: 20.17 kB / 471.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.792e-05/0.1297, allocations: 19.92 kB / 471.6 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001372/0.1298, allocations: 31.84 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.1298, allocations: 4 kB / 471.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1299, allocations: 47.97 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.85e-05/0.13, allocations: 19.86 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.1301, allocations: 27.8 kB / 471.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.1302, allocations: 99.97 kB / 471.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1303, allocations: 4 kB / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1303, allocations: 0 / 471.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1303, allocations: 0 / 471.8 MB, free: 11.52 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.0005095/0.1308, allocations: 395.2 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1308, allocations: 12.03 kB / 472.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.1309, allocations: 30.75 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1309, allocations: 4.938 kB / 472.3 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.1311, allocations: 192.1 kB / 472.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1312, allocations: 4.375 kB / 472.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.1312, allocations: 12.06 kB / 472.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1314, allocations: 75.38 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1314, allocations: 4 kB / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.1314, allocations: 0 / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1314, allocations: 0 / 472.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.1316, allocations: 35.97 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.1319, allocations: 288.8 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1321, allocations: 46.5 kB / 472.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.104e-05/0.1321, allocations: 24.94 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1322, allocations: 7.984 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.1322, allocations: 30.56 kB / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1322, allocations: 0 / 473 MB, free: 10.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007183/0.1329, allocations: 201.2 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.133, allocations: 77.11 kB / 473.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.1332, allocations: 149.1 kB / 473.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.1332, allocations: 29.7 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.1333, allocations: 96.05 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.1333, allocations: 27.77 kB / 473.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.1333, allocations: 17.72 kB / 473.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1335, allocations: 322.8 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1336, allocations: 27.97 kB / 473.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1337, allocations: 61.56 kB / 473.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.1339, allocations: 68.81 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1339, allocations: 4 kB / 474 MB, free: 9.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002588/0.1342, allocations: 105.5 kB / 474.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1342, allocations: 4 kB / 474.1 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1342, allocations: 4.031 kB / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1342, allocations: 0 / 474.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1344, allocations: 23.92 kB / 474.1 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1344, allocations: 3.938 kB / 474.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.1344, allocations: 19.92 kB / 474.2 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.1345, allocations: 0 / 474.2 MB, free: 8.918 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 8.898e-05/0.1346, allocations: 113.8 kB / 474.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.435e-05/0.1346, allocations: 11.91 kB / 474.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.1349, allocations: 126.6 kB / 474.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.135, allocations: 7.984 kB / 474.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.135, allocations: 3.938 kB / 474.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.135, allocations: 0 / 474.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005045/0.1355, allocations: 386.5 kB / 474.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1355, allocations: 288 / 474.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.285e-05/0.1356, allocations: 19.98 kB / 474.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1356, allocations: 3.938 kB / 474.8 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.1356, allocations: 7.938 kB / 474.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1356, allocations: 0 / 474.8 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1356, allocations: 3.984 kB / 474.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.1359, allocations: 219.3 kB / 475.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.136, allocations: 85.02 kB / 475.1 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.136, allocations: 7.938 kB / 475.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.1361, allocations: 7.984 kB / 475.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.1362, allocations: 7.984 kB / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1362, allocations: 0 / 475.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.076e-05/0.1363, allocations: 115.3 kB / 475.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1363, allocations: 0 / 475.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.1365, allocations: 27.98 kB / 475.3 MB, free: 7.68 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.001399/0.1379, allocations: 1.068 MB / 476.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002749/0.1382, allocations: 83.86 kB / 476.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1382, allocations: 4 kB / 476.5 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1384, allocations: 43.91 kB / 476.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.1387, allocations: 17.81 kB / 476.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.1405, allocations: 1.545 MB / 478.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1407, allocations: 0.6965 MB / 478.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.385e-05/0.1408, allocations: 12.67 kB / 478.8 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.1409, allocations: 31.36 kB / 478.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1409, allocations: 0 / 478.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0143/0.1552, allocations: 2.786 MB / 481.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003404/0.1556, allocations: 233.6 kB / 481.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.922/2.077, allocations: 0 / 481.8 MB, free: 1.281 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches