Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",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.001412/0.001412, allocations: 104.2 kB / 15.98 MB, free: 5.859 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.001562/0.001562, allocations: 188.8 kB / 16.9 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1814/0.1814, allocations: 43.52 MB / 313.6 MB, free: 0.6953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 75.14 kB / 382.3 MB, free: 56.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 57.79 MB / 440.1 MB, free: 7.246 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.002687/0.1065, allocations: 1.65 MB / 441.8 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004734/0.107, allocations: 331.5 kB / 442.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.1071, allocations: 4 kB / 442.1 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.1075, allocations: 443.2 kB / 442.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000244/0.1077, allocations: 247.5 kB / 442.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.108, allocations: 99.62 kB / 442.9 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000187/0.1082, allocations: 163.6 kB / 443 MB, free: 4.312 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1083, allocations: 16.12 kB / 443 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-05/0.1084, allocations: 107.8 kB / 443.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1086, allocations: 223.6 kB / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.1086, allocations: 0 / 443.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.311e-05/0.1087, allocations: 35.97 kB / 443.4 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.864e-05/0.1088, allocations: 83.69 kB / 443.5 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.1089, allocations: 103 kB / 443.6 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1091, allocations: 251 kB / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1091, allocations: 0 / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1091, allocations: 3.938 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1091, allocations: 0 / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005406/0.1097, allocations: 0.6414 MB / 444.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.1097, allocations: 11.89 kB / 444.5 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.552e-05/0.1097, allocations: 38.73 kB / 444.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.1098, allocations: 44.38 kB / 444.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.11, allocations: 288.2 kB / 444.8 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.11, allocations: 4.375 kB / 444.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.11, allocations: 8.125 kB / 444.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.1102, allocations: 53.61 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1102, allocations: 4 kB / 444.9 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1102, allocations: 8 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1102, allocations: 0 / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.1103, allocations: 23.97 kB / 444.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.1106, allocations: 388.6 kB / 445.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/0.1108, allocations: 46.5 kB / 445.4 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/0.1109, allocations: 20.94 kB / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1109, allocations: 0 / 445.4 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.1109, allocations: 30.56 kB / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.633e-06/0.1109, allocations: 3.984 kB / 445.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005029/0.1114, allocations: 224 kB / 445.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.1114, allocations: 55.41 kB / 445.7 MB, free: 1.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.112, allocations: 0.869 MB / 446.6 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.395e-06/0.112, allocations: 25.7 kB / 446.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.1121, allocations: 220.1 kB / 446.8 MB, free: 320 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.1121, allocations: 19.73 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.1121, allocations: 21.66 kB / 446.8 MB, free: 272 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1123, allocations: 358.8 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.202e-05/0.1123, allocations: 19.98 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.334e-05/0.1124, allocations: 15.98 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001164/0.1125, allocations: 52.77 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.1125, allocations: 0 / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001929/0.1127, allocations: 113.1 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1127, allocations: 4 kB / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1127, allocations: 0 / 447.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1128, allocations: 4 kB / 447.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.1129, allocations: 15.98 kB / 447.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1129, allocations: 3.938 kB / 447.4 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.1129, allocations: 12.23 kB / 447.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1129, allocations: 4 kB / 447.4 MB, free: 15.66 MB / 334.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 (5): * Single equations (assignments): 5 * 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.000185/0.1131, allocations: 209.7 kB / 447.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.1132, allocations: 43.44 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002717/0.1135, allocations: 141 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1135, allocations: 0 / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1135, allocations: 3.938 kB / 447.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1135, allocations: 4 kB / 447.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005321/0.114, allocations: 458.5 kB / 448.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1141, allocations: 0 / 448.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.1141, allocations: 15.98 kB / 448.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1141, allocations: 3.938 kB / 448.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1141, allocations: 0 / 448.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1141, allocations: 0 / 448.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1142, allocations: 4 kB / 448.3 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1144, allocations: 211 kB / 448.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.1145, allocations: 108.6 kB / 448.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1145, allocations: 7.938 kB / 448.6 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.1146, allocations: 7.984 kB / 448.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.1147, allocations: 7.938 kB / 448.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.1147, allocations: 4 kB / 448.6 MB, free: 14.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006058/0.1153, allocations: 0.655 MB / 449.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1153, allocations: 0 / 449.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002466/0.1155, allocations: 20 kB / 449.3 MB, free: 13.67 MB / 334.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 (5): * Single equations (assignments): 5 * 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.001413/0.117, allocations: 1.043 MB / 450.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1172, allocations: 51.89 kB / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1172, allocations: 0 / 450.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.2e-05/0.1173, allocations: 27.98 kB / 450.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.1177, allocations: 27.94 kB / 450.5 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.1211, allocations: 3.297 MB / 453.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004431/0.1215, allocations: 0.8219 MB / 454.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.397e-05/0.1216, allocations: 19.97 kB / 454.6 MB, free: 8.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.1217, allocations: 99.41 kB / 454.7 MB, free: 8.215 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1217, allocations: 0 / 454.7 MB, free: 8.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.124/1.245, allocations: 5.732 MB / 460.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/1.246, allocations: 230.9 kB / 460.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/3.163, allocations: 0 / 460.7 MB, free: 2.227 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches