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.001675/0.001675, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001749/0.00175, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.356/1.356, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2084/0.2084, allocations: 44.17 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 64.02 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1017, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test20): time 0.003529/0.1053, allocations: 1.965 MB / 471.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.1069, allocations: 0.955 MB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.1071, allocations: 4 kB / 472.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004516/0.1075, allocations: 263.2 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.108, allocations: 199.2 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.1094, allocations: 0.649 MB / 473.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004675/0.1099, allocations: 303.2 kB / 473.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.1101, allocations: 84.53 kB / 473.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.1103, allocations: 135.6 kB / 473.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.1106, allocations: 199.2 kB / 474.1 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.329e-05/0.1106, allocations: 8 kB / 474.1 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.1108, allocations: 71.95 kB / 474.2 MB, free: 9.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001318/0.111, allocations: 87.75 kB / 474.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.1111, allocations: 126.8 kB / 474.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004305/0.1115, allocations: 314.9 kB / 474.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1116, allocations: 4 kB / 474.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1116, allocations: 0 / 474.7 MB, free: 8.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1116, allocations: 0 / 474.7 MB, free: 8.934 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.0009451/0.1125, allocations: 0.6574 MB / 475.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.1126, allocations: 8.031 kB / 475.4 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.479e-05/0.1127, allocations: 46.67 kB / 475.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.523e-05/0.1127, allocations: 44.38 kB / 475.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003854/0.1131, allocations: 326.2 kB / 475.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.1132, allocations: 8.375 kB / 475.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.1132, allocations: 24.28 kB / 475.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.1134, allocations: 121.6 kB / 475.9 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1135, allocations: 4 kB / 475.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1135, allocations: 0 / 475.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1135, allocations: 4 kB / 475.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000185/0.1137, allocations: 99.8 kB / 476 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.1144, allocations: 0.5042 MB / 476.5 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.1147, allocations: 110.5 kB / 476.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.1148, allocations: 40.83 kB / 476.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.834e-05/0.1148, allocations: 7.984 kB / 476.7 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1148, allocations: 42.44 kB / 476.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.1149, allocations: 0 / 476.7 MB, free: 6.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001261/0.1161, allocations: 432 kB / 477.1 MB, free: 6.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.1162, allocations: 55.41 kB / 477.2 MB, free: 6.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007723/0.117, allocations: 0.5526 MB / 477.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.117, allocations: 29.7 kB / 477.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1172, allocations: 212.3 kB / 478 MB, free: 5.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/0.1173, allocations: 55.11 kB / 478 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.1174, allocations: 33.7 kB / 478.1 MB, free: 5.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.1176, allocations: 354.8 kB / 478.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1178, allocations: 63.95 kB / 478.5 MB, free: 4.918 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.1179, allocations: 70.45 kB / 478.5 MB, free: 4.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.1182, allocations: 156.7 kB / 478.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1183, allocations: 4 kB / 478.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004501/0.1187, allocations: 230.7 kB / 478.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1187, allocations: 4 kB / 478.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1188, allocations: 4 kB / 478.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.1188, allocations: 3.938 kB / 478.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.119, allocations: 31.98 kB / 479 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.119, allocations: 0 / 479 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.151e-05/0.1191, allocations: 15.89 kB / 479 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.1191, allocations: 11.94 kB / 479 MB, free: 4.391 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.0001806/0.1193, allocations: 185.7 kB / 479.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.1194, allocations: 39.53 kB / 479.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.1199, allocations: 273.4 kB / 479.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.1199, allocations: 0 / 479.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1199, allocations: 4 kB / 479.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1199, allocations: 3.984 kB / 479.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008238/0.1207, allocations: 0.6765 MB / 480.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1208, allocations: 0 / 480.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.1209, allocations: 35.92 kB / 480.2 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.1209, allocations: 11.98 kB / 480.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1209, allocations: 0 / 480.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.1209, allocations: 3.938 kB / 480.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1209, allocations: 0 / 480.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004469/0.1214, allocations: 326.9 kB / 480.5 MB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.1215, allocations: 116.6 kB / 480.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.509e-05/0.1216, allocations: 15.98 kB / 480.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1217, allocations: 11.94 kB / 480.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.1217, allocations: 11.98 kB / 480.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.1218, allocations: 8 kB / 480.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004563/0.1222, allocations: 415.1 kB / 481.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1222, allocations: 0 / 481.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003371/0.1226, allocations: 51.98 kB / 481.2 MB, free: 2.121 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.002154/0.1247, allocations: 1.447 MB / 482.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003611/0.1251, allocations: 178.1 kB / 482.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1251, allocations: 0 / 482.8 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1253, allocations: 91.89 kB / 482.9 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.1258, allocations: 81.69 kB / 482.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003751/0.1296, allocations: 3.219 MB / 486.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.13, allocations: 0.826 MB / 487 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.1301, allocations: 62.23 kB / 487.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.1303, allocations: 123.4 kB / 487.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1303, allocations: 0 / 487.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.1551, allocations: 7.354 MB / 494.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.931/8.087, allocations: 12.05 kB / 494.5 MB, free: 5.016 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