Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test22,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_3_2_3_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.00143/0.00143, allocations: 102.8 kB / 16.27 MB, free: 5.93 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.001532/0.001532, allocations: 193.6 kB / 17.2 MB, free: 5.574 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.373/1.373, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2217/0.2217, allocations: 43.53 MB / 313.9 MB, free: 0.5234 MB / 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.00174/0.00174, allocations: 74.31 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09951, allocations: 57.79 MB / 440.6 MB, free: 6.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003316/0.1029, allocations: 1.951 MB / 442.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.1045, allocations: 1.065 MB / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.1047, allocations: 0 / 443.6 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000321/0.105, allocations: 51.58 kB / 443.7 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.1054, allocations: 147.4 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.1065, allocations: 0.5448 MB / 444.4 MB, free: 3.035 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002727/0.1068, allocations: 275.2 kB / 444.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.1069, allocations: 68.72 kB / 444.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.1071, allocations: 127.5 kB / 444.8 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.1073, allocations: 179.4 kB / 445 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.1073, allocations: 12 kB / 445 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.1074, allocations: 39.94 kB / 445.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1076, allocations: 143.5 kB / 445.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.797e-05/0.1077, allocations: 166.7 kB / 445.4 MB, free: 2.043 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.1079, allocations: 374.5 kB / 445.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.108, allocations: 3.984 kB / 445.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.108, allocations: 0 / 445.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.108, allocations: 0 / 445.7 MB, free: 1.672 MB / 318.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.0007757/0.1088, allocations: 0.7696 MB / 446.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1088, allocations: 11.89 kB / 446.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.75e-05/0.1088, allocations: 54.66 kB / 446.6 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.922e-05/0.1089, allocations: 52.28 kB / 446.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.1093, allocations: 463.7 kB / 447.1 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1093, allocations: 8.375 kB / 447.1 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.1094, allocations: 15.94 kB / 447.1 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.1096, allocations: 137.4 kB / 447.2 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1096, allocations: 0 / 447.2 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1097, allocations: 8 kB / 447.2 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1097, allocations: 4 kB / 447.2 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.1099, allocations: 99.86 kB / 447.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009534/0.1109, allocations: 0.6995 MB / 448 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1111, allocations: 117.2 kB / 448.2 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.1112, allocations: 41.83 kB / 448.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.378e-05/0.1113, allocations: 7.938 kB / 448.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.1113, allocations: 34.56 kB / 448.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.1113, allocations: 4 kB / 448.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00144/0.1128, allocations: 0.5331 MB / 448.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.1128, allocations: 81.11 kB / 448.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009016/0.1137, allocations: 0.8858 MB / 449.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.1138, allocations: 33.7 kB / 449.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.1139, allocations: 256.3 kB / 450 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.336e-05/0.114, allocations: 51.19 kB / 450.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.1141, allocations: 33.7 kB / 450.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1142, allocations: 374.7 kB / 450.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.1144, allocations: 67.89 kB / 450.5 MB, free: 12.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.1146, allocations: 85.66 kB / 450.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.1149, allocations: 149.6 kB / 450.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1149, allocations: 0 / 450.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005031/0.1154, allocations: 253.7 kB / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.1155, allocations: 9.25 kB / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1155, allocations: 0 / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.1155, allocations: 0 / 451 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1157, allocations: 35.97 kB / 451.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1157, allocations: 4 kB / 451.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.1159, allocations: 15.98 kB / 451.1 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1159, allocations: 11.94 kB / 451.1 MB, free: 12.04 MB / 334.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.0001946/0.1161, allocations: 221.6 kB / 451.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.815e-05/0.1162, allocations: 51.34 kB / 451.4 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/0.1168, allocations: 286.1 kB / 451.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1168, allocations: 11.98 kB / 451.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1168, allocations: 0 / 451.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.1168, allocations: 4.094 kB / 451.7 MB, free: 11.46 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.1179, allocations: 0.8022 MB / 452.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1179, allocations: 4 kB / 452.5 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.1181, allocations: 43.91 kB / 452.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.1181, allocations: 4 kB / 452.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1181, allocations: 0 / 452.5 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1181, allocations: 7.938 kB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1181, allocations: 0 / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005415/0.1187, allocations: 429.6 kB / 452.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.1188, allocations: 152.3 kB / 453.1 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.1189, allocations: 8 kB / 453.1 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.1191, allocations: 11.92 kB / 453.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.1192, allocations: 15.98 kB / 453.1 MB, free: 9.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.1192, allocations: 4 kB / 453.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006617/0.1198, allocations: 0.6511 MB / 453.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1199, allocations: 0 / 453.8 MB, free: 9.25 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003592/0.1202, allocations: 55.98 kB / 453.8 MB, free: 9.195 MB / 334.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.001631/0.1219, allocations: 1.243 MB / 455.1 MB, free: 8 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004429/0.1223, allocations: 171.8 kB / 455.2 MB, free: 7.832 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1223, allocations: 3.938 kB / 455.2 MB, free: 7.828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001974/0.1225, allocations: 87.88 kB / 455.3 MB, free: 7.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.1231, allocations: 83.84 kB / 455.4 MB, free: 7.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006328/0.1295, allocations: 5.235 MB / 460.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000419/0.1299, allocations: 0.8653 MB / 461.5 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002198/0.1302, allocations: 99.81 kB / 461.6 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.1304, allocations: 167.4 kB / 461.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1304, allocations: 4 kB / 461.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03066/0.161, allocations: 9.561 MB / 471.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.199/8.36, allocations: 19.91 kB / 471.4 MB, free: 7.562 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches