Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001271/0.001271, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001266/0.001266, allocations: 194 kB / 18.12 MB, free: 5.363 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.381/1.381, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2375/0.2375, allocations: 44.18 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 68.2 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.104, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.00252/0.1065, allocations: 1.672 MB / 470.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.1078, allocations: 1.047 MB / 471.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.1079, allocations: 4 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.108, allocations: 15.92 kB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.1082, allocations: 35.84 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.1085, allocations: 161.6 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.1087, allocations: 71.77 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.432e-05/0.1088, allocations: 15.98 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.738e-05/0.1088, allocations: 23.92 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001192/0.1089, allocations: 31.84 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.109, allocations: 4 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/0.1091, allocations: 51.91 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.1091, allocations: 19.92 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1092, allocations: 31.8 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.1093, allocations: 95.98 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1093, allocations: 3.938 kB / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.01e-07/0.1094, allocations: 0 / 471.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.1094, allocations: 0 / 471.9 MB, free: 11.46 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004733/0.1098, allocations: 403.1 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1099, allocations: 12.03 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.718e-05/0.1099, allocations: 30.75 kB / 472.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.183e-05/0.11, allocations: 12.84 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.1101, allocations: 192.1 kB / 472.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.1102, allocations: 8.375 kB / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.1102, allocations: 384 / 472.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.1103, allocations: 79.31 kB / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1104, allocations: 0 / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.385e-06/0.1104, allocations: 0 / 472.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.1104, allocations: 4 kB / 472.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.1105, allocations: 39.97 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.1109, allocations: 308.6 kB / 473 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.111, allocations: 46.56 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.777e-05/0.1111, allocations: 28.94 kB / 473 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1111, allocations: 4.062 kB / 473 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.1112, allocations: 34.56 kB / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1112, allocations: 0 / 473.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007183/0.1119, allocations: 221.2 kB / 473.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.112, allocations: 77.11 kB / 473.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.1121, allocations: 153.6 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.1121, allocations: 25.7 kB / 473.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.1122, allocations: 100 kB / 473.6 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.1122, allocations: 23.7 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.1122, allocations: 17.72 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.878e-05/0.1123, allocations: 326.8 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.1125, allocations: 31.97 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1126, allocations: 53.67 kB / 474.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.1128, allocations: 92.83 kB / 474.2 MB, free: 8.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1128, allocations: 3.938 kB / 474.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002856/0.1131, allocations: 117.5 kB / 474.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1131, allocations: 4 kB / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.1132, allocations: 0 / 474.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.1132, allocations: 4 kB / 474.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1133, allocations: 27.91 kB / 474.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1133, allocations: 7.938 kB / 474.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/0.1134, allocations: 8 kB / 474.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1134, allocations: 4.281 kB / 474.4 MB, free: 8.754 MB / 350.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 8.374e-05/0.1135, allocations: 121.8 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.1135, allocations: 11.84 kB / 474.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.1138, allocations: 150.5 kB / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1138, allocations: 0 / 474.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1139, allocations: 3.938 kB / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.1139, allocations: 0 / 474.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.1144, allocations: 410.4 kB / 475 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1144, allocations: 0 / 475 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.161e-05/0.1145, allocations: 27.98 kB / 475.1 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1145, allocations: 3.938 kB / 475.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1145, allocations: 4 kB / 475.1 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1145, allocations: 3.938 kB / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1145, allocations: 0 / 475.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.1148, allocations: 219.4 kB / 475.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.1149, allocations: 81.11 kB / 475.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/0.1149, allocations: 3.938 kB / 475.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.115, allocations: 15.98 kB / 475.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.115, allocations: 7.984 kB / 475.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.708e-06/0.115, allocations: 0 / 475.4 MB, free: 7.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.631e-05/0.1151, allocations: 113.8 kB / 475.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1151, allocations: 4 kB / 475.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1154, allocations: 20 kB / 475.5 MB, free: 7.473 MB / 350.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.00134/0.1167, allocations: 1.101 MB / 476.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002782/0.117, allocations: 91.91 kB / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.117, allocations: 0 / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1172, allocations: 47.91 kB / 476.8 MB, free: 6.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.1174, allocations: 21.81 kB / 476.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.1192, allocations: 1.613 MB / 478.4 MB, free: 4.672 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1195, allocations: 0.7004 MB / 479.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.067e-05/0.1196, allocations: 20.64 kB / 479.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.306e-05/0.1197, allocations: 35.42 kB / 479.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1197, allocations: 0 / 479.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01373/0.1334, allocations: 2.852 MB / 482 MB, free: 1.129 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.1336, allocations: 233.6 kB / 482.2 MB, free: 0.875 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.1, allocations: 0 / 482.2 MB, free: 0.875 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches