Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",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.001077/0.001077, allocations: 98.09 kB / 15.98 MB, free: 6.352 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.001035/0.001035, allocations: 195.1 kB / 16.91 MB, free: 6.195 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.671/1.671, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.384/0.384, allocations: 43.5 MB / 313.6 MB, free: 8.477 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.001662/0.001662, allocations: 67.89 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1236, allocations: 57.78 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003342/0.127, allocations: 2.018 MB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1285, allocations: 1.046 MB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.901e-05/0.1286, allocations: 4 kB / 443.2 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1289, allocations: 35.77 kB / 443.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.1292, allocations: 131.5 kB / 443.3 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.1302, allocations: 0.5303 MB / 443.9 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003068/0.1305, allocations: 275.2 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.1307, allocations: 80.52 kB / 444.2 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001658/0.1309, allocations: 127.4 kB / 444.3 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001919/0.1311, allocations: 179.4 kB / 444.5 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.1311, allocations: 16 kB / 444.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.426e-05/0.1312, allocations: 40 kB / 444.6 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1314, allocations: 143.5 kB / 444.7 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1315, allocations: 174.6 kB / 444.9 MB, free: 9.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.1318, allocations: 362.6 kB / 445.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.1318, allocations: 0 / 445.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1318, allocations: 0 / 445.2 MB, free: 9.469 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.1319, allocations: 4 kB / 445.2 MB, free: 9.465 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00087/0.1327, allocations: 0.7657 MB / 446 MB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1328, allocations: 19.89 kB / 446 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.165e-05/0.1328, allocations: 46.73 kB / 446.1 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1329, allocations: 56.19 kB / 446.1 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004841/0.1334, allocations: 455.8 kB / 446.6 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1335, allocations: 8.375 kB / 446.6 MB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.1335, allocations: 19.84 kB / 446.6 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002609/0.1338, allocations: 147.2 kB / 446.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1338, allocations: 0 / 446.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.945e-05/0.1338, allocations: 11.98 kB / 446.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1338, allocations: 4 kB / 446.8 MB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.134, allocations: 99.81 kB / 446.9 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008455/0.1349, allocations: 0.6917 MB / 447.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.1351, allocations: 113.2 kB / 447.7 MB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.1352, allocations: 41.83 kB / 447.7 MB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.1352, allocations: 11.92 kB / 447.7 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.1353, allocations: 38.56 kB / 447.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.1353, allocations: 0 / 447.7 MB, free: 6.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001364/0.1367, allocations: 0.5331 MB / 448.3 MB, free: 6.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1367, allocations: 77.11 kB / 448.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/0.1376, allocations: 0.8936 MB / 449.2 MB, free: 5.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1376, allocations: 25.7 kB / 449.3 MB, free: 5.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.1378, allocations: 252.3 kB / 449.5 MB, free: 4.934 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.1379, allocations: 59.19 kB / 449.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.713e-05/0.1379, allocations: 33.7 kB / 449.6 MB, free: 4.836 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1381, allocations: 378.7 kB / 450 MB, free: 4.457 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.1383, allocations: 63.95 kB / 450 MB, free: 4.395 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001737/0.1384, allocations: 81.67 kB / 450.1 MB, free: 4.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.1388, allocations: 157.6 kB / 450.3 MB, free: 4.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1388, allocations: 4.688 kB / 450.3 MB, free: 4.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000466/0.1393, allocations: 249 kB / 450.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1393, allocations: 4 kB / 450.5 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1393, allocations: 4 kB / 450.5 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1393, allocations: 224 / 450.5 MB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1395, allocations: 35.97 kB / 450.6 MB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1396, allocations: 3.938 kB / 450.6 MB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1397, allocations: 19.89 kB / 450.6 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1397, allocations: 8 kB / 450.6 MB, free: 3.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0002185/0.1399, allocations: 225.6 kB / 450.8 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.1401, allocations: 51.34 kB / 450.9 MB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.1407, allocations: 290.1 kB / 451.1 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.1407, allocations: 4 kB / 451.2 MB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.1407, allocations: 0 / 451.2 MB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.1407, allocations: 0 / 451.2 MB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.1418, allocations: 0.8063 MB / 452 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1418, allocations: 0 / 452 MB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.142, allocations: 43.91 kB / 452 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.142, allocations: 0 / 452 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.142, allocations: 4 kB / 452 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.142, allocations: 7.922 kB / 452 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.142, allocations: 0 / 452 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.1426, allocations: 417.7 kB / 452.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.1427, allocations: 156.3 kB / 452.6 MB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/0.1428, allocations: 4 kB / 452.6 MB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/0.143, allocations: 15.92 kB / 452.6 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.143, allocations: 15.98 kB / 452.6 MB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.1431, allocations: 7.984 kB / 452.6 MB, free: 1.684 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006943/0.1438, allocations: 0.6472 MB / 453.3 MB, free: 1.039 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.844e-06/0.1438, allocations: 0 / 453.3 MB, free: 1.039 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000356/0.1441, allocations: 55.92 kB / 453.3 MB, free: 0.9844 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.1935/0.3376, allocations: 1.24 MB / 454.6 MB, free: 49.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005919/0.3382, allocations: 177.2 kB / 454.7 MB, free: 49.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3383, allocations: 0 / 454.7 MB, free: 49.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.3385, allocations: 93.33 kB / 454.8 MB, free: 49.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/0.3393, allocations: 77.91 kB / 454.9 MB, free: 49.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005301/0.3446, allocations: 5.319 MB / 460.2 MB, free: 47.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.3449, allocations: 0.8639 MB / 461.1 MB, free: 46.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.3451, allocations: 90.14 kB / 461.2 MB, free: 46.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.3453, allocations: 170.7 kB / 461.3 MB, free: 46.68 MB / 382.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3453, allocations: 0 / 461.3 MB, free: 46.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01812/0.3635, allocations: 9.43 MB / 470.8 MB, free: 45.61 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.3636, allocations: 233.3 kB / 471 MB, free: 45.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.912/2.276, allocations: 0 / 471 MB, free: 45.35 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches