Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.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.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test26",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test26,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test26",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.000877/0.0008771, allocations: 174.1 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.188/1.188, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0006533/0.0006535, allocations: 94.3 kB / 271.2 MB, free: 8.254 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.2723/0.2723, allocations: 43.56 MB / 363.1 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 15.98 kB / 432.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09383, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test26): time 0.001639/0.09551, allocations: 1.255 MB / 492.2 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004914/0.09601, allocations: 307.8 kB / 492.5 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.09606, allocations: 0 / 492.5 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.09629, allocations: 75.78 kB / 492.6 MB, free: 9.141 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.09644, allocations: 55.86 kB / 492.6 MB, free: 9.086 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.09669, allocations: 83.83 kB / 492.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.09681, allocations: 59.83 kB / 492.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.09691, allocations: 15.97 kB / 492.8 MB, free: 8.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.09696, allocations: 27.91 kB / 492.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.161e-05/0.09705, allocations: 43.83 kB / 492.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.09707, allocations: 0 / 492.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.748e-05/0.09714, allocations: 23.98 kB / 492.9 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.09718, allocations: 23.92 kB / 492.9 MB, free: 8.812 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.035e-05/0.09723, allocations: 45.52 kB / 492.9 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.09735, allocations: 64.17 kB / 493 MB, free: 8.699 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.09736, allocations: 0 / 493 MB, free: 8.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.947e-06/0.09737, allocations: 4 kB / 493 MB, free: 8.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.09737, allocations: 0 / 493 MB, free: 8.695 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.0003999/0.09778, allocations: 394.6 kB / 493.4 MB, free: 8.266 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.09782, allocations: 12.03 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.006e-05/0.09786, allocations: 34.75 kB / 493.4 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.533e-05/0.09789, allocations: 12.84 kB / 493.4 MB, free: 8.199 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001649/0.09806, allocations: 196 kB / 493.6 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.09808, allocations: 4.375 kB / 493.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.0981, allocations: 384 / 493.6 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.09823, allocations: 53.62 kB / 493.7 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.09825, allocations: 0 / 493.7 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.09826, allocations: 4 kB / 493.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.09827, allocations: 0 / 493.7 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.807e-05/0.09836, allocations: 31.97 kB / 493.7 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.09871, allocations: 288.8 kB / 494 MB, free: 7.539 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.09891, allocations: 54.55 kB / 494.1 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.895e-05/0.09897, allocations: 12.86 kB / 494.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.09899, allocations: 0 / 494.1 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.09902, allocations: 38.66 kB / 494.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.09903, allocations: 0 / 494.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005384/0.09957, allocations: 173.1 kB / 494.3 MB, free: 7.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.09961, allocations: 51.41 kB / 494.3 MB, free: 7.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.0998, allocations: 202.2 kB / 494.5 MB, free: 6.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.09982, allocations: 25.7 kB / 494.5 MB, free: 6.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.09988, allocations: 108.1 kB / 494.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.0999, allocations: 19.7 kB / 494.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.09991, allocations: 0 / 494.7 MB, free: 6.805 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.1, allocations: 322.8 kB / 495 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.1001, allocations: 27.97 kB / 495 MB, free: 6.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.1002, allocations: 35.86 kB / 495 MB, free: 6.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001316/0.1003, allocations: 56.83 kB / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1003, allocations: 0 / 495.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001894/0.1005, allocations: 97.56 kB / 495.2 MB, free: 6.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1005, allocations: 8 kB / 495.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1005, allocations: 0 / 495.2 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1006, allocations: 3.938 kB / 495.2 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.945e-05/0.1006, allocations: 12 kB / 495.2 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.1006, allocations: 0 / 495.2 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.1007, allocations: 7.984 kB / 495.2 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.1007, allocations: 7.938 kB / 495.2 MB, free: 6.219 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 7.817e-05/0.1008, allocations: 133.8 kB / 495.4 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.1008, allocations: 7.906 kB / 495.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.1011, allocations: 106.2 kB / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.1011, allocations: 0 / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.1011, allocations: 0 / 495.5 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1011, allocations: 12.27 kB / 495.5 MB, free: 5.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003891/0.1015, allocations: 366.4 kB / 495.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1015, allocations: 4 kB / 495.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.188e-05/0.1016, allocations: 8 kB / 495.9 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1016, allocations: 11.98 kB / 495.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.1016, allocations: 4 kB / 495.9 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1016, allocations: 3.938 kB / 495.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1016, allocations: 0 / 495.9 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1018, allocations: 199.3 kB / 496.1 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.1019, allocations: 85 kB / 496.2 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1019, allocations: 8 kB / 496.2 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.61e-05/0.1019, allocations: 7.938 kB / 496.2 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.102, allocations: 3.984 kB / 496.2 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.102, allocations: 4 kB / 496.2 MB, free: 5.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1021, allocations: 164 kB / 496.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1021, allocations: 0 / 496.3 MB, free: 5.008 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002082/0.1023, allocations: 12 kB / 496.4 MB, free: 4.996 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.001091/0.1034, allocations: 1.031 MB / 497.4 MB, free: 3.988 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.1036, allocations: 63.91 kB / 497.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1036, allocations: 0 / 497.4 MB, free: 3.926 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.1037, allocations: 31.97 kB / 497.5 MB, free: 3.895 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.104, allocations: 15.94 kB / 497.5 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.105, allocations: 0.7345 MB / 498.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.1053, allocations: 0.7043 MB / 498.9 MB, free: 2.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.296e-05/0.1053, allocations: 35.36 kB / 499 MB, free: 2.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1053, allocations: 0 / 499 MB, free: 2.32 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.7/2.805, allocations: 1.906 MB / 0.4891 GB, free: 424 kB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test26_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test26.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test26/Test26.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches