Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001054/0.001054, allocations: 177.5 kB / 16.72 MB, free: 4.965 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.203/1.203, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.0007164/0.0007163, allocations: 86.41 kB / 271.2 MB, free: 8.238 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.2845/0.2845, allocations: 43.56 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 12 kB / 432.1 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.0892, allocations: 58.86 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.001833/0.09107, allocations: 1.297 MB / 492.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006111/0.09172, allocations: 335.7 kB / 492.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.673e-05/0.09178, allocations: 0 / 492.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.09228, allocations: 443.2 kB / 493 MB, free: 8.473 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.09258, allocations: 239.5 kB / 493.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.09295, allocations: 135.8 kB / 493.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.09316, allocations: 135.7 kB / 493.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.346e-05/0.09326, allocations: 20.17 kB / 493.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.09337, allocations: 107.7 kB / 493.6 MB, free: 7.848 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.09357, allocations: 159.7 kB / 493.8 MB, free: 7.691 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.0936, allocations: 4 kB / 493.8 MB, free: 7.688 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-05/0.09368, allocations: 27.98 kB / 493.8 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.736e-05/0.09378, allocations: 83.73 kB / 493.9 MB, free: 7.578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.104e-05/0.09387, allocations: 116.8 kB / 494 MB, free: 7.457 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.09408, allocations: 191.9 kB / 494.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.09409, allocations: 0 / 494.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.0941, allocations: 0 / 494.2 MB, free: 7.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.09411, allocations: 0 / 494.2 MB, free: 7.27 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.0006286/0.09474, allocations: 0.5872 MB / 494.8 MB, free: 6.633 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.09479, allocations: 8.031 kB / 494.8 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.972e-05/0.09484, allocations: 42.73 kB / 494.8 MB, free: 6.574 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.121e-05/0.09489, allocations: 44.38 kB / 494.9 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.09513, allocations: 300.2 kB / 495.2 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-06/0.09515, allocations: 384 / 495.2 MB, free: 6.199 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.09517, allocations: 12.03 kB / 495.2 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.09531, allocations: 57.67 kB / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.09533, allocations: 0 / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.09535, allocations: 0 / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.09535, allocations: 0 / 495.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.625e-05/0.09546, allocations: 35.98 kB / 495.3 MB, free: 6.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.09593, allocations: 408.5 kB / 495.7 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.09612, allocations: 54.55 kB / 495.7 MB, free: 5.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.09618, allocations: 12.86 kB / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.0962, allocations: 0 / 495.7 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.09623, allocations: 38.59 kB / 495.8 MB, free: 5.516 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.22e-07/0.09624, allocations: 4 kB / 495.8 MB, free: 5.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005811/0.09682, allocations: 247.9 kB / 496 MB, free: 5.262 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.09687, allocations: 55.34 kB / 496.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.09763, allocations: 0.8691 MB / 496.9 MB, free: 4.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.09765, allocations: 29.7 kB / 497 MB, free: 4.281 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.0978, allocations: 228 kB / 497.2 MB, free: 4.055 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.09783, allocations: 15.75 kB / 497.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.09784, allocations: 0 / 497.2 MB, free: 4.039 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.09797, allocations: 362.8 kB / 497.6 MB, free: 3.676 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.418e-05/0.09805, allocations: 23.98 kB / 497.6 MB, free: 3.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.09813, allocations: 31.98 kB / 497.6 MB, free: 3.621 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.09828, allocations: 57.02 kB / 497.7 MB, free: 3.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.09828, allocations: 0 / 497.7 MB, free: 3.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002039/0.09849, allocations: 133.1 kB / 497.8 MB, free: 3.426 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.09852, allocations: 8 kB / 497.8 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.09853, allocations: 3.938 kB / 497.8 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.09854, allocations: 0 / 497.8 MB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.443e-05/0.09862, allocations: 19.98 kB / 497.8 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.09864, allocations: 3.938 kB / 497.8 MB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.564e-05/0.0987, allocations: 4 kB / 497.8 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.09871, allocations: 4 kB / 497.8 MB, free: 3.383 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 (5): * Single equations (assignments): 5 * 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.0001699/0.09889, allocations: 217.8 kB / 498.1 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.09894, allocations: 39.44 kB / 498.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.09921, allocations: 149.1 kB / 498.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.09922, allocations: 0 / 498.2 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.09923, allocations: 11.88 kB / 498.2 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.09924, allocations: 288 / 498.2 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004935/0.09974, allocations: 470.5 kB / 498.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.09975, allocations: 0 / 498.7 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.422e-05/0.09981, allocations: 19.98 kB / 498.7 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.09982, allocations: 7.922 kB / 498.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.09983, allocations: 0 / 498.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.09984, allocations: 4 kB / 498.7 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.09984, allocations: 0 / 498.7 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1001, allocations: 231.1 kB / 499 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/0.1002, allocations: 112.6 kB / 499.1 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1002, allocations: 7.922 kB / 499.1 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.094e-05/0.1003, allocations: 7.938 kB / 499.1 MB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.1003, allocations: 4 kB / 499.1 MB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1003, allocations: 0 / 499.1 MB, free: 2.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000537/0.1009, allocations: 0.6666 MB / 499.8 MB, free: 1.355 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1009, allocations: 0 / 499.8 MB, free: 1.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002206/0.1011, allocations: 16 kB / 499.8 MB, free: 1.34 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 (5): * Single equations (assignments): 5 * 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.001105/0.1022, allocations: 1.067 MB / 0.4891 GB, free: 304 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001716/0.1024, allocations: 55.97 kB / 0.4892 GB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1024, allocations: 0 / 0.4892 GB, free: 248 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.656e-05/0.1025, allocations: 31.92 kB / 0.4892 GB, free: 216 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.1028, allocations: 34.23 kB / 0.4892 GB, free: 176 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1457/0.2485, allocations: 2.38 MB / 0.4915 GB, free: 42.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.2488, allocations: 0.826 MB / 0.4924 GB, free: 41.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.2489, allocations: 112.6 kB / 0.4925 GB, free: 41.69 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2489, allocations: 3.75 kB / 0.4925 GB, free: 41.69 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.617/2.866, allocations: 6.563 MB / 0.4989 GB, free: 40.42 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches