Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.0007627/0.0007627, allocations: 93.42 kB / 17.35 MB, free: 6.344 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.001321/0.001321, allocations: 171.3 kB / 18.25 MB, free: 5.504 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.259/1.259, allocations: 223.3 MB / 242.3 MB, free: 14.48 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.1898/0.1898, allocations: 44.25 MB / 337.7 MB, free: 2.426 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003166, allocations: 11.98 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.108, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test20): time 0.002657/0.1107, allocations: 1.649 MB / 474 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1123, allocations: 0.8302 MB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001547/0.1125, allocations: 0 / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004519/0.1129, allocations: 235.5 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.1133, allocations: 175.5 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.1144, allocations: 460 kB / 475.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000418/0.1148, allocations: 267.3 kB / 476 MB, free: 9.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001922/0.115, allocations: 64.8 kB / 476 MB, free: 9.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1152, allocations: 111.5 kB / 476.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.1155, allocations: 175.4 kB / 476.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.1155, allocations: 4 kB / 476.3 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.1157, allocations: 59.92 kB / 476.4 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.1158, allocations: 83.67 kB / 476.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1159, allocations: 132.8 kB / 476.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.1163, allocations: 294.8 kB / 476.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1163, allocations: 0 / 476.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1163, allocations: 0 / 476.9 MB, free: 8.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.1163, allocations: 0 / 476.9 MB, free: 8.707 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007803/0.1171, allocations: 0.5937 MB / 477.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.1172, allocations: 8.031 kB / 477.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.43e-05/0.1172, allocations: 42.69 kB / 477.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.1173, allocations: 48.38 kB / 477.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.1177, allocations: 318.2 kB / 477.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1177, allocations: 8.375 kB / 477.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.1177, allocations: 8.375 kB / 477.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.118, allocations: 113.5 kB / 478 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.118, allocations: 3.906 kB / 478 MB, free: 7.473 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.118, allocations: 15.94 kB / 478 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.118, allocations: 0 / 478 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.1182, allocations: 79.89 kB / 478.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006324/0.1188, allocations: 496.3 kB / 478.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.119, allocations: 102.5 kB / 478.7 MB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.403e-05/0.1191, allocations: 36.84 kB / 478.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1191, allocations: 4 kB / 478.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.1192, allocations: 34.5 kB / 478.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.1192, allocations: 0 / 478.7 MB, free: 6.648 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009119/0.1201, allocations: 404.1 kB / 479.1 MB, free: 6.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.1201, allocations: 55.31 kB / 479.2 MB, free: 6.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.1207, allocations: 0.5448 MB / 479.7 MB, free: 5.629 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1207, allocations: 29.7 kB / 479.8 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.1209, allocations: 208.3 kB / 480 MB, free: 5.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.1209, allocations: 51.2 kB / 480 MB, free: 5.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.121, allocations: 21.7 kB / 480 MB, free: 5.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1211, allocations: 350.8 kB / 480.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/0.1212, allocations: 51.97 kB / 480.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.1213, allocations: 58.48 kB / 480.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.1216, allocations: 140.6 kB / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1216, allocations: 0 / 480.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003219/0.1219, allocations: 195.4 kB / 480.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.122, allocations: 8 kB / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.122, allocations: 0 / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.122, allocations: 0 / 480.8 MB, free: 4.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.1221, allocations: 43.91 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1222, allocations: 0 / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.1222, allocations: 11.91 kB / 480.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1223, allocations: 8 kB / 480.9 MB, free: 4.445 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 (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.0001538/0.1224, allocations: 177.7 kB / 481.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.1225, allocations: 39.53 kB / 481.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.1229, allocations: 241.4 kB / 481.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.123, allocations: 4 kB / 481.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.123, allocations: 0 / 481.3 MB, free: 3.969 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.123, allocations: 3.984 kB / 481.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007415/0.1237, allocations: 0.6443 MB / 482 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1237, allocations: 0 / 482 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1238, allocations: 31.98 kB / 482 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1239, allocations: 7.938 kB / 482 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1239, allocations: 4 kB / 482 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1239, allocations: 7.938 kB / 482 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1239, allocations: 0 / 482 MB, free: 3.215 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.1242, allocations: 310.9 kB / 482.3 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.1243, allocations: 116.6 kB / 482.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.1244, allocations: 8 kB / 482.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.904e-05/0.1245, allocations: 11.94 kB / 482.5 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.1245, allocations: 15.98 kB / 482.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1246, allocations: 4 kB / 482.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003891/0.1249, allocations: 415.1 kB / 482.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.125, allocations: 0 / 482.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.1253, allocations: 40 kB / 482.9 MB, free: 2.285 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 (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.002103/0.1274, allocations: 1.429 MB / 484.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.1277, allocations: 139.9 kB / 484.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1277, allocations: 0 / 484.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.1278, allocations: 82.78 kB / 484.6 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.1284, allocations: 81.41 kB / 484.7 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.1319, allocations: 3.172 MB / 487.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.1323, allocations: 0.8065 MB / 488.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001217/0.1324, allocations: 41.91 kB / 488.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.1326, allocations: 123.4 kB / 488.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1326, allocations: 0 / 488.8 MB, free: 12.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.1498, allocations: 6.662 MB / 495.5 MB, free: 6.062 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.15, allocations: 229 kB / 495.7 MB, free: 5.812 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.032, allocations: 0 / 495.7 MB, free: 5.812 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches