Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3",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.0008278/0.0008277, allocations: 102.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009916/0.000992, allocations: 185 kB / 16.92 MB, free: 6.918 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.775/1.775, allocations: 205.4 MB / 223.1 MB, free: 5.727 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.3763/0.3763, allocations: 43.57 MB / 315 MB, free: 8.938 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.0005242/0.0005245, allocations: 20.33 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 58.86 MB / 443.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.001929/0.1231, allocations: 1.275 MB / 444.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006608/0.1238, allocations: 323.6 kB / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.1238, allocations: 0 / 445.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.1242, allocations: 75.84 kB / 445.2 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.1243, allocations: 43.88 kB / 445.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.1246, allocations: 95.81 kB / 445.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001493/0.1248, allocations: 55.91 kB / 445.4 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.1249, allocations: 20.23 kB / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.57e-05/0.125, allocations: 31.8 kB / 445.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1251, allocations: 43.89 kB / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1251, allocations: 0 / 445.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.888e-05/0.1252, allocations: 27.98 kB / 445.5 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.554e-05/0.1252, allocations: 19.92 kB / 445.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.1253, allocations: 45.52 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.1255, allocations: 83.64 kB / 445.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1255, allocations: 0 / 445.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1255, allocations: 0 / 445.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1255, allocations: 0 / 445.7 MB, free: 10.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005322/0.126, allocations: 391.2 kB / 446 MB, free: 10.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.1261, allocations: 11.97 kB / 446.1 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.1261, allocations: 30.75 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.1262, allocations: 12.75 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1264, allocations: 192.2 kB / 446.3 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1264, allocations: 4.359 kB / 446.3 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1265, allocations: 4.375 kB / 446.3 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.1266, allocations: 53.62 kB / 446.3 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1266, allocations: 7.906 kB / 446.4 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.1267, allocations: 3.938 kB / 446.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.1267, allocations: 0 / 446.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.1268, allocations: 35.91 kB / 446.4 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.1272, allocations: 276.9 kB / 446.7 MB, free: 9.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.1275, allocations: 50.56 kB / 446.7 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.1275, allocations: 20.94 kB / 446.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1276, allocations: 0 / 446.7 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1276, allocations: 34.5 kB / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.11e-07/0.1276, allocations: 4 kB / 446.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006531/0.1283, allocations: 169.2 kB / 446.9 MB, free: 9.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.1283, allocations: 59.34 kB / 447 MB, free: 9.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.1285, allocations: 190.2 kB / 447.2 MB, free: 8.961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.1286, allocations: 29.7 kB / 447.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.1286, allocations: 100 kB / 447.3 MB, free: 8.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.709e-05/0.1287, allocations: 15.8 kB / 447.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.1287, allocations: 13.72 kB / 447.3 MB, free: 8.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1288, allocations: 322.8 kB / 447.7 MB, free: 8.465 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.582e-05/0.1289, allocations: 27.98 kB / 447.7 MB, free: 8.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.129, allocations: 23.98 kB / 447.7 MB, free: 8.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.1291, allocations: 60.83 kB / 447.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1292, allocations: 0 / 447.8 MB, free: 8.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001929/0.1294, allocations: 97.56 kB / 447.9 MB, free: 8.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1294, allocations: 4 kB / 447.9 MB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1294, allocations: 7.938 kB / 447.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1294, allocations: 0 / 447.9 MB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.1295, allocations: 15.98 kB / 447.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1295, allocations: 7.938 kB / 447.9 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.1295, allocations: 4.25 kB / 447.9 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.1296, allocations: 7.938 kB / 447.9 MB, free: 8.203 MB / 382.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 (5): * Single equations (assignments): 5 * 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 8.881e-05/0.1296, allocations: 125.8 kB / 448 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.1297, allocations: 7.906 kB / 448 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.1299, allocations: 114 kB / 448.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.13, allocations: 0 / 448.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.13, allocations: 3.938 kB / 448.1 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.13, allocations: 0 / 448.1 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004042/0.1304, allocations: 370.4 kB / 448.5 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1304, allocations: 0 / 448.5 MB, free: 7.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.1304, allocations: 12 kB / 448.5 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1305, allocations: 0 / 448.5 MB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1305, allocations: 3.984 kB / 448.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1305, allocations: 3.938 kB / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1305, allocations: 0 / 448.5 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1307, allocations: 199.3 kB / 448.7 MB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.995e-05/0.1308, allocations: 89 kB / 448.8 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1308, allocations: 0 / 448.8 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.701e-05/0.1308, allocations: 7.938 kB / 448.8 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-05/0.1309, allocations: 8.266 kB / 448.8 MB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1309, allocations: 0 / 448.8 MB, free: 7.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.131, allocations: 159.9 kB / 449 MB, free: 7.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.131, allocations: 0 / 449 MB, free: 7.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002303/0.1313, allocations: 12 kB / 449 MB, free: 7.004 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001394/0.1327, allocations: 1.031 MB / 450 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.1329, allocations: 63.91 kB / 450.1 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1329, allocations: 0 / 450.1 MB, free: 5.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.819e-05/0.133, allocations: 35.92 kB / 450.1 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.1334, allocations: 19.92 kB / 450.1 MB, free: 5.867 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.135, allocations: 1.572 MB / 451.7 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.1353, allocations: 0.7083 MB / 452.4 MB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.677e-05/0.1353, allocations: 19.98 kB / 452.4 MB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.1354, allocations: 27.42 kB / 452.5 MB, free: 3.434 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1354, allocations: 0 / 452.5 MB, free: 3.434 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01148/0.1469, allocations: 2.275 MB / 454.7 MB, free: 1.156 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.1471, allocations: 238.1 kB / 455 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.819, allocations: 0 / 455 MB, free: 0.8945 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches