Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",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.001394/0.001394, allocations: 111.4 kB / 16.41 MB, free: 6.496 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.001385/0.001385, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.443/1.443, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2087/0.2087, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 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.0021/0.0021, allocations: 71.89 kB / 441.3 MB, free: 6.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.104, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.00425/0.1083, allocations: 2.016 MB / 0.4894 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.1105, allocations: 0.9872 MB / 0.4904 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.1108, allocations: 4 kB / 0.4904 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.1112, allocations: 51.58 kB / 0.4904 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004239/0.1116, allocations: 159.3 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000962/0.1126, allocations: 387.3 kB / 0.4909 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004847/0.1131, allocations: 287.1 kB / 0.4912 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.1133, allocations: 64.55 kB / 0.4913 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.1136, allocations: 127.5 kB / 0.4914 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.114, allocations: 195.3 kB / 0.4916 GB, free: 8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.114, allocations: 12 kB / 0.4916 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.1142, allocations: 44 kB / 0.4916 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.1144, allocations: 139.5 kB / 0.4918 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002647/0.1147, allocations: 170.6 kB / 0.4919 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006725/0.1154, allocations: 397.9 kB / 0.4923 GB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1154, allocations: 0 / 0.4923 GB, free: 7.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1154, allocations: 0 / 0.4923 GB, free: 7.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.1154, allocations: 4 kB / 0.4923 GB, free: 7.246 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001248/0.1167, allocations: 0.8006 MB / 0.4931 GB, free: 6.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1167, allocations: 15.89 kB / 0.4931 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.1168, allocations: 42.73 kB / 0.4931 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.1169, allocations: 60.56 kB / 0.4932 GB, free: 6.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.1175, allocations: 464.2 kB / 0.4936 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.1176, allocations: 8.375 kB / 0.4936 GB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.566e-05/0.1176, allocations: 11.94 kB / 0.4937 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.118, allocations: 143.3 kB / 0.4938 GB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.118, allocations: 4 kB / 0.4938 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.118, allocations: 7.938 kB / 0.4938 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.118, allocations: 4 kB / 0.4938 GB, free: 5.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.1183, allocations: 107.7 kB / 0.4939 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.1194, allocations: 0.6801 MB / 0.4946 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.1197, allocations: 117.2 kB / 0.4947 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.1198, allocations: 61.81 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.1199, allocations: 15.92 kB / 0.4948 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1199, allocations: 34.5 kB / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.1199, allocations: 0 / 0.4948 GB, free: 4.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002043/0.122, allocations: 0.6789 MB / 0.4955 GB, free: 3.801 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/0.122, allocations: 85.05 kB / 0.4955 GB, free: 3.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.1231, allocations: 0.8702 MB / 0.4964 GB, free: 2.816 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1231, allocations: 33.7 kB / 0.4964 GB, free: 2.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.1234, allocations: 264.3 kB / 0.4967 GB, free: 2.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.423e-05/0.1234, allocations: 67.42 kB / 0.4967 GB, free: 2.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.791e-05/0.1235, allocations: 37.7 kB / 0.4968 GB, free: 2.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.1237, allocations: 374.7 kB / 0.4971 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002756/0.124, allocations: 96.64 kB / 0.4972 GB, free: 1.938 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002707/0.1243, allocations: 109.1 kB / 0.4973 GB, free: 1.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.1248, allocations: 209.7 kB / 0.4975 GB, free: 1.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1248, allocations: 4 kB / 0.4975 GB, free: 1.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007198/0.1256, allocations: 305.3 kB / 0.4978 GB, free: 1.309 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1256, allocations: 8 kB / 0.4978 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1256, allocations: 3.938 kB / 0.4978 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.1256, allocations: 4 kB / 0.4978 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.1259, allocations: 51.95 kB / 0.4979 GB, free: 1.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.126, allocations: 3.984 kB / 0.4979 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1262, allocations: 23.97 kB / 0.4979 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.1262, allocations: 11.98 kB / 0.4979 GB, free: 1.203 MB / 382.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 (20): * Single equations (assignments): 20 * 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.000238/0.1264, allocations: 225.5 kB / 0.4981 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.1266, allocations: 59.62 kB / 0.4982 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008756/0.1274, allocations: 338 kB / 0.4985 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.1275, allocations: 8 kB / 0.4985 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1275, allocations: 0 / 0.4985 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1275, allocations: 4.359 kB / 0.4985 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.1289, allocations: 0.8878 MB / 0.4994 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.129, allocations: 0 / 0.4994 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002437/0.1292, allocations: 55.89 kB / 0.4995 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1292, allocations: 0 / 0.4995 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.1292, allocations: 11.98 kB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.1293, allocations: 3.938 kB / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1293, allocations: 0 / 0.4995 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007704/0.13, allocations: 478.3 kB / 0.4999 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.1302, allocations: 148.7 kB / 0.5001 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.269e-05/0.1303, allocations: 7.984 kB / 0.5001 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.1305, allocations: 31.92 kB / 0.5001 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.726e-05/0.1306, allocations: 19.97 kB / 0.5001 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.1306, allocations: 4 kB / 0.5001 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008697/0.1315, allocations: 0.6432 MB / 0.5008 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1315, allocations: 0 / 0.5008 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003866/0.1319, allocations: 63.94 kB / 0.5008 GB, free: 14.13 MB / 398.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 (20): * Single equations (assignments): 20 * 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.002453/0.1343, allocations: 1.305 MB / 0.5021 GB, free: 12.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006749/0.135, allocations: 227.7 kB / 0.5023 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.135, allocations: 0 / 0.5023 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003038/0.1354, allocations: 123.8 kB / 0.5024 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000665/0.136, allocations: 78.89 kB / 0.5025 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007304/0.1433, allocations: 5.168 MB / 0.5075 GB, free: 7.172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005116/0.1439, allocations: 0.8655 MB / 0.5084 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002165/0.1441, allocations: 79.22 kB / 0.5085 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.1444, allocations: 179.4 kB / 0.5086 GB, free: 6.023 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1444, allocations: 0 / 0.5086 GB, free: 6.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03329/0.1777, allocations: 10.03 MB / 0.5184 GB, free: 11.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.642/8.82, allocations: 3.984 kB / 0.5184 GB, free: 11.95 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches