Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1",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.001135/0.001135, allocations: 103.3 kB / 16.4 MB, free: 6.449 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.001132/0.001132, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2309/0.2309, allocations: 43.52 MB / 314.1 MB, free: 456 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.001747/0.001748, allocations: 66.03 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1315, allocations: 57.81 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.003496/0.135, allocations: 1.604 MB / 0.489 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006427/0.1357, allocations: 323.5 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.971e-05/0.1358, allocations: 4 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005474/0.1364, allocations: 451.1 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003941/0.1368, allocations: 247.5 kB / 0.49 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003331/0.1371, allocations: 115.7 kB / 0.4901 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002487/0.1374, allocations: 159.7 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.1375, allocations: 20.16 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001484/0.1377, allocations: 107.7 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.1379, allocations: 203.6 kB / 0.4905 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.1379, allocations: 8 kB / 0.4905 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.404e-05/0.138, allocations: 31.97 kB / 0.4906 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1382, allocations: 79.69 kB / 0.4907 GB, free: 8.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.861e-05/0.1382, allocations: 103 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003229/0.1386, allocations: 262.9 kB / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1386, allocations: 0 / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1386, allocations: 0 / 0.491 GB, free: 8.578 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.1386, allocations: 0 / 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.0008574/0.1395, allocations: 0.6297 MB / 0.4916 GB, free: 7.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1395, allocations: 15.89 kB / 0.4916 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.1396, allocations: 42.73 kB / 0.4917 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.79e-05/0.1397, allocations: 40.38 kB / 0.4917 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.14, allocations: 300.1 kB / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.14, allocations: 384 / 0.492 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.14, allocations: 16.06 kB / 0.492 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1402, allocations: 49.62 kB / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1402, allocations: 0 / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1402, allocations: 0 / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1402, allocations: 0 / 0.4921 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1403, allocations: 35.97 kB / 0.4921 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.1408, allocations: 376.8 kB / 0.4925 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.1411, allocations: 42.5 kB / 0.4925 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.118e-05/0.1411, allocations: 20.94 kB / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1412, allocations: 0 / 0.4925 GB, free: 6.859 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.1412, allocations: 38.56 kB / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1412, allocations: 0 / 0.4926 GB, free: 6.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005866/0.1418, allocations: 224 kB / 0.4928 GB, free: 6.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.1418, allocations: 51.41 kB / 0.4928 GB, free: 6.523 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007764/0.1426, allocations: 0.8691 MB / 0.4937 GB, free: 5.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.1426, allocations: 25.7 kB / 0.4937 GB, free: 5.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1428, allocations: 228 kB / 0.4939 GB, free: 5.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.1428, allocations: 15.88 kB / 0.4939 GB, free: 5.367 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.1429, allocations: 17.72 kB / 0.4939 GB, free: 5.344 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.143, allocations: 358.7 kB / 0.4943 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.672e-05/0.1431, allocations: 19.98 kB / 0.4943 GB, free: 4.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.076e-05/0.1431, allocations: 23.98 kB / 0.4943 GB, free: 4.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.1433, allocations: 52.77 kB / 0.4944 GB, free: 4.887 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1433, allocations: 4 kB / 0.4944 GB, free: 4.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001988/0.1435, allocations: 113.4 kB / 0.4945 GB, free: 4.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1435, allocations: 4 kB / 0.4945 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1435, allocations: 3.984 kB / 0.4945 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1435, allocations: 4 kB / 0.4945 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.1436, allocations: 8 kB / 0.4945 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1436, allocations: 7.922 kB / 0.4945 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.1437, allocations: 11.98 kB / 0.4945 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.1437, allocations: 0 / 0.4945 GB, free: 4.727 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.0001775/0.1439, allocations: 213.7 kB / 0.4947 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.144, allocations: 43.44 kB / 0.4948 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.1442, allocations: 141 kB / 0.4949 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1442, allocations: 7.938 kB / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1443, allocations: 7.938 kB / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1443, allocations: 0 / 0.4949 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.1448, allocations: 454.4 kB / 0.4954 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1448, allocations: 0 / 0.4954 GB, free: 3.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.649e-05/0.1448, allocations: 11.98 kB / 0.4954 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1449, allocations: 3.938 kB / 0.4954 GB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1449, allocations: 4 kB / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1449, allocations: 0 / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1449, allocations: 0 / 0.4954 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.1451, allocations: 211 kB / 0.4956 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.1452, allocations: 112.7 kB / 0.4957 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.1452, allocations: 7.938 kB / 0.4957 GB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.1453, allocations: 7.984 kB / 0.4957 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.828e-05/0.1454, allocations: 7.938 kB / 0.4957 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1454, allocations: 0 / 0.4957 GB, free: 3.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006368/0.1461, allocations: 0.6589 MB / 0.4963 GB, free: 2.754 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1461, allocations: 4 kB / 0.4963 GB, free: 2.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1463, allocations: 20 kB / 0.4964 GB, free: 2.73 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.001332/0.1477, allocations: 1.053 MB / 0.4974 GB, free: 1.695 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1479, allocations: 51.91 kB / 0.4974 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1479, allocations: 0 / 0.4974 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.108e-05/0.148, allocations: 23.98 kB / 0.4975 GB, free: 1.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.1484, allocations: 25.95 kB / 0.4975 GB, free: 1.594 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003453/0.1518, allocations: 3.188 MB / 0.5006 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.1523, allocations: 0.8221 MB / 0.5014 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.852e-05/0.1523, allocations: 8 kB / 0.5014 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.1525, allocations: 103.4 kB / 0.5015 GB, free: 13.36 MB / 398.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1525, allocations: 0 / 0.5015 GB, free: 13.36 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.1776, allocations: 6.012 MB / 0.5074 GB, free: 7.328 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.285/8.463, allocations: 7.969 kB / 0.5074 GB, free: 7.32 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches