Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.00106/0.001059, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.001396/0.001396, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.362/1.362, allocations: 223.3 MB / 242.3 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1971/0.1971, allocations: 44.25 MB / 337.7 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003082, allocations: 12 kB / 410.4 MB, free: 27.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1168, allocations: 61.92 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002237/0.1191, allocations: 1.66 MB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.1204, allocations: 0.9982 MB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.1205, allocations: 0 / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.1207, allocations: 35.77 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.121, allocations: 131.5 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007486/0.1217, allocations: 391.7 kB / 475.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.122, allocations: 247.1 kB / 475.8 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1221, allocations: 56.62 kB / 475.9 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.1223, allocations: 103.5 kB / 476 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.1225, allocations: 163.3 kB / 476.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.1225, allocations: 8 kB / 476.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.462e-05/0.1226, allocations: 47.98 kB / 476.2 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.1227, allocations: 123.6 kB / 476.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1228, allocations: 180.4 kB / 476.5 MB, free: 9.098 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1231, allocations: 362.4 kB / 476.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.1231, allocations: 0 / 476.8 MB, free: 8.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1232, allocations: 4 kB / 476.8 MB, free: 8.738 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1232, allocations: 0 / 476.8 MB, free: 8.738 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007333/0.1239, allocations: 0.6961 MB / 477.5 MB, free: 7.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1239, allocations: 8.031 kB / 477.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.609e-05/0.124, allocations: 42.73 kB / 477.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.129e-05/0.124, allocations: 56.28 kB / 477.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004484/0.1245, allocations: 447.8 kB / 478.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1245, allocations: 8.375 kB / 478.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.1246, allocations: 15.94 kB / 478.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/0.1248, allocations: 131.3 kB / 478.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.1248, allocations: 0 / 478.2 MB, free: 7.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1248, allocations: 8 kB / 478.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1248, allocations: 0 / 478.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.125, allocations: 91.92 kB / 478.3 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007608/0.1258, allocations: 0.6875 MB / 479 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.126, allocations: 105.2 kB / 479.1 MB, free: 6.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.684e-05/0.1261, allocations: 53.81 kB / 479.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.1261, allocations: 11.88 kB / 479.2 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.1261, allocations: 38.56 kB / 479.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1262, allocations: 0 / 479.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001239/0.1274, allocations: 0.5372 MB / 479.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.1274, allocations: 81.11 kB / 479.8 MB, free: 5.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/0.1283, allocations: 0.8779 MB / 480.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1283, allocations: 25.7 kB / 480.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.1285, allocations: 252.2 kB / 481 MB, free: 4.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.1285, allocations: 47.27 kB / 481 MB, free: 4.297 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.1286, allocations: 21.72 kB / 481 MB, free: 4.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1287, allocations: 374.7 kB / 481.4 MB, free: 3.895 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.1289, allocations: 63.91 kB / 481.5 MB, free: 3.832 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.129, allocations: 81.67 kB / 481.6 MB, free: 3.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.1294, allocations: 161.6 kB / 481.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1294, allocations: 0 / 481.7 MB, free: 3.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004163/0.1298, allocations: 232.9 kB / 481.9 MB, free: 3.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.1298, allocations: 4 kB / 481.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1298, allocations: 3.984 kB / 481.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.1299, allocations: 4 kB / 481.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.13, allocations: 43.91 kB / 482 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.13, allocations: 0 / 482 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.1302, allocations: 20 kB / 482 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.1302, allocations: 7.984 kB / 482 MB, free: 3.266 MB / 350.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.0001742/0.1304, allocations: 205.7 kB / 482.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.1305, allocations: 55.28 kB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000531/0.131, allocations: 282.5 kB / 482.5 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.131, allocations: 7.938 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.131, allocations: 0.75 kB / 482.6 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.131, allocations: 11.92 kB / 482.6 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009522/0.132, allocations: 0.7826 MB / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.132, allocations: 0 / 483.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.1322, allocations: 47.97 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1322, allocations: 0 / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.1322, allocations: 4 kB / 483.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1322, allocations: 3.938 kB / 483.4 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1322, allocations: 7.938 kB / 483.4 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.1327, allocations: 420.8 kB / 483.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.1329, allocations: 152.4 kB / 484 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.093e-05/0.1329, allocations: 4 kB / 484 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.1331, allocations: 19.92 kB / 484 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1331, allocations: 15.98 kB / 484 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.1332, allocations: 7.984 kB / 484 MB, free: 1.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000654/0.1338, allocations: 0.6355 MB / 484.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1338, allocations: 0 / 484.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003228/0.1341, allocations: 56 kB / 484.7 MB, free: 480 kB / 350.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.001443/0.1356, allocations: 1.252 MB / 486 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003589/0.136, allocations: 163.8 kB / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.136, allocations: 0 / 486.1 MB, free: 15.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001792/0.1362, allocations: 92.36 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000572/0.1367, allocations: 76.64 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/0.1424, allocations: 5.22 MB / 491.5 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1428, allocations: 0.8563 MB / 492.4 MB, free: 8.832 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001669/0.143, allocations: 75.23 kB / 492.4 MB, free: 8.762 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001966/0.1432, allocations: 163.4 kB / 492.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1432, allocations: 0 / 492.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.1666, allocations: 8.781 MB / 0.4896 GB, free: 15.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/0.1668, allocations: 238.2 kB / 0.4899 GB, free: 15.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.026, allocations: 0 / 0.4899 GB, free: 15.69 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches