Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001543, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.409/1.409, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2109/0.2109, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 78.91 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09891/0.1003, allocations: 62.45 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003006/0.1034, allocations: 1.674 MB / 481.8 MB, free: 3.504 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1045, allocations: 0.5805 MB / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.463e-05/0.1046, allocations: 0 / 482.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.1048, allocations: 63.73 kB / 482.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.1051, allocations: 87.61 kB / 482.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.1056, allocations: 179 kB / 482.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.1058, allocations: 91.75 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1059, allocations: 28.22 kB / 482.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.505e-05/0.106, allocations: 31.84 kB / 482.9 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.011e-05/0.106, allocations: 43.84 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.1061, allocations: 4 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.1062, allocations: 51.97 kB / 483 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.1062, allocations: 23.92 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.996e-05/0.1064, allocations: 35.73 kB / 483 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1065, allocations: 115.8 kB / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1066, allocations: 0 / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1066, allocations: 0 / 483.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1066, allocations: 4 kB / 483.1 MB, free: 2.172 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005093/0.1071, allocations: 419 kB / 483.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1071, allocations: 8.031 kB / 483.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.1072, allocations: 34.75 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.1072, allocations: 16.75 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.1074, allocations: 200.1 kB / 483.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1074, allocations: 4.375 kB / 483.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1074, allocations: 8.375 kB / 483.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.1076, allocations: 81.52 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.1077, allocations: 0 / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1077, allocations: 3.938 kB / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1077, allocations: 0 / 483.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.1078, allocations: 43.95 kB / 483.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.1083, allocations: 336.6 kB / 484.3 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.1085, allocations: 54.55 kB / 484.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.916e-05/0.1086, allocations: 24.97 kB / 484.3 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.1086, allocations: 4 kB / 484.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.392e-05/0.1087, allocations: 46.58 kB / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1087, allocations: 0 / 484.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.00146/0.1101, allocations: 428.7 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1102, allocations: 51.41 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.1104, allocations: 186.2 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1104, allocations: 33.7 kB / 485.1 MB, free: 24 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.1105, allocations: 104 kB / 485.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.861e-05/0.1105, allocations: 35.45 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.1106, allocations: 25.72 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1107, allocations: 322.8 kB / 485.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.1108, allocations: 51.95 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.111, allocations: 63.95 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.1113, allocations: 124.7 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1113, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000345/0.1116, allocations: 157.5 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1117, allocations: 11.98 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1117, allocations: 4.562 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1117, allocations: 3.938 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.1118, allocations: 23.98 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.1118, allocations: 0 / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.225e-05/0.1119, allocations: 15.98 kB / 486 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.1119, allocations: 8 kB / 486 MB, free: 15.06 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 (11): * Single equations (assignments): 11 * 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.0001025/0.112, allocations: 129.8 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.1121, allocations: 11.81 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004295/0.1125, allocations: 194.2 kB / 486.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.1125, allocations: 7.938 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.1125, allocations: 3.984 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1125, allocations: 0 / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/0.1133, allocations: 0.4999 MB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.1133, allocations: 4 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1134, allocations: 31.91 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1134, allocations: 0 / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.1134, allocations: 4 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1134, allocations: 0 / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1134, allocations: 4.062 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.1138, allocations: 273.4 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.729e-05/0.1139, allocations: 93 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.1139, allocations: 4 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.114, allocations: 11.98 kB / 487.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.1141, allocations: 11.94 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.1141, allocations: 4 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001112/0.1142, allocations: 139.2 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1142, allocations: 0 / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1145, allocations: 24 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001532/0.116, allocations: 1.162 MB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.1164, allocations: 131.9 kB / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1164, allocations: 0 / 488.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.1166, allocations: 75.89 kB / 488.8 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.1169, allocations: 15.98 kB / 488.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.1192, allocations: 1.881 MB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.1194, allocations: 0.7196 MB / 491.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.766e-05/0.1195, allocations: 36.52 kB / 491.5 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.968e-05/0.1196, allocations: 47.41 kB / 491.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1196, allocations: 0 / 491.5 MB, free: 9.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01986/0.1395, allocations: 3.359 MB / 494.9 MB, free: 6.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.396/7.535, allocations: 23.03 kB / 494.9 MB, free: 6.152 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches