Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.0007366/0.0007366, allocations: 94.88 kB / 17.35 MB, free: 6.375 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.0008216/0.0008216, allocations: 176.3 kB / 18.25 MB, free: 5.523 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.35/1.35, allocations: 223.3 MB / 242.3 MB, free: 248 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.2123/0.2123, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003043, allocations: 8 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1059, allocations: 61.93 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.00172/0.1077, allocations: 1.357 MB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007123/0.1084, allocations: 411.3 kB / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.1085, allocations: 0 / 474.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004488/0.1089, allocations: 451.2 kB / 474.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.1092, allocations: 251.5 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.1095, allocations: 119.2 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1097, allocations: 159.7 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.1098, allocations: 16 kB / 475.1 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.11, allocations: 103.7 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.1102, allocations: 207.6 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1102, allocations: 7.938 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.1103, allocations: 47.92 kB / 475.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.012e-05/0.1104, allocations: 91.61 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.946e-05/0.1105, allocations: 124.7 kB / 475.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.1107, allocations: 255.2 kB / 475.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1107, allocations: 0 / 475.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1107, allocations: 0 / 475.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.1108, allocations: 0 / 475.9 MB, free: 9.68 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.0005941/0.1114, allocations: 0.6069 MB / 476.5 MB, free: 9.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1114, allocations: 11.97 kB / 476.5 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.984e-05/0.1114, allocations: 30.75 kB / 476.6 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.1115, allocations: 44.38 kB / 476.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1117, allocations: 308.1 kB / 476.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-06/0.1117, allocations: 384 / 476.9 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1118, allocations: 8.312 kB / 476.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1119, allocations: 69.61 kB / 477 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1119, allocations: 3.938 kB / 477 MB, free: 8.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.112, allocations: 4 kB / 477 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.112, allocations: 4 kB / 477 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.1121, allocations: 39.97 kB / 477 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/0.1125, allocations: 404.6 kB / 477.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.1127, allocations: 66.58 kB / 477.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.314e-05/0.1128, allocations: 32.97 kB / 477.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1128, allocations: 0 / 477.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.1129, allocations: 30.56 kB / 477.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1129, allocations: 0 / 477.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001429/0.1143, allocations: 0.5312 MB / 478.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.1143, allocations: 63.33 kB / 478.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006907/0.115, allocations: 0.8535 MB / 479 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.1151, allocations: 25.7 kB / 479 MB, free: 6.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.1152, allocations: 216.1 kB / 479.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.1152, allocations: 43.44 kB / 479.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.73e-05/0.1153, allocations: 17.72 kB / 479.3 MB, free: 6.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1154, allocations: 358.8 kB / 479.7 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.1155, allocations: 47.97 kB / 479.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.1157, allocations: 63.94 kB / 479.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.1159, allocations: 116.8 kB / 479.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1159, allocations: 0 / 479.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003205/0.1162, allocations: 189 kB / 480.1 MB, free: 5.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1163, allocations: 8 kB / 480.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1163, allocations: 3.938 kB / 480.1 MB, free: 5.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1163, allocations: 3.938 kB / 480.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1164, allocations: 35.97 kB / 480.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1164, allocations: 0 / 480.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.99e-05/0.1165, allocations: 19.98 kB / 480.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1165, allocations: 0 / 480.1 MB, free: 5.227 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.0001589/0.1167, allocations: 213.8 kB / 480.3 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.1167, allocations: 43.44 kB / 480.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.1171, allocations: 221.3 kB / 480.6 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.1171, allocations: 3.938 kB / 480.6 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1171, allocations: 3.984 kB / 480.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1172, allocations: 7.984 kB / 480.6 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006588/0.1178, allocations: 0.5741 MB / 481.2 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1178, allocations: 4.062 kB / 481.2 MB, free: 4.082 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.985e-05/0.1179, allocations: 31.97 kB / 481.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1179, allocations: 7.938 kB / 481.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.118, allocations: 4 kB / 481.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.118, allocations: 0 / 481.2 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.118, allocations: 4 kB / 481.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.1183, allocations: 292.5 kB / 481.5 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.23e-05/0.1184, allocations: 124.5 kB / 481.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.1184, allocations: 192 / 481.6 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.1185, allocations: 23.98 kB / 481.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.1186, allocations: 7.984 kB / 481.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-06/0.1186, allocations: 4 kB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005131/0.1191, allocations: 0.6511 MB / 482.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1191, allocations: 0 / 482.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.1194, allocations: 36 kB / 482.4 MB, free: 2.867 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.00139/0.1208, allocations: 1.199 MB / 483.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000295/0.1211, allocations: 123.9 kB / 483.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1211, allocations: 0 / 483.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.1212, allocations: 63.91 kB / 483.8 MB, free: 1.641 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.1216, allocations: 29.95 kB / 483.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.125, allocations: 3.566 MB / 487.3 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.1254, allocations: 0.8302 MB / 488.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.147e-05/0.1254, allocations: 16.55 kB / 488.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.1256, allocations: 111.4 kB / 488.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1256, allocations: 0 / 488.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0174/0.143, allocations: 5.848 MB / 494.1 MB, free: 7.227 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.1432, allocations: 239.8 kB / 494.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/1.942, allocations: 3.938 kB / 494.4 MB, free: 6.957 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test3.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches