Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29",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.0008587/0.0008587, allocations: 88.86 kB / 17.35 MB, free: 6.027 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.00104/0.00104, allocations: 178.5 kB / 18.26 MB, free: 5.387 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.298/1.298, allocations: 223.2 MB / 242.3 MB, free: 88 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.1904/0.1904, allocations: 44.25 MB / 337.7 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002762/0.0002763, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1097, allocations: 61.92 MB / 472.3 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test29): time 0.002325/0.1121, allocations: 1.356 MB / 473.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008996/0.113, allocations: 443.2 kB / 474.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.095e-05/0.1131, allocations: 3.938 kB / 474.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.1133, allocations: 67.83 kB / 474.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.1135, allocations: 51.88 kB / 474.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.114, allocations: 162.4 kB / 474.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.1141, allocations: 83.75 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1143, allocations: 19.98 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.24e-05/0.1143, allocations: 27.91 kB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.879e-05/0.1144, allocations: 47.78 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.1144, allocations: 0 / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.1145, allocations: 55.89 kB / 474.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.489e-05/0.1146, allocations: 23.92 kB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.1147, allocations: 53.45 kB / 474.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.1149, allocations: 111.9 kB / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1149, allocations: 0 / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1149, allocations: 0 / 474.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.289e-06/0.1149, allocations: 0 / 474.8 MB, free: 10.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005278/0.1154, allocations: 419 kB / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.1155, allocations: 12.03 kB / 475.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.1155, allocations: 38.73 kB / 475.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.1156, allocations: 8.844 kB / 475.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.1158, allocations: 204.7 kB / 475.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.1158, allocations: 4.375 kB / 475.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1158, allocations: 8.375 kB / 475.5 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.116, allocations: 73.55 kB / 475.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.116, allocations: 3.906 kB / 475.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.116, allocations: 4 kB / 475.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.116, allocations: 0 / 475.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.1162, allocations: 59.89 kB / 475.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.1167, allocations: 320.8 kB / 476 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.1169, allocations: 70.58 kB / 476 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.117, allocations: 32.95 kB / 476.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.117, allocations: 0 / 476.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.117, allocations: 34.56 kB / 476.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.32e-07/0.1171, allocations: 0 / 476.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001619/0.1187, allocations: 0.4933 MB / 476.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.1187, allocations: 51.41 kB / 476.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.119, allocations: 220 kB / 476.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.119, allocations: 25.7 kB / 476.9 MB, free: 8.465 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.65e-05/0.1191, allocations: 112 kB / 477 MB, free: 8.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/0.1191, allocations: 43.38 kB / 477 MB, free: 8.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.1192, allocations: 17.66 kB / 477 MB, free: 8.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1193, allocations: 326.8 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.1195, allocations: 63.95 kB / 477.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.1196, allocations: 63.95 kB / 477.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.1199, allocations: 136.8 kB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1199, allocations: 0 / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003812/0.1203, allocations: 181.5 kB / 477.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.1204, allocations: 4 kB / 477.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.1204, allocations: 4.062 kB / 477.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1204, allocations: 3.938 kB / 477.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1205, allocations: 39.91 kB / 477.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.1206, allocations: 7.984 kB / 477.9 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.1206, allocations: 15.98 kB / 477.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1206, allocations: 4 kB / 477.9 MB, free: 7.434 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 (11): * Single equations (assignments): 11 * 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.0001137/0.1208, allocations: 133.8 kB / 478 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.1208, allocations: 11.81 kB / 478 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004366/0.1212, allocations: 210.9 kB / 478.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.1213, allocations: 3.938 kB / 478.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1213, allocations: 4 kB / 478.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1213, allocations: 4 kB / 478.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007933/0.1221, allocations: 0.5193 MB / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1221, allocations: 0 / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.1222, allocations: 27.98 kB / 478.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1222, allocations: 4 kB / 478.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1222, allocations: 0 / 478.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1222, allocations: 0 / 478.8 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1222, allocations: 4.062 kB / 478.8 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004206/0.1227, allocations: 301.4 kB / 479.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.1227, allocations: 92.91 kB / 479.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.1228, allocations: 4 kB / 479.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.1229, allocations: 15.98 kB / 479.2 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.1229, allocations: 11.98 kB / 479.2 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.1229, allocations: 4 kB / 479.2 MB, free: 5.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.1231, allocations: 163.5 kB / 479.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1231, allocations: 0 / 479.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1234, allocations: 28 kB / 479.4 MB, free: 5.797 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001659/0.125, allocations: 1.172 MB / 480.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003905/0.1254, allocations: 147.8 kB / 480.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1254, allocations: 0 / 480.7 MB, free: 4.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.1256, allocations: 87.95 kB / 480.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.126, allocations: 16 kB / 480.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002337/0.1283, allocations: 2.013 MB / 482.8 MB, free: 2.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1286, allocations: 0.716 MB / 483.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000103/0.1288, allocations: 32.61 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.891e-05/0.1288, allocations: 51.36 kB / 483.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1288, allocations: 0 / 483.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01492/0.1438, allocations: 3.057 MB / 486.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.144, allocations: 236.7 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/1.947, allocations: 0 / 486.9 MB, free: 14.41 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches