Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007961/0.0007962, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009267/0.0009269, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.7 MB / 246.8 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1884/0.1884, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002353/0.0002353, allocations: 8 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1104, allocations: 63.55 MB / 483.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test17): time 0.001832/0.1123, allocations: 1.372 MB / 484.5 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008141/0.1132, allocations: 0.6566 MB / 485.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.1132, allocations: 0 / 485.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1134, allocations: 31.92 kB / 485.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.1136, allocations: 39.88 kB / 485.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.448e-06/0.1136, allocations: 4 kB / 485.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001441/0.1138, allocations: 51.83 kB / 485.3 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.1138, allocations: 7.984 kB / 485.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.1138, allocations: 7.938 kB / 485.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.715e-05/0.1139, allocations: 23.86 kB / 485.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.977e-06/0.1139, allocations: 0 / 485.4 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.812e-05/0.114, allocations: 15.97 kB / 485.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.114, allocations: 16 kB / 485.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.1141, allocations: 49.5 kB / 485.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000119/0.1142, allocations: 71.95 kB / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1142, allocations: 0 / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1142, allocations: 0 / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1142, allocations: 0 / 485.5 MB, free: 1.691 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.000326/0.1146, allocations: 355.4 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1146, allocations: 8.875 kB / 485.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.1147, allocations: 42.73 kB / 485.9 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.1147, allocations: 4.844 kB / 485.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.1148, allocations: 180.2 kB / 486.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.1148, allocations: 384 / 486.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1149, allocations: 4.375 kB / 486.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.115, allocations: 129.7 kB / 486.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.115, allocations: 3.938 kB / 486.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.1151, allocations: 4 kB / 486.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.1151, allocations: 23.98 kB / 486.3 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.519e-05/0.1152, allocations: 43.86 kB / 486.3 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006184/0.1158, allocations: 0.8906 MB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.355e-05/0.1159, allocations: 169.2 kB / 487.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.1159, allocations: 92.05 kB / 487.4 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.116, allocations: 75.28 kB / 487.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.959e-05/0.116, allocations: 117.8 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.116, allocations: 0 / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=0): time 6.984e-05/0.1161, allocations: 33.61 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.1161, allocations: 126.7 kB / 487.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.1163, allocations: 186 kB / 488 MB, free: 14.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.1163, allocations: 29.7 kB / 488 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.39e-05/0.1164, allocations: 151.1 kB / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.1164, allocations: 0 / 488.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/0.1165, allocations: 25.72 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.1166, allocations: 326.8 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.671e-05/0.1166, allocations: 27.98 kB / 488.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1167, allocations: 157.1 kB / 488.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/0.1169, allocations: 204.8 kB / 488.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1169, allocations: 4 kB / 488.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002938/0.1172, allocations: 193.6 kB / 489.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1173, allocations: 12.12 kB / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1173, allocations: 4 kB / 489.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1173, allocations: 4 kB / 489.1 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.1174, allocations: 39.92 kB / 489.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1174, allocations: 11.92 kB / 489.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.572e-05/0.1175, allocations: 31.69 kB / 489.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.1175, allocations: 12 kB / 489.2 MB, free: 13.63 MB / 366.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.0001069/0.1176, allocations: 213 kB / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.657e-05/0.1177, allocations: 120.8 kB / 489.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.862e-05/0.1178, allocations: 112.8 kB / 489.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.493e-05/0.1178, allocations: 184.3 kB / 489.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-05/0.1179, allocations: 180.2 kB / 490 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.305e-05/0.1179, allocations: 184.2 kB / 490.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002259/0.1182, allocations: 429.1 kB / 490.6 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-05/0.1182, allocations: 104.9 kB / 490.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.1182, allocations: 101 kB / 490.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.981e-05/0.1183, allocations: 180.3 kB / 490.9 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.274e-05/0.1184, allocations: 180.2 kB / 491.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.716e-05/0.1184, allocations: 176.3 kB / 491.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.383e-05/0.1185, allocations: 192.2 kB / 491.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.1186, allocations: 315.6 kB / 491.8 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.593e-05/0.1187, allocations: 193.9 kB / 492 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.1187, allocations: 180.3 kB / 492.2 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.1188, allocations: 104.9 kB / 492.3 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.1189, allocations: 184.3 kB / 492.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.1189, allocations: 108.9 kB / 492.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.001e-05/0.119, allocations: 127.2 kB / 492.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.119, allocations: 0 / 492.7 MB, free: 9.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.1193, allocations: 16 kB / 492.7 MB, free: 9.895 MB / 366.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.0006611/0.12, allocations: 0.9156 MB / 493.6 MB, free: 9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.1201, allocations: 80.8 kB / 493.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1201, allocations: 0 / 493.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1201, allocations: 256 / 493.7 MB, free: 8.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.1205, allocations: 0.5302 MB / 494.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.1219, allocations: 1.884 MB / 496.1 MB, free: 6.305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1221, allocations: 0.6931 MB / 496.8 MB, free: 5.586 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001421/0.1223, allocations: 53.02 kB / 496.8 MB, free: 5.535 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.1223, allocations: 27.42 kB / 496.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1223, allocations: 0 / 496.9 MB, free: 5.508 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01191/0.1342, allocations: 1.752 MB / 498.6 MB, free: 3.867 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/0.1345, allocations: 229.1 kB / 498.8 MB, free: 3.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/1.852, allocations: 0 / 498.8 MB, free: 3.613 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches