Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test15,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15",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.001071/0.001071, allocations: 91.7 kB / 17.35 MB, free: 6.375 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.0011/0.001101, allocations: 175.7 kB / 18.25 MB, free: 5.523 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.28/1.28, allocations: 223.3 MB / 242.3 MB, free: 212 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.1777/0.1777, allocations: 44.25 MB / 337.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 8 kB / 410.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 61.92 MB / 472.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test15): time 0.002077/0.1152, allocations: 1.333 MB / 473.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008296/0.1161, allocations: 0.6643 MB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.87e-05/0.1161, allocations: 0 / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002125/0.1164, allocations: 27.91 kB / 474.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001642/0.1165, allocations: 35.89 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.426e-06/0.1166, allocations: 4 kB / 474.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.1167, allocations: 51.83 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.452e-05/0.1168, allocations: 3.984 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.1168, allocations: 7.938 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.1169, allocations: 31.84 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.706e-06/0.1169, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.44e-05/0.1169, allocations: 8 kB / 474.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.117, allocations: 15.98 kB / 474.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.117, allocations: 45.52 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.1172, allocations: 75.94 kB / 474.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.1172, allocations: 4 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1172, allocations: 0 / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1172, allocations: 0 / 474.7 MB, free: 10.91 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.0003517/0.1176, allocations: 347.4 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1176, allocations: 8.031 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.493e-05/0.1177, allocations: 38.75 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.1177, allocations: 8.844 kB / 475.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.1178, allocations: 184.2 kB / 475.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1179, allocations: 4.375 kB / 475.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.1179, allocations: 384 / 475.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000182/0.1181, allocations: 125.4 kB / 475.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.1181, allocations: 11.92 kB / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1181, allocations: 0 / 475.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.695e-05/0.1182, allocations: 27.98 kB / 475.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.334e-05/0.1182, allocations: 43.91 kB / 475.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005729/0.1188, allocations: 0.8867 MB / 476.3 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.12e-05/0.1189, allocations: 173.2 kB / 476.5 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.1189, allocations: 84.08 kB / 476.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.119, allocations: 75.28 kB / 476.7 MB, free: 8.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.119, allocations: 109.8 kB / 476.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.119, allocations: 4 kB / 476.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.279e-05/0.1191, allocations: 33.61 kB / 476.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1192, allocations: 126.7 kB / 476.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.1193, allocations: 186 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1193, allocations: 29.69 kB / 477.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.251e-05/0.1194, allocations: 147.1 kB / 477.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.082e-06/0.1194, allocations: 8 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.1195, allocations: 21.7 kB / 477.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.1196, allocations: 326.8 kB / 477.6 MB, free: 7.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.1196, allocations: 27.98 kB / 477.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1198, allocations: 153.2 kB / 477.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000176/0.1199, allocations: 204.8 kB / 478 MB, free: 7.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1199, allocations: 0 / 478 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000278/0.1202, allocations: 205.1 kB / 478.2 MB, free: 6.973 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1203, allocations: 7.125 kB / 478.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1203, allocations: 4 kB / 478.2 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1203, allocations: 12 kB / 478.2 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.1204, allocations: 35.92 kB / 478.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.1204, allocations: 11.94 kB / 478.3 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.239e-05/0.1205, allocations: 27.69 kB / 478.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.1205, allocations: 8 kB / 478.3 MB, free: 6.871 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.0001249/0.1207, allocations: 213 kB / 478.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.1207, allocations: 112.8 kB / 478.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.791e-05/0.1208, allocations: 128.8 kB / 478.8 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-05/0.1209, allocations: 180.3 kB / 478.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-05/0.1209, allocations: 176.3 kB / 479.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.506e-05/0.121, allocations: 180.2 kB / 479.3 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.1212, allocations: 425.1 kB / 479.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-05/0.1212, allocations: 112.9 kB / 479.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/0.1213, allocations: 105 kB / 479.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-05/0.1213, allocations: 180.2 kB / 480.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.1214, allocations: 180.2 kB / 480.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.791e-05/0.1214, allocations: 180.3 kB / 480.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-05/0.1215, allocations: 184.2 kB / 480.6 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1216, allocations: 323.6 kB / 480.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.451e-05/0.1217, allocations: 182 kB / 481.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.093e-05/0.1217, allocations: 180.3 kB / 481.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.1218, allocations: 108.9 kB / 481.4 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.1219, allocations: 184.2 kB / 481.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.1219, allocations: 108.9 kB / 481.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.145e-05/0.122, allocations: 132.1 kB / 481.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.122, allocations: 0 / 481.8 MB, free: 3.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1223, allocations: 16 kB / 481.8 MB, free: 3.133 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.0006789/0.123, allocations: 0.9236 MB / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.1231, allocations: 75.78 kB / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1231, allocations: 1.25 kB / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.1231, allocations: 0 / 482.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.1235, allocations: 0.5341 MB / 483.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1249, allocations: 1.878 MB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.1252, allocations: 0.7009 MB / 485.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.1253, allocations: 53.02 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.728e-05/0.1254, allocations: 23.44 kB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1254, allocations: 4 kB / 486 MB, free: 14.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.1377, allocations: 1.724 MB / 487.7 MB, free: 13.12 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/0.1379, allocations: 237 kB / 488 MB, free: 12.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.834, allocations: 0 / 488 MB, free: 12.87 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test15.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test15/Test15.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches