Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test29,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29",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.0007969/0.000797, allocations: 175.1 kB / 16.72 MB, free: 4.957 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.177/1.177, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0006424/0.0006427, allocations: 93.3 kB / 271.2 MB, free: 8.242 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.285/0.285, allocations: 43.55 MB / 363.1 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 8 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09432/0.09468, allocations: 58.86 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test29): time 0.001577/0.09629, allocations: 1.317 MB / 492.2 MB, free: 9.223 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004487/0.09675, allocations: 299.8 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.0968, allocations: 4 kB / 492.5 MB, free: 8.922 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001974/0.09701, allocations: 59.84 kB / 492.6 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.09714, allocations: 55.86 kB / 492.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.0974, allocations: 99.81 kB / 492.7 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.09752, allocations: 59.83 kB / 492.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.073e-05/0.09761, allocations: 16.16 kB / 492.8 MB, free: 8.637 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.573e-05/0.09766, allocations: 31.86 kB / 492.9 MB, free: 8.605 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.548e-05/0.09774, allocations: 35.89 kB / 492.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.09776, allocations: 0 / 492.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.186e-05/0.09783, allocations: 35.92 kB / 492.9 MB, free: 8.535 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.09788, allocations: 11.98 kB / 492.9 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.09794, allocations: 57.44 kB / 493 MB, free: 8.461 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.09806, allocations: 80.05 kB / 493.1 MB, free: 8.383 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.09807, allocations: 3.984 kB / 493.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.09808, allocations: 0 / 493.1 MB, free: 8.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.09809, allocations: 0 / 493.1 MB, free: 8.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003986/0.09849, allocations: 403.1 kB / 493.5 MB, free: 7.938 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.09853, allocations: 8.031 kB / 493.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.986e-05/0.09857, allocations: 34.73 kB / 493.5 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.0986, allocations: 8.844 kB / 493.5 MB, free: 7.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.09876, allocations: 208.7 kB / 493.7 MB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.09877, allocations: 4.375 kB / 493.7 MB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.09879, allocations: 4.125 kB / 493.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.09894, allocations: 57.69 kB / 493.8 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.09896, allocations: 8 kB / 493.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.09897, allocations: 3.984 kB / 493.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.09898, allocations: 0 / 493.8 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.09911, allocations: 39.97 kB / 493.8 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.09942, allocations: 304.8 kB / 494.1 MB, free: 7.168 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.09954, allocations: 46.56 kB / 494.2 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.303e-05/0.09961, allocations: 20.94 kB / 494.2 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.09964, allocations: 8 kB / 494.2 MB, free: 7.082 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.09967, allocations: 38.55 kB / 494.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.09968, allocations: 0 / 494.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006955/0.1004, allocations: 237 kB / 494.5 MB, free: 6.797 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.1004, allocations: 59.34 kB / 494.5 MB, free: 6.727 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.1006, allocations: 220.6 kB / 494.7 MB, free: 6.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.1006, allocations: 25.7 kB / 494.8 MB, free: 6.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.1007, allocations: 104.1 kB / 494.9 MB, free: 6.363 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.183e-05/0.1007, allocations: 23.66 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.1007, allocations: 0 / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.208e-05/0.1008, allocations: 326.8 kB / 495.2 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.1009, allocations: 51.97 kB / 495.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.863e-05/0.101, allocations: 39.97 kB / 495.3 MB, free: 5.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.1012, allocations: 93.03 kB / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1013, allocations: 0 / 495.4 MB, free: 5.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002582/0.1015, allocations: 125.5 kB / 495.5 MB, free: 5.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.1015, allocations: 8 kB / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1015, allocations: 0 / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1016, allocations: 0 / 495.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.1017, allocations: 27.92 kB / 495.6 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1017, allocations: 7.938 kB / 495.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.1018, allocations: 15.89 kB / 495.6 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1018, allocations: 4 kB / 495.6 MB, free: 5.637 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 (7): * Single equations (assignments): 7 * 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 7.507e-05/0.1018, allocations: 125.8 kB / 495.7 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.1019, allocations: 7.906 kB / 495.7 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.1022, allocations: 143 kB / 495.9 MB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1022, allocations: 4 kB / 495.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1022, allocations: 4.219 kB / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1022, allocations: 0 / 495.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.1027, allocations: 418.4 kB / 496.3 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1027, allocations: 4 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.052e-05/0.1028, allocations: 23.97 kB / 496.3 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1028, allocations: 3.938 kB / 496.3 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.1028, allocations: 4 kB / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1028, allocations: 0 / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.1028, allocations: 0 / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.1031, allocations: 231.2 kB / 496.5 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.45e-05/0.1032, allocations: 93 kB / 496.6 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.1032, allocations: 7.938 kB / 496.6 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.1033, allocations: 15.98 kB / 496.6 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1033, allocations: 3.984 kB / 496.6 MB, free: 4.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1033, allocations: 8 kB / 496.7 MB, free: 4.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001073/0.1035, allocations: 160.9 kB / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1035, allocations: 0 / 496.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.1037, allocations: 24 kB / 496.8 MB, free: 4.277 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 (7): * Single equations (assignments): 7 * 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.001139/0.1048, allocations: 1.063 MB / 497.9 MB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.1051, allocations: 95.92 kB / 498 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1051, allocations: 0 / 498 MB, free: 3.145 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.1052, allocations: 56.05 kB / 498 MB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.1055, allocations: 15.98 kB / 498.1 MB, free: 3.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.1067, allocations: 0.8385 MB / 498.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002254/0.1069, allocations: 0.708 MB / 499.6 MB, free: 1.445 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.653e-05/0.107, allocations: 27.42 kB / 499.6 MB, free: 1.418 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.107, allocations: 3.938 kB / 499.6 MB, free: 1.414 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.748/2.855, allocations: 2.08 MB / 0.49 GB, free: 42.37 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test29.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches