Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22",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.0007789/0.000779, allocations: 91.72 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.0008266/0.0008267, allocations: 174.9 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.32/1.32, allocations: 223.3 MB / 242.3 MB, free: 104 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.1864/0.1864, allocations: 44.24 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002814, allocations: 8.188 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1059, allocations: 61.93 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002165/0.1081, allocations: 1.659 MB / 474 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.1096, allocations: 1.111 MB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.1097, allocations: 0 / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1099, allocations: 39.72 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002503/0.1102, allocations: 131.6 kB / 475.3 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1112, allocations: 0.5493 MB / 475.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.1115, allocations: 271.1 kB / 476.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1116, allocations: 76.69 kB / 476.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001456/0.1118, allocations: 99.48 kB / 476.3 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.112, allocations: 171.3 kB / 476.5 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.112, allocations: 8 kB / 476.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.714e-05/0.1121, allocations: 47.98 kB / 476.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001267/0.1123, allocations: 143.5 kB / 476.7 MB, free: 8.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1124, allocations: 168.4 kB / 476.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.1127, allocations: 378.4 kB / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1128, allocations: 0 / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1128, allocations: 0 / 477.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.55e-06/0.1128, allocations: 4 kB / 477.2 MB, free: 8.422 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007894/0.1136, allocations: 0.7 MB / 477.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1136, allocations: 12.03 kB / 477.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.878e-05/0.1137, allocations: 42.67 kB / 477.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.601e-05/0.1137, allocations: 56.28 kB / 478 MB, free: 7.555 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/0.1142, allocations: 459.8 kB / 478.4 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1142, allocations: 4.375 kB / 478.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.1143, allocations: 15.94 kB / 478.5 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002607/0.1145, allocations: 155.2 kB / 478.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1146, allocations: 4 kB / 478.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.1146, allocations: 0 / 478.6 MB, free: 6.879 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1146, allocations: 4 kB / 478.6 MB, free: 6.875 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.1148, allocations: 103.9 kB / 478.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008414/0.1157, allocations: 0.7032 MB / 479.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002064/0.1159, allocations: 125.2 kB / 479.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.116, allocations: 53.81 kB / 479.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.116, allocations: 7.938 kB / 479.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.1161, allocations: 38.5 kB / 479.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1161, allocations: 0 / 479.7 MB, free: 5.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001368/0.1174, allocations: 0.5684 MB / 480.2 MB, free: 5.184 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.1175, allocations: 81.09 kB / 480.3 MB, free: 5.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008796/0.1184, allocations: 0.8819 MB / 481.2 MB, free: 4.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.1184, allocations: 29.7 kB / 481.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/0.1186, allocations: 256.2 kB / 481.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/0.1186, allocations: 59.19 kB / 481.5 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.1187, allocations: 21.7 kB / 481.5 MB, free: 3.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1188, allocations: 370.7 kB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.119, allocations: 71.95 kB / 482 MB, free: 3.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.1192, allocations: 97.66 kB / 482.1 MB, free: 3.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003543/0.1196, allocations: 169.7 kB / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1196, allocations: 0 / 482.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004647/0.12, allocations: 260.8 kB / 482.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1201, allocations: 8 kB / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1201, allocations: 0 / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.1201, allocations: 0 / 482.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.1203, allocations: 47.89 kB / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1203, allocations: 0 / 482.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.1204, allocations: 19.94 kB / 482.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.683e-05/0.1205, allocations: 15.98 kB / 482.6 MB, free: 2.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001842/0.1207, allocations: 209.9 kB / 482.8 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.762e-05/0.1208, allocations: 51.34 kB / 482.8 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005955/0.1214, allocations: 314.7 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1214, allocations: 0 / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1214, allocations: 4 kB / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1214, allocations: 0 / 483.1 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.1224, allocations: 0.8374 MB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1224, allocations: 0 / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001555/0.1226, allocations: 39.97 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1226, allocations: 0 / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.1226, allocations: 4 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1226, allocations: 3.938 kB / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1226, allocations: 0 / 484 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005094/0.1232, allocations: 433.9 kB / 484.5 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.1233, allocations: 160.4 kB / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.1234, allocations: 0 / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.1236, allocations: 23.92 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.1236, allocations: 11.97 kB / 484.6 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.1236, allocations: 12 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006378/0.1243, allocations: 0.6393 MB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1243, allocations: 0 / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003394/0.1246, allocations: 67.98 kB / 485.4 MB, free: 15.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001507/0.1261, allocations: 1.262 MB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.1266, allocations: 179.8 kB / 486.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1266, allocations: 0 / 486.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.1268, allocations: 99.88 kB / 486.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.1274, allocations: 70.95 kB / 487 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.1336, allocations: 5.369 MB / 492.3 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004171/0.1341, allocations: 0.8687 MB / 493.2 MB, free: 8.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002018/0.1343, allocations: 91.22 kB / 493.3 MB, free: 7.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.1345, allocations: 163.4 kB / 493.5 MB, free: 7.781 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1345, allocations: 0 / 493.5 MB, free: 7.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.1574, allocations: 8.987 MB / 0.4907 GB, free: 14.93 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002641/0.1577, allocations: 233 kB / 0.4909 GB, free: 14.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/1.994, allocations: 4 kB / 0.4909 GB, free: 14.67 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches