Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005958/0.005958, allocations: 100.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 193 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 222.6 MB, free: 4.477 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2927/0.2927, allocations: 43.5 MB / 313.5 MB, free: 8.73 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 67.91 kB / 382.1 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09502/0.09635, allocations: 57.79 MB / 439.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test11): time 0.002382/0.09876, allocations: 1.668 MB / 441.6 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.0998, allocations: 0.9259 MB / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.09984, allocations: 0 / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.1, allocations: 15.92 kB / 442.5 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.1002, allocations: 39.84 kB / 442.6 MB, free: 12.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.1004, allocations: 107.8 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.453e-05/0.1005, allocations: 51.91 kB / 442.7 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.195e-05/0.1006, allocations: 16.47 kB / 442.7 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.933e-05/0.1006, allocations: 27.8 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1007, allocations: 27.89 kB / 442.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.1008, allocations: 4 kB / 442.8 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.671e-05/0.1009, allocations: 55.91 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.1009, allocations: 7.984 kB / 442.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.1009, allocations: 23.81 kB / 442.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.1011, allocations: 103.7 kB / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1011, allocations: 0 / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1011, allocations: 0 / 443 MB, free: 11.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.1011, allocations: 3.938 kB / 443 MB, free: 11.62 MB / 382.1 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.0004201/0.1015, allocations: 395.2 kB / 443.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.1016, allocations: 12.03 kB / 443.4 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.805e-05/0.1016, allocations: 30.75 kB / 443.4 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.971e-05/0.1016, allocations: 8.844 kB / 443.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1018, allocations: 192.2 kB / 443.6 MB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.1018, allocations: 12.25 kB / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.1018, allocations: 8.125 kB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.102, allocations: 71.33 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.102, allocations: 0 / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.102, allocations: 0 / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.102, allocations: 4 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.1022, allocations: 39.95 kB / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.1025, allocations: 292.7 kB / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.1026, allocations: 46.5 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.1026, allocations: 20.94 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.1027, allocations: 4 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.1027, allocations: 38.56 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.1027, allocations: 0 / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006318/0.1033, allocations: 193.2 kB / 444.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.1034, allocations: 85.11 kB / 444.4 MB, free: 9.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.1035, allocations: 149.8 kB / 444.6 MB, free: 9.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.1035, allocations: 25.7 kB / 444.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.1036, allocations: 96.12 kB / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.1036, allocations: 23.72 kB / 444.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.1036, allocations: 17.72 kB / 444.7 MB, free: 9.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.1037, allocations: 322.8 kB / 445 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1038, allocations: 35.97 kB / 445.1 MB, free: 9.301 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.975e-05/0.1039, allocations: 41.69 kB / 445.1 MB, free: 9.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.1041, allocations: 76.75 kB / 445.2 MB, free: 9.176 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1041, allocations: 0 / 445.2 MB, free: 9.176 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002348/0.1044, allocations: 109.6 kB / 445.3 MB, free: 9.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1044, allocations: 8 kB / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.297e-06/0.1044, allocations: 0 / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.426e-06/0.1044, allocations: 0 / 445.3 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001042/0.1045, allocations: 27.97 kB / 445.3 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1046, allocations: 3.938 kB / 445.3 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.1046, allocations: 4 kB / 445.3 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.1046, allocations: 8 kB / 445.3 MB, free: 9.012 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.951e-05/0.1047, allocations: 121.8 kB / 445.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.1047, allocations: 7.906 kB / 445.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000275/0.105, allocations: 126.6 kB / 445.6 MB, free: 8.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.105, allocations: 3.938 kB / 445.6 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.105, allocations: 3.938 kB / 445.6 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1051, allocations: 4.281 kB / 445.6 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004408/0.1055, allocations: 394.4 kB / 446 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1055, allocations: 4 kB / 446 MB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.892e-05/0.1056, allocations: 15.98 kB / 446 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1056, allocations: 11.86 kB / 446 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.1056, allocations: 8 kB / 446 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.1056, allocations: 0 / 446 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1056, allocations: 0 / 446 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1059, allocations: 203.4 kB / 446.2 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.839e-05/0.1059, allocations: 93 kB / 446.3 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.106, allocations: 3.938 kB / 446.3 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-05/0.1061, allocations: 15.98 kB / 446.3 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.1061, allocations: 8 kB / 446.3 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.1061, allocations: 0 / 446.3 MB, free: 7.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.92e-05/0.1062, allocations: 107.2 kB / 446.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1062, allocations: 0 / 446.5 MB, free: 7.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.1064, allocations: 28 kB / 446.5 MB, free: 7.77 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/0.1077, allocations: 1.079 MB / 447.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.1079, allocations: 75.89 kB / 447.6 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.108, allocations: 0 / 447.6 MB, free: 6.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.1081, allocations: 39.97 kB / 447.7 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.1084, allocations: 19.98 kB / 447.7 MB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.1099, allocations: 1.564 MB / 449.3 MB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.1101, allocations: 0.6926 MB / 449.9 MB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.273e-05/0.1102, allocations: 12.66 kB / 450 MB, free: 4.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.1103, allocations: 27.42 kB / 450 MB, free: 4.168 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1103, allocations: 0 / 450 MB, free: 4.168 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3194/0.4297, allocations: 2.777 MB / 452.8 MB, free: 1.367 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.4299, allocations: 240.5 kB / 453 MB, free: 1.105 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.001/2.431, allocations: 0 / 453 MB, free: 1.105 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test11_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches