Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001369/0.001369, allocations: 102.4 kB / 16.4 MB, free: 5.992 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.001257/0.001258, allocations: 186.9 kB / 17.33 MB, free: 5.586 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.461/1.461, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.244/0.244, allocations: 43.52 MB / 314.1 MB, free: 444 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.001454/0.001454, allocations: 65.62 kB / 441.3 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1029, allocations: 57.79 MB / 499.1 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003069/0.106, allocations: 1.62 MB / 0.489 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006955/0.1067, allocations: 351.5 kB / 0.4893 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.061e-05/0.1068, allocations: 4 kB / 0.4893 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006188/0.1075, allocations: 459.1 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000421/0.1079, allocations: 247.5 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.1084, allocations: 155.6 kB / 0.4901 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002846/0.1087, allocations: 171.6 kB / 0.4903 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1088, allocations: 27.97 kB / 0.4903 GB, free: 9.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.109, allocations: 115.8 kB / 0.4904 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1092, allocations: 207.6 kB / 0.4906 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.1093, allocations: 4 kB / 0.4906 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1094, allocations: 31.98 kB / 0.4907 GB, free: 8.891 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.461e-05/0.1095, allocations: 87.62 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.538e-05/0.1096, allocations: 103 kB / 0.4909 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002978/0.1099, allocations: 262.9 kB / 0.4911 GB, free: 8.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1099, allocations: 4 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1099, allocations: 0 / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.1099, allocations: 0 / 0.4911 GB, free: 8.441 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007402/0.1106, allocations: 0.6452 MB / 0.4917 GB, free: 7.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1107, allocations: 11.89 kB / 0.4918 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.043e-05/0.1107, allocations: 42.73 kB / 0.4918 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.914e-05/0.1108, allocations: 36.47 kB / 0.4918 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.1111, allocations: 300.1 kB / 0.4921 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.1111, allocations: 4.375 kB / 0.4921 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1112, allocations: 12.25 kB / 0.4921 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1113, allocations: 65.59 kB / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.1114, allocations: 0 / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1114, allocations: 0 / 0.4922 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.1114, allocations: 4 kB / 0.4922 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.1115, allocations: 35.97 kB / 0.4922 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.1121, allocations: 416.6 kB / 0.4926 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.1122, allocations: 50.48 kB / 0.4927 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.32e-05/0.1123, allocations: 24.94 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.1124, allocations: 0 / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1124, allocations: 34.56 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1124, allocations: 4 kB / 0.4927 GB, free: 6.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008527/0.1132, allocations: 299.8 kB / 0.493 GB, free: 6.297 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.1133, allocations: 55.41 kB / 0.4931 GB, free: 6.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007985/0.1141, allocations: 0.8652 MB / 0.4939 GB, free: 5.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1141, allocations: 25.7 kB / 0.494 GB, free: 5.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.1143, allocations: 216 kB / 0.4942 GB, free: 5.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.1143, allocations: 27.64 kB / 0.4942 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.1144, allocations: 17.72 kB / 0.4942 GB, free: 5.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1145, allocations: 366.7 kB / 0.4945 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1147, allocations: 35.97 kB / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1148, allocations: 39.97 kB / 0.4946 GB, free: 4.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.115, allocations: 96.8 kB / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.115, allocations: 0 / 0.4947 GB, free: 4.516 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003094/0.1154, allocations: 153.1 kB / 0.4949 GB, free: 4.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1154, allocations: 8 kB / 0.4949 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.1154, allocations: 4 kB / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1154, allocations: 288 / 0.4949 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1155, allocations: 19.98 kB / 0.4949 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1155, allocations: 4 kB / 0.4949 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.1156, allocations: 11.92 kB / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.435e-06/0.1156, allocations: 4 kB / 0.4949 GB, free: 4.309 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0001775/0.1158, allocations: 221.6 kB / 0.4951 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.1159, allocations: 43.52 kB / 0.4952 GB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000385/0.1163, allocations: 177.4 kB / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1163, allocations: 0 / 0.4953 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1163, allocations: 3.938 kB / 0.4953 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1163, allocations: 3.938 kB / 0.4953 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006941/0.117, allocations: 0.5178 MB / 0.4958 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.117, allocations: 0 / 0.4958 GB, free: 3.273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.706e-05/0.1171, allocations: 19.98 kB / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1171, allocations: 0 / 0.4959 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1171, allocations: 3.938 kB / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1172, allocations: 480 / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1172, allocations: 0 / 0.4959 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.1175, allocations: 258.9 kB / 0.4961 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.1176, allocations: 112.5 kB / 0.4962 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.1177, allocations: 11.94 kB / 0.4962 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1178, allocations: 7.984 kB / 0.4962 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.1178, allocations: 4 kB / 0.4962 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1178, allocations: 0 / 0.4962 GB, free: 2.828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005822/0.1184, allocations: 0.6589 MB / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1184, allocations: 0 / 0.4969 GB, free: 2.172 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1187, allocations: 24 kB / 0.4969 GB, free: 2.148 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.001414/0.1201, allocations: 1.104 MB / 0.498 GB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002944/0.1204, allocations: 87.92 kB / 0.4981 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1204, allocations: 0 / 0.4981 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.1206, allocations: 47.91 kB / 0.4981 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1209, allocations: 25.95 kB / 0.4981 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.1246, allocations: 3.319 MB / 0.5014 GB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.125, allocations: 0.8221 MB / 0.5022 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.74e-05/0.1251, allocations: 32.88 kB / 0.5022 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.1252, allocations: 119.4 kB / 0.5023 GB, free: 12.5 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1253, allocations: 0 / 0.5023 GB, free: 12.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.1491, allocations: 6.212 MB / 0.5084 GB, free: 6.262 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/8.548, allocations: 15.77 kB / 0.5084 GB, free: 6.246 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test3.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches