Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.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.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28",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.001181/0.001181, allocations: 104.2 kB / 16.4 MB, free: 6.484 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.00134/0.001341, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.648/1.648, 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.2302/0.2302, allocations: 43.53 MB / 314.1 MB, free: 460 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.001771/0.001772, allocations: 75.91 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1438, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test28): time 0.004325/0.1481, allocations: 1.608 MB / 0.489 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007617/0.1489, allocations: 343.5 kB / 0.4893 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.149, allocations: 4 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.1493, allocations: 63.78 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.1496, allocations: 47.77 kB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004853/0.1501, allocations: 155.7 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.1504, allocations: 79.8 kB / 0.4896 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1505, allocations: 15.98 kB / 0.4897 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.966e-05/0.1506, allocations: 35.91 kB / 0.4897 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001248/0.1507, allocations: 43.83 kB / 0.4897 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.1508, allocations: 7.938 kB / 0.4897 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.1509, allocations: 35.98 kB / 0.4898 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.179e-05/0.151, allocations: 19.92 kB / 0.4898 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.151, allocations: 39.72 kB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.1513, allocations: 91.72 kB / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1514, allocations: 0 / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.1514, allocations: 0 / 0.4899 GB, free: 9.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1514, allocations: 0 / 0.4899 GB, free: 9.707 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.0007698/0.1522, allocations: 418.9 kB / 0.4903 GB, free: 9.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.842e-05/0.1522, allocations: 11.89 kB / 0.4903 GB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.68e-05/0.1523, allocations: 38.69 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.1523, allocations: 8.844 kB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1526, allocations: 204.1 kB / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1527, allocations: 384 / 0.4906 GB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.1527, allocations: 8.359 kB / 0.4906 GB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.1529, allocations: 65.59 kB / 0.4906 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.153, allocations: 4 kB / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.153, allocations: 0 / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.153, allocations: 0 / 0.4906 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1531, allocations: 43.91 kB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.1537, allocations: 312.7 kB / 0.491 GB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.1539, allocations: 50.56 kB / 0.491 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.143e-05/0.154, allocations: 24.94 kB / 0.4911 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.154, allocations: 0 / 0.4911 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.1541, allocations: 34.56 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.393e-06/0.1541, allocations: 3.938 kB / 0.4911 GB, free: 8.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009184/0.155, allocations: 229.5 kB / 0.4913 GB, free: 8.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.1551, allocations: 55.34 kB / 0.4914 GB, free: 8.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1553, allocations: 194.2 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1553, allocations: 29.7 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.1554, allocations: 100.1 kB / 0.4917 GB, free: 7.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.1555, allocations: 31.58 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.1555, allocations: 25.72 kB / 0.4917 GB, free: 7.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1557, allocations: 322.8 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1558, allocations: 35.97 kB / 0.4921 GB, free: 7.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.1559, allocations: 31.97 kB / 0.4921 GB, free: 7.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.1562, allocations: 96.78 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1562, allocations: 0 / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003202/0.1565, allocations: 125.4 kB / 0.4923 GB, free: 7.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1565, allocations: 8 kB / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.1565, allocations: 0 / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.1566, allocations: 0 / 0.4923 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1567, allocations: 31.97 kB / 0.4924 GB, free: 6.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1567, allocations: 3.938 kB / 0.4924 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.664e-05/0.1568, allocations: 11.92 kB / 0.4924 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1568, allocations: 4 kB / 0.4924 GB, free: 6.961 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 0.0001058/0.1569, allocations: 125.8 kB / 0.4925 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.157, allocations: 15.91 kB / 0.4925 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.1574, allocations: 142.3 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1574, allocations: 0 / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1574, allocations: 0 / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1574, allocations: 3.938 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.158, allocations: 410.9 kB / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.158, allocations: 0 / 0.493 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.949e-05/0.1581, allocations: 31.92 kB / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.1581, allocations: 0 / 0.4931 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1581, allocations: 3.938 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1582, allocations: 0 / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1582, allocations: 4 kB / 0.4931 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.1585, allocations: 223.4 kB / 0.4933 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.1586, allocations: 93 kB / 0.4934 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1586, allocations: 7.938 kB / 0.4934 GB, free: 5.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.1587, allocations: 4 kB / 0.4934 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/0.1588, allocations: 11.98 kB / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1588, allocations: 0 / 0.4934 GB, free: 5.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.1589, allocations: 156 kB / 0.4935 GB, free: 5.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1589, allocations: 0 / 0.4935 GB, free: 5.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.1592, allocations: 16 kB / 0.4936 GB, free: 5.629 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.001841/0.1611, allocations: 1.068 MB / 0.4946 GB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003232/0.1614, allocations: 91.92 kB / 0.4947 GB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1614, allocations: 0 / 0.4947 GB, free: 4.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.1616, allocations: 47.91 kB / 0.4947 GB, free: 4.445 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.162, allocations: 23.73 kB / 0.4948 GB, free: 4.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.1642, allocations: 1.725 MB / 0.4964 GB, free: 2.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1646, allocations: 0.7041 MB / 0.4971 GB, free: 1.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.779e-05/0.1647, allocations: 24.95 kB / 0.4972 GB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.399e-05/0.1648, allocations: 35.42 kB / 0.4972 GB, free: 1.832 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1648, allocations: 3.938 kB / 0.4972 GB, free: 1.828 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02301/0.1878, allocations: 3.048 MB / 0.5002 GB, free: 14.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/7.769, allocations: 7.938 kB / 0.5002 GB, free: 14.75 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches