Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_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.0009456/0.0009456, allocations: 175.5 kB / 16.72 MB, free: 5.078 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.182/1.182, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0006671/0.0006671, allocations: 93.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.2781/0.2781, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003599, allocations: 12 kB / 432.1 MB, free: 5.727 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09472, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.001742/0.09649, allocations: 1.297 MB / 492.2 MB, free: 9.48 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005325/0.09705, allocations: 315.8 kB / 492.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.09714, allocations: 0 / 492.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004723/0.09763, allocations: 439.2 kB / 493 MB, free: 8.738 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.09793, allocations: 235.5 kB / 493.2 MB, free: 8.508 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.09823, allocations: 99.8 kB / 493.3 MB, free: 8.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.09842, allocations: 127.7 kB / 493.4 MB, free: 8.285 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.09853, allocations: 16.17 kB / 493.4 MB, free: 8.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.09864, allocations: 95.78 kB / 493.5 MB, free: 8.176 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001839/0.09883, allocations: 171.7 kB / 493.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.09886, allocations: 0 / 493.7 MB, free: 8.008 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.319e-05/0.09895, allocations: 31.94 kB / 493.7 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.796e-05/0.09904, allocations: 75.75 kB / 493.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.428e-05/0.09913, allocations: 124.8 kB / 493.9 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.09935, allocations: 184 kB / 494.1 MB, free: 7.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.09936, allocations: 0 / 494.1 MB, free: 7.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09937, allocations: 3.938 kB / 494.1 MB, free: 7.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.09938, allocations: 4 kB / 494.1 MB, free: 7.586 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.0005939/0.09998, allocations: 0.5872 MB / 494.7 MB, free: 6.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1, allocations: 8.031 kB / 494.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.299e-05/0.1001, allocations: 34.73 kB / 494.7 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.1001, allocations: 44.47 kB / 494.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.1004, allocations: 300.1 kB / 495.1 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1004, allocations: 4.375 kB / 495.1 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.1004, allocations: 4.125 kB / 495.1 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1006, allocations: 61.62 kB / 495.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1006, allocations: 0 / 495.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.1006, allocations: 0 / 495.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1006, allocations: 0 / 495.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.997e-05/0.1007, allocations: 31.97 kB / 495.2 MB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.1011, allocations: 388.6 kB / 495.5 MB, free: 5.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.1013, allocations: 50.5 kB / 495.6 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.127e-05/0.1014, allocations: 16.94 kB / 495.6 MB, free: 5.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.1014, allocations: 3.984 kB / 495.6 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1015, allocations: 34.56 kB / 495.7 MB, free: 5.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.1015, allocations: 0 / 495.7 MB, free: 5.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000596/0.1021, allocations: 247.9 kB / 495.9 MB, free: 5.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1021, allocations: 51.41 kB / 495.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007413/0.1029, allocations: 0.8613 MB / 496.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1029, allocations: 29.7 kB / 496.8 MB, free: 4.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.103, allocations: 224.1 kB / 497.1 MB, free: 4.422 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.745e-05/0.1031, allocations: 19.66 kB / 497.1 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.1031, allocations: 0 / 497.1 MB, free: 4.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1032, allocations: 358.8 kB / 497.4 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.108e-05/0.1033, allocations: 23.98 kB / 497.4 MB, free: 4.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.1033, allocations: 31.91 kB / 497.5 MB, free: 3.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.1035, allocations: 60.72 kB / 497.5 MB, free: 3.926 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1035, allocations: 4 kB / 497.5 MB, free: 3.922 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002043/0.1037, allocations: 113.2 kB / 497.7 MB, free: 3.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1037, allocations: 7.984 kB / 497.7 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1037, allocations: 0 / 497.7 MB, free: 3.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1038, allocations: 4 kB / 497.7 MB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.042e-05/0.1038, allocations: 12 kB / 497.7 MB, free: 3.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.1038, allocations: 7.938 kB / 497.7 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.946e-05/0.1039, allocations: 7.984 kB / 497.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.1039, allocations: 0 / 497.7 MB, free: 3.766 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.0001818/0.1041, allocations: 213.7 kB / 497.9 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.1042, allocations: 43.44 kB / 497.9 MB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.1045, allocations: 145.4 kB / 498.1 MB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.1045, allocations: 4 kB / 498.1 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1045, allocations: 3.938 kB / 498.1 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1045, allocations: 4 kB / 498.1 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.105, allocations: 462.4 kB / 498.5 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.105, allocations: 0 / 498.5 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.1051, allocations: 15.98 kB / 498.6 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.1051, allocations: 3.938 kB / 498.6 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.1051, allocations: 4 kB / 498.6 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1051, allocations: 0 / 498.6 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1051, allocations: 0 / 498.6 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.1054, allocations: 223 kB / 498.8 MB, free: 2.574 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.532e-05/0.1055, allocations: 116.5 kB / 498.9 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1055, allocations: 7.922 kB / 498.9 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.273e-05/0.1056, allocations: 8 kB / 498.9 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1056, allocations: 4 kB / 498.9 MB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.1056, allocations: 0 / 498.9 MB, free: 2.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005712/0.1062, allocations: 0.6589 MB / 499.6 MB, free: 1.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1062, allocations: 0 / 499.6 MB, free: 1.766 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002367/0.1065, allocations: 19.98 kB / 499.6 MB, free: 1.746 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.001246/0.1077, allocations: 1.067 MB / 0.4889 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.1079, allocations: 55.91 kB / 0.489 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1079, allocations: 4 kB / 0.489 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.108, allocations: 27.98 kB / 0.489 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.1084, allocations: 21.95 kB / 0.489 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1629/0.2714, allocations: 2.338 MB / 0.4913 GB, free: 42.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.2717, allocations: 0.8225 MB / 0.4921 GB, free: 41.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.2718, allocations: 103.7 kB / 0.4922 GB, free: 41.9 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.2718, allocations: 4.109 kB / 0.4922 GB, free: 41.9 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.618/2.89, allocations: 6.499 MB / 0.4986 GB, free: 40.65 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches