Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_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.0009091/0.0009091, allocations: 94.88 kB / 17.35 MB, free: 6.344 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.001153/0.001153, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.306/1.306, allocations: 223.3 MB / 242.3 MB, free: 216 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.1868/0.1868, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 8 kB / 410.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1013, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002275/0.1036, allocations: 1.737 MB / 474.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.1054, allocations: 1.127 MB / 475.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001643/0.1056, allocations: 7.938 kB / 475.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.1059, allocations: 43.77 kB / 475.3 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003989/0.1063, allocations: 143.5 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.1076, allocations: 0.5503 MB / 476 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000506/0.1081, allocations: 310.9 kB / 476.3 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001837/0.1083, allocations: 64.7 kB / 476.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.1086, allocations: 115.5 kB / 476.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.1088, allocations: 179.2 kB / 476.6 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/0.1089, allocations: 8 kB / 476.6 MB, free: 8.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.109, allocations: 47.98 kB / 476.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.1092, allocations: 143.5 kB / 476.8 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.1094, allocations: 188.3 kB / 477 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003928/0.1098, allocations: 386.3 kB / 477.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1098, allocations: 0 / 477.4 MB, free: 8.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.1098, allocations: 4 kB / 477.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.1098, allocations: 0 / 477.4 MB, free: 8.223 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.001142/0.111, allocations: 0.7311 MB / 478.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.111, allocations: 11.97 kB / 478.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.263e-05/0.1111, allocations: 46.73 kB / 478.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001203/0.1112, allocations: 52.28 kB / 478.2 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.1119, allocations: 475.6 kB / 478.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1119, allocations: 8.375 kB / 478.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.1119, allocations: 11.94 kB / 478.7 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.1123, allocations: 171.2 kB / 478.9 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.1124, allocations: 7.984 kB / 478.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.1124, allocations: 4 kB / 478.9 MB, free: 6.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1124, allocations: 3.938 kB / 478.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003416/0.1128, allocations: 135.9 kB / 479 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.1139, allocations: 0.7307 MB / 479.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.1143, allocations: 145.2 kB / 479.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.1144, allocations: 69.81 kB / 480 MB, free: 5.453 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.1145, allocations: 7.984 kB / 480 MB, free: 5.445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.1145, allocations: 46.44 kB / 480 MB, free: 5.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.944e-06/0.1145, allocations: 0 / 480 MB, free: 5.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002135/0.1167, allocations: 0.7987 MB / 480.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.963e-05/0.1167, allocations: 81.11 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009985/0.1177, allocations: 0.9023 MB / 481.8 MB, free: 3.574 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.1178, allocations: 25.7 kB / 481.8 MB, free: 3.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.118, allocations: 256.3 kB / 482.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-05/0.1181, allocations: 70.94 kB / 482.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.1182, allocations: 17.72 kB / 482.2 MB, free: 3.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1183, allocations: 386.6 kB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.1186, allocations: 123.9 kB / 482.6 MB, free: 2.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.1189, allocations: 143.9 kB / 482.8 MB, free: 2.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006448/0.1196, allocations: 293.6 kB / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1196, allocations: 0 / 483.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007712/0.1204, allocations: 368.8 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.1204, allocations: 6.5 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.1204, allocations: 4 kB / 483.4 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.1204, allocations: 4 kB / 483.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/0.1207, allocations: 59.89 kB / 483.5 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1208, allocations: 4 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.121, allocations: 35.97 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.121, allocations: 4 kB / 483.6 MB, free: 1.77 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 (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.0002492/0.1213, allocations: 225.6 kB / 483.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1214, allocations: 55.25 kB / 483.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009026/0.1223, allocations: 422.9 kB / 484.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1223, allocations: 4 kB / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1223, allocations: 0 / 484.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.1223, allocations: 7.984 kB / 484.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.1238, allocations: 0.9934 MB / 485.2 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1238, allocations: 3.984 kB / 485.2 MB, free: 0 / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002645/0.1241, allocations: 67.95 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1241, allocations: 0 / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.1241, allocations: 7.984 kB / 485.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1241, allocations: 3.938 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1241, allocations: 3.938 kB / 485.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.125, allocations: 0.537 MB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.1251, allocations: 160.3 kB / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.884e-05/0.1252, allocations: 0 / 486 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.1254, allocations: 35.92 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.912e-05/0.1255, allocations: 19.97 kB / 486.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1255, allocations: 11.98 kB / 486.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006756/0.1262, allocations: 0.6474 MB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1262, allocations: 0 / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003607/0.1266, allocations: 64 kB / 486.8 MB, free: 14.42 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 (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.00201/0.1286, allocations: 1.39 MB / 488.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000679/0.1293, allocations: 295.7 kB / 488.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1293, allocations: 0 / 488.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.1296, allocations: 159.8 kB / 488.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.1302, allocations: 70.95 kB / 488.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007142/0.1374, allocations: 5.725 MB / 494.4 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.1378, allocations: 0.8734 MB / 495.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002362/0.1381, allocations: 103.2 kB / 495.4 MB, free: 5.824 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000251/0.1383, allocations: 179.4 kB / 495.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1383, allocations: 0 / 495.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.1582, allocations: 9.435 MB / 0.4932 GB, free: 12.35 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002223/0.1584, allocations: 241 kB / 0.4934 GB, free: 12.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.024, allocations: 0 / 0.4934 GB, free: 12.09 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches