Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.0008798/0.0008797, allocations: 91.88 kB / 17.35 MB, free: 6.031 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.001091/0.001091, allocations: 173.5 kB / 18.26 MB, free: 5.391 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.36/1.36, allocations: 223.3 MB / 242.3 MB, free: 96 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.197/0.197, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003139, allocations: 14.31 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1032, allocations: 61.91 MB / 472.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.002346/0.1056, allocations: 1.655 MB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1073, allocations: 0.9435 MB / 475 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1074, allocations: 7.938 kB / 475 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.108, allocations: 251.4 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.1084, allocations: 171.5 kB / 475.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.1098, allocations: 0.6142 MB / 476 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.1103, allocations: 291.2 kB / 476.3 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.1105, allocations: 76.55 kB / 476.3 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.1107, allocations: 111.5 kB / 476.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002383/0.1109, allocations: 183.4 kB / 476.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.399e-05/0.1109, allocations: 4 kB / 476.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1111, allocations: 67.86 kB / 476.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1113, allocations: 83.72 kB / 476.8 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1114, allocations: 140.7 kB / 476.9 MB, free: 8.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.1118, allocations: 298.9 kB / 477.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1118, allocations: 0 / 477.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1118, allocations: 0 / 477.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1118, allocations: 0 / 477.2 MB, free: 8.398 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.0007914/0.1126, allocations: 0.5992 MB / 477.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.1127, allocations: 12.03 kB / 477.8 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.855e-05/0.1127, allocations: 42.69 kB / 477.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.11e-05/0.1128, allocations: 44.45 kB / 477.9 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/0.1133, allocations: 326.1 kB / 478.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.1133, allocations: 8.375 kB / 478.2 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.1134, allocations: 12.38 kB / 478.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002757/0.1136, allocations: 129.5 kB / 478.4 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1137, allocations: 4 kB / 478.4 MB, free: 7.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.1137, allocations: 4 kB / 478.4 MB, free: 7.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1137, allocations: 4 kB / 478.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.1139, allocations: 99.88 kB / 478.5 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.1147, allocations: 0.5158 MB / 479 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1149, allocations: 118.4 kB / 479.1 MB, free: 6.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.105e-05/0.115, allocations: 44.83 kB / 479.2 MB, free: 6.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.115, allocations: 4 kB / 479.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.115, allocations: 34.5 kB / 479.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.1151, allocations: 0 / 479.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0009919/0.1161, allocations: 460 kB / 479.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1161, allocations: 59.41 kB / 479.7 MB, free: 5.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005628/0.1167, allocations: 0.5487 MB / 480.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1167, allocations: 29.7 kB / 480.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/0.1168, allocations: 204.3 kB / 480.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.1169, allocations: 59.09 kB / 480.5 MB, free: 4.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.1169, allocations: 17.72 kB / 480.6 MB, free: 4.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1171, allocations: 354.8 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.1172, allocations: 71.95 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.1174, allocations: 75.89 kB / 481.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002724/0.1176, allocations: 162.9 kB / 481.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1177, allocations: 0 / 481.2 MB, free: 4.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003905/0.1181, allocations: 241 kB / 481.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.1181, allocations: 4 kB / 481.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1181, allocations: 0 / 481.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1181, allocations: 0 / 481.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1183, allocations: 39.91 kB / 481.5 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1183, allocations: 4 kB / 481.5 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.1184, allocations: 12 kB / 481.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.1184, allocations: 8 kB / 481.5 MB, free: 3.867 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.0001663/0.1186, allocations: 177.7 kB / 481.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.1186, allocations: 39.44 kB / 481.7 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000511/0.1192, allocations: 299.5 kB / 482 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1192, allocations: 4 kB / 482 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1192, allocations: 4 kB / 482 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1192, allocations: 0 / 482 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008474/0.12, allocations: 0.6856 MB / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1201, allocations: 0 / 482.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1202, allocations: 35.98 kB / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1202, allocations: 0 / 482.7 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1202, allocations: 4 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.1202, allocations: 3.938 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1202, allocations: 4 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003987/0.1206, allocations: 336.6 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.503e-05/0.1207, allocations: 132.5 kB / 483.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.1208, allocations: 7.938 kB / 483.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1209, allocations: 15.94 kB / 483.2 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.1209, allocations: 11.98 kB / 483.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1209, allocations: 4 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000394/0.1213, allocations: 415.1 kB / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1214, allocations: 0 / 483.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003051/0.1217, allocations: 47.98 kB / 483.7 MB, free: 1.566 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.002321/0.124, allocations: 1.456 MB / 485.2 MB, free: 408 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.1244, allocations: 182.4 kB / 485.3 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1244, allocations: 0 / 485.3 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.1245, allocations: 95.88 kB / 485.4 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005687/0.1251, allocations: 82.97 kB / 485.5 MB, free: 52 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.1292, allocations: 3.342 MB / 488.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.1297, allocations: 0.8224 MB / 489.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.1298, allocations: 54.23 kB / 489.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.13, allocations: 127.4 kB / 489.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.13, allocations: 0 / 489.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.1494, allocations: 6.889 MB / 496.7 MB, free: 4.828 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.1496, allocations: 233.1 kB / 497 MB, free: 4.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/1.931, allocations: 0 / 497 MB, free: 4.574 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches