Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test9,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008512/0.0008511, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.185/1.185, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006871/0.0006871, allocations: 83.92 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2847/0.2847, allocations: 43.57 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12 kB / 432.1 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09974/0.1001, allocations: 58.84 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.001798/0.1019, allocations: 1.27 MB / 492.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005193/0.1025, allocations: 303.8 kB / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.1025, allocations: 0 / 492.5 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005062/0.103, allocations: 439.2 kB / 492.9 MB, free: 8.543 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.1033, allocations: 243.5 kB / 493.2 MB, free: 8.305 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1037, allocations: 103.7 kB / 493.3 MB, free: 8.203 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.1039, allocations: 119.7 kB / 493.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.053e-05/0.104, allocations: 11.98 kB / 493.4 MB, free: 8.074 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1041, allocations: 103.8 kB / 493.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.1043, allocations: 167.7 kB / 493.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1043, allocations: 0 / 493.7 MB, free: 7.809 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.856e-05/0.1044, allocations: 23.98 kB / 493.7 MB, free: 7.785 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.884e-05/0.1045, allocations: 79.69 kB / 493.8 MB, free: 7.707 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.345e-05/0.1046, allocations: 116.9 kB / 493.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.1048, allocations: 175.8 kB / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1048, allocations: 0 / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1048, allocations: 0 / 494 MB, free: 7.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1048, allocations: 4 kB / 494 MB, free: 7.41 MB / 378.7 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.0006145/0.1054, allocations: 0.6026 MB / 494.6 MB, free: 6.762 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1055, allocations: 12.03 kB / 494.7 MB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.1055, allocations: 30.75 kB / 494.7 MB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.1056, allocations: 36.47 kB / 494.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.1058, allocations: 300.1 kB / 495 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1059, allocations: 4.375 kB / 495 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.1059, allocations: 384 / 495 MB, free: 6.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.106, allocations: 65.61 kB / 495.1 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1061, allocations: 0 / 495.1 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.1061, allocations: 0 / 495.1 MB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1061, allocations: 3.938 kB / 495.1 MB, free: 6.266 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.1062, allocations: 39.97 kB / 495.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.1066, allocations: 376.7 kB / 495.5 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1068, allocations: 42.66 kB / 495.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.122e-05/0.1068, allocations: 28.84 kB / 495.6 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1069, allocations: 3.984 kB / 495.6 MB, free: 5.723 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.1069, allocations: 38.5 kB / 495.6 MB, free: 5.676 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1069, allocations: 3.938 kB / 495.6 MB, free: 5.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003182/0.1072, allocations: 129.2 kB / 495.7 MB, free: 5.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.1073, allocations: 51.41 kB / 495.8 MB, free: 5.477 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007613/0.1081, allocations: 0.8574 MB / 496.6 MB, free: 4.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1081, allocations: 25.7 kB / 496.7 MB, free: 4.578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.1082, allocations: 216 kB / 496.9 MB, free: 4.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.1083, allocations: 11.83 kB / 496.9 MB, free: 4.352 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/0.1083, allocations: 0 / 496.9 MB, free: 4.352 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1084, allocations: 366.7 kB / 497.2 MB, free: 3.984 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.1085, allocations: 19.98 kB / 497.3 MB, free: 3.965 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.933e-05/0.1085, allocations: 24.11 kB / 497.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1087, allocations: 48.91 kB / 497.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1087, allocations: 0 / 497.3 MB, free: 3.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001856/0.1089, allocations: 105.2 kB / 497.4 MB, free: 3.781 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1089, allocations: 4 kB / 497.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1089, allocations: 0 / 497.4 MB, free: 3.777 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1089, allocations: 8 kB / 497.5 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.316e-05/0.109, allocations: 15.92 kB / 497.5 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.109, allocations: 0 / 497.5 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.992e-05/0.1091, allocations: 11.91 kB / 497.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1091, allocations: 4 kB / 497.5 MB, free: 3.738 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.1093, allocations: 213.6 kB / 497.7 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.105e-05/0.1093, allocations: 39.53 kB / 497.7 MB, free: 3.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.1095, allocations: 125 kB / 497.9 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1096, allocations: 0 / 497.9 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1096, allocations: 0 / 497.9 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.1096, allocations: 4 kB / 497.9 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.1098, allocations: 285.5 kB / 498.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1098, allocations: 0 / 498.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.298e-05/0.1099, allocations: 15.98 kB / 498.2 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1099, allocations: 4 kB / 498.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1099, allocations: 0 / 498.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1099, allocations: 4 kB / 498.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1099, allocations: 0 / 498.2 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002222/0.1101, allocations: 218.8 kB / 498.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.1102, allocations: 112.5 kB / 498.5 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.1103, allocations: 4 kB / 498.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.1103, allocations: 7.984 kB / 498.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.582e-05/0.1104, allocations: 0 / 498.5 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1104, allocations: 4 kB / 498.5 MB, free: 2.617 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005596/0.111, allocations: 0.6472 MB / 499.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.111, allocations: 0 / 499.1 MB, free: 1.973 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002248/0.1112, allocations: 27.94 kB / 499.2 MB, free: 1.945 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/0.1122, allocations: 0.9928 MB / 0.4884 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.1124, allocations: 47.95 kB / 0.4885 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1124, allocations: 0 / 0.4885 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.523e-05/0.1125, allocations: 23.98 kB / 0.4885 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.1128, allocations: 17.97 kB / 0.4885 GB, free: 0.8828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1516/0.2644, allocations: 2.305 MB / 0.4908 GB, free: 42.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.2647, allocations: 0.8184 MB / 0.4916 GB, free: 41.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.2648, allocations: 111.9 kB / 0.4917 GB, free: 41.95 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2648, allocations: 0 / 0.4917 GB, free: 41.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.643/2.908, allocations: 6.303 MB / 0.4978 GB, free: 40.74 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test9.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches