Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5",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.001641/0.00164, allocations: 105.3 kB / 16.4 MB, free: 6.457 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.001763/0.001763, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.504/1.504, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2209/0.2209, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.001995/0.001995, allocations: 69.45 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1306, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test5): time 0.003602/0.1343, allocations: 1.592 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007704/0.135, allocations: 327.5 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.1351, allocations: 4 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007412/0.1359, allocations: 451.2 kB / 0.4897 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004333/0.1363, allocations: 251.4 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.1367, allocations: 115.7 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002739/0.137, allocations: 159.7 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.1371, allocations: 16.17 kB / 0.4902 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.1372, allocations: 103.8 kB / 0.4903 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.1376, allocations: 211.6 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.858e-05/0.1376, allocations: 8 kB / 0.4906 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1377, allocations: 31.98 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.1379, allocations: 83.67 kB / 0.4907 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.138, allocations: 99 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004173/0.1384, allocations: 258.6 kB / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.1384, allocations: 0 / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1384, allocations: 0 / 0.491 GB, free: 8.582 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1385, allocations: 4 kB / 0.491 GB, free: 8.578 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.00102/0.1395, allocations: 0.6452 MB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.1395, allocations: 23.81 kB / 0.4917 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.1396, allocations: 30.75 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.661e-05/0.1397, allocations: 48.66 kB / 0.4917 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.1401, allocations: 296.6 kB / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1401, allocations: 4.375 kB / 0.492 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.914e-05/0.1402, allocations: 4.125 kB / 0.492 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.1403, allocations: 57.61 kB / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1403, allocations: 0 / 0.4921 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.1404, allocations: 4 kB / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.1404, allocations: 0 / 0.4921 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1405, allocations: 35.89 kB / 0.4921 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005487/0.141, allocations: 388.6 kB / 0.4925 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002391/0.1413, allocations: 42.56 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.763e-05/0.1414, allocations: 16.94 kB / 0.4925 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.1414, allocations: 7.938 kB / 0.4926 GB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.1414, allocations: 30.56 kB / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.1414, allocations: 0 / 0.4926 GB, free: 6.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007484/0.1422, allocations: 232.7 kB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/0.1423, allocations: 51.41 kB / 0.4929 GB, free: 6.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009759/0.1433, allocations: 0.8691 MB / 0.4937 GB, free: 5.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.1433, allocations: 29.7 kB / 0.4937 GB, free: 5.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/0.1435, allocations: 216.1 kB / 0.4939 GB, free: 5.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.1436, allocations: 23.83 kB / 0.494 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1436, allocations: 13.72 kB / 0.494 GB, free: 5.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.1438, allocations: 362.7 kB / 0.4943 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.1439, allocations: 23.98 kB / 0.4943 GB, free: 4.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.354e-05/0.144, allocations: 19.97 kB / 0.4944 GB, free: 4.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.1441, allocations: 49.03 kB / 0.4944 GB, free: 4.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1442, allocations: 0 / 0.4944 GB, free: 4.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002231/0.1444, allocations: 121.3 kB / 0.4945 GB, free: 4.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1444, allocations: 7.984 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1444, allocations: 0 / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.1445, allocations: 0 / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.255e-05/0.1445, allocations: 12 kB / 0.4945 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1445, allocations: 7.938 kB / 0.4946 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.669e-05/0.1446, allocations: 7.984 kB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.1446, allocations: 0 / 0.4946 GB, free: 4.695 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 (5): * Single equations (assignments): 5 * 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 0.0002077/0.1448, allocations: 213.7 kB / 0.4948 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.1449, allocations: 47.67 kB / 0.4948 GB, free: 4.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00028/0.1452, allocations: 133 kB / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1452, allocations: 0 / 0.4949 GB, free: 4.293 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1452, allocations: 11.88 kB / 0.4949 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.1452, allocations: 4.281 kB / 0.495 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005909/0.1458, allocations: 454.6 kB / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1458, allocations: 0 / 0.4954 GB, free: 3.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.409e-05/0.1459, allocations: 11.98 kB / 0.4954 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.1459, allocations: 3.938 kB / 0.4954 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1459, allocations: 4.172 kB / 0.4954 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.1459, allocations: 11.94 kB / 0.4954 GB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.1459, allocations: 4 kB / 0.4954 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.1462, allocations: 211.2 kB / 0.4956 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.204e-05/0.1463, allocations: 112.8 kB / 0.4957 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.1464, allocations: 3.938 kB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.53e-05/0.1464, allocations: 11.98 kB / 0.4957 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.1465, allocations: 4 kB / 0.4957 GB, free: 3.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-06/0.1465, allocations: 4 kB / 0.4958 GB, free: 3.367 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000716/0.1472, allocations: 0.6511 MB / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1472, allocations: 0 / 0.4964 GB, free: 2.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.1475, allocations: 27.94 kB / 0.4964 GB, free: 2.691 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 (5): * Single equations (assignments): 5 * 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.002095/0.1496, allocations: 1.06 MB / 0.4974 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.1498, allocations: 43.97 kB / 0.4975 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.1498, allocations: 4 kB / 0.4975 GB, free: 1.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.898e-05/0.1499, allocations: 27.92 kB / 0.4975 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.1504, allocations: 21.89 kB / 0.4975 GB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003947/0.1543, allocations: 3.203 MB / 0.5007 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.1549, allocations: 0.8221 MB / 0.5015 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.783e-05/0.1549, allocations: 4 kB / 0.5015 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.1551, allocations: 99.39 kB / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1551, allocations: 0 / 0.5016 GB, free: 13.3 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.1854, allocations: 5.974 MB / 0.5074 GB, free: 7.309 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/8.543, allocations: 11.91 kB / 0.5074 GB, free: 7.297 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches