Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009166/0.0009163, allocations: 96.5 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.001205/0.001205, allocations: 205.5 kB / 18.28 MB, free: 5.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 246.8 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1843/0.1843, allocations: 46.18 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002604/0.0002604, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1072, allocations: 63.56 MB / 483.2 MB, free: 4.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test9): time 0.001724/0.109, allocations: 1.345 MB / 484.5 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008154/0.1098, allocations: 0.5184 MB / 485 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.1098, allocations: 0 / 485 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004937/0.1104, allocations: 447.2 kB / 485.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.1107, allocations: 283.4 kB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.111, allocations: 119.3 kB / 485.9 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1112, allocations: 163.6 kB / 486 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.1113, allocations: 16 kB / 486.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1114, allocations: 95.8 kB / 486.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1116, allocations: 207.5 kB / 486.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1116, allocations: 0 / 486.3 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.438e-05/0.1117, allocations: 23.98 kB / 486.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.197e-05/0.1118, allocations: 79.69 kB / 486.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.965e-05/0.1119, allocations: 128.7 kB / 486.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.1121, allocations: 242.9 kB / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1121, allocations: 0 / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1122, allocations: 0 / 486.8 MB, free: 392 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1122, allocations: 0 / 486.8 MB, free: 392 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006321/0.1128, allocations: 0.6052 MB / 487.4 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.1128, allocations: 12.88 kB / 487.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.73e-05/0.1129, allocations: 34.75 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1129, allocations: 40.47 kB / 487.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.1132, allocations: 300.1 kB / 487.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.1132, allocations: 4.375 kB / 487.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-06/0.1132, allocations: 4.375 kB / 487.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.1134, allocations: 57.56 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1134, allocations: 3.984 kB / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.1134, allocations: 0 / 487.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1134, allocations: 8 kB / 487.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.1135, allocations: 35.97 kB / 487.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.1139, allocations: 388.7 kB / 488.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1141, allocations: 50.5 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.029e-05/0.1141, allocations: 28.94 kB / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.1142, allocations: 0 / 488.4 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.1142, allocations: 30.56 kB / 488.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1142, allocations: 4 kB / 488.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003292/0.1145, allocations: 129.1 kB / 488.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.1146, allocations: 55.39 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007782/0.1154, allocations: 0.8699 MB / 489.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.1154, allocations: 29.7 kB / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.1155, allocations: 216 kB / 489.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.1156, allocations: 11.84 kB / 489.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.1156, allocations: 13.66 kB / 489.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1158, allocations: 366.7 kB / 490.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/0.1158, allocations: 19.98 kB / 490.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.908e-05/0.1159, allocations: 20.17 kB / 490.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.116, allocations: 52.91 kB / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1161, allocations: 0 / 490.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001877/0.1162, allocations: 113.1 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1163, allocations: 4 kB / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.1163, allocations: 0 / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1163, allocations: 0 / 490.3 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.404e-05/0.1164, allocations: 19.86 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1164, allocations: 4 kB / 490.3 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.06e-05/0.1165, allocations: 12 kB / 490.3 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.1165, allocations: 0 / 490.3 MB, free: 12.65 MB / 366.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 (3): * Single equations (assignments): 3 * 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.0001708/0.1167, allocations: 213.7 kB / 490.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.1167, allocations: 43.44 kB / 490.6 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.117, allocations: 125.1 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.117, allocations: 4 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.117, allocations: 4 kB / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.117, allocations: 0 / 490.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002671/0.1173, allocations: 289.5 kB / 491 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1173, allocations: 0 / 491 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.237e-05/0.1173, allocations: 11.98 kB / 491 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1173, allocations: 0 / 491 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.1173, allocations: 3.938 kB / 491 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1173, allocations: 0 / 491 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1174, allocations: 0 / 491 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.1176, allocations: 218.9 kB / 491.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.1177, allocations: 112.6 kB / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.1177, allocations: 0 / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.841e-05/0.1178, allocations: 12 kB / 491.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.1178, allocations: 0 / 491.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1178, allocations: 0 / 491.3 MB, free: 11.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005868/0.1184, allocations: 0.6589 MB / 492 MB, free: 10.87 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1184, allocations: 0 / 492 MB, free: 10.87 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1187, allocations: 20 kB / 492 MB, free: 10.85 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 (3): * Single equations (assignments): 3 * 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.001275/0.1199, allocations: 1.008 MB / 493 MB, free: 9.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.1201, allocations: 39.97 kB / 493.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1201, allocations: 0 / 493.1 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.139e-05/0.1202, allocations: 27.92 kB / 493.1 MB, free: 9.863 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/0.1206, allocations: 26.3 kB / 493.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003492/0.1241, allocations: 3.294 MB / 496.4 MB, free: 6.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.1245, allocations: 0.8185 MB / 497.2 MB, free: 5.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.095e-05/0.1246, allocations: 20.05 kB / 497.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.1247, allocations: 111.4 kB / 497.3 MB, free: 5.473 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1247, allocations: 0 / 497.3 MB, free: 5.473 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01557/0.1403, allocations: 5.211 MB / 0.4908 GB, free: 372 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/0.1406, allocations: 240.5 kB / 0.491 GB, free: 104 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/1.951, allocations: 0 / 0.491 GB, free: 104 kB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches