Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test16,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16",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.001063/0.001063, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001206/0.001206, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.338/1.338, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2022/0.2022, allocations: 44.17 MB / 336.6 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 69.17 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1027, allocations: 60.82 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.00365/0.1064, allocations: 1.623 MB / 471 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.1074, allocations: 0.6802 MB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.901e-05/0.1075, allocations: 4 kB / 471.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.1077, allocations: 27.84 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.108, allocations: 43.83 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.248e-06/0.108, allocations: 0 / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1081, allocations: 31.84 kB / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.1082, allocations: 0 / 471.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.1082, allocations: 15.92 kB / 471.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.441e-05/0.1083, allocations: 15.94 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1083, allocations: 0 / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.342e-05/0.1084, allocations: 11.97 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.1084, allocations: 12 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.1085, allocations: 23.75 kB / 471.8 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1086, allocations: 75.95 kB / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1086, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1086, allocations: 0 / 471.9 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.1086, allocations: 3.984 kB / 471.9 MB, free: 11.7 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004012/0.1091, allocations: 370.2 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.1091, allocations: 8.031 kB / 472.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.1092, allocations: 34.75 kB / 472.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.869e-05/0.1092, allocations: 4.844 kB / 472.3 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.1093, allocations: 172.3 kB / 472.5 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.1094, allocations: 16.36 kB / 472.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.1094, allocations: 4.312 kB / 472.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.1096, allocations: 115.4 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.1096, allocations: 3.938 kB / 472.6 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1096, allocations: 7.938 kB / 472.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.912e-05/0.1097, allocations: 27.91 kB / 472.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.072e-05/0.1098, allocations: 43.91 kB / 472.7 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.1104, allocations: 0.8945 MB / 473.6 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.943e-05/0.1105, allocations: 165.1 kB / 473.8 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.1106, allocations: 84.08 kB / 473.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1106, allocations: 79.28 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.1107, allocations: 109.9 kB / 474 MB, free: 9.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.1107, allocations: 4 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 8.482e-05/0.1108, allocations: 37.61 kB / 474.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.1109, allocations: 130.7 kB / 474.2 MB, free: 9.184 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.111, allocations: 182.1 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.111, allocations: 25.7 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.825e-05/0.1111, allocations: 147.1 kB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.811e-06/0.1112, allocations: 4 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.1112, allocations: 41.61 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.1113, allocations: 326.8 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.1114, allocations: 31.98 kB / 474.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.1115, allocations: 161 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001796/0.1117, allocations: 200.9 kB / 475.3 MB, free: 7.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.1117, allocations: 4 kB / 475.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000304/0.112, allocations: 201.6 kB / 475.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.112, allocations: 4 kB / 475.5 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.112, allocations: 12.03 kB / 475.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1121, allocations: 8 kB / 475.5 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.1122, allocations: 39.92 kB / 475.6 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1122, allocations: 8 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.38e-05/0.1123, allocations: 23.69 kB / 475.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1123, allocations: 15.94 kB / 475.6 MB, free: 7.613 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0001094/0.1124, allocations: 213 kB / 475.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.904e-05/0.1125, allocations: 112.8 kB / 475.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.1126, allocations: 120.8 kB / 476 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.744e-05/0.1126, allocations: 184.2 kB / 476.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.679e-05/0.1127, allocations: 176.3 kB / 476.4 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.444e-05/0.1127, allocations: 176.3 kB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.113, allocations: 429.1 kB / 477 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-05/0.113, allocations: 109 kB / 477.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.823e-05/0.1131, allocations: 108.9 kB / 477.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001269/0.1132, allocations: 176.3 kB / 477.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/0.1133, allocations: 180.2 kB / 477.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.146e-05/0.1133, allocations: 188.3 kB / 477.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.177e-05/0.1134, allocations: 180.2 kB / 477.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.1136, allocations: 319.6 kB / 478.2 MB, free: 4.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.078e-05/0.1136, allocations: 189.9 kB / 478.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.676e-05/0.1137, allocations: 180.3 kB / 478.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.1138, allocations: 105 kB / 478.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.1139, allocations: 184.2 kB / 478.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.1139, allocations: 101 kB / 479 MB, free: 4.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.114, allocations: 136.1 kB / 479.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.114, allocations: 0 / 479.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.1143, allocations: 12 kB / 479.1 MB, free: 3.887 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 (0): * Single equations (assignments): 0 * 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.000704/0.115, allocations: 0.9202 MB / 480 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.1152, allocations: 72.97 kB / 480.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1152, allocations: 0 / 480.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1152, allocations: 0 / 480.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1155, allocations: 471.7 kB / 480.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1172, allocations: 1.873 MB / 482.4 MB, free: 392 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1175, allocations: 0.7006 MB / 483.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002157/0.1177, allocations: 49.02 kB / 483.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/0.1178, allocations: 23.44 kB / 483.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1178, allocations: 0 / 483.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02171/0.1395, allocations: 2.022 MB / 485.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/7.914, allocations: 6.641 kB / 485.2 MB, free: 13.63 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test16.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches