Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.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.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30",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.00134/0.00134, allocations: 103.1 kB / 16.4 MB, free: 6.434 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.001388/0.001388, allocations: 192.1 kB / 17.34 MB, free: 5.727 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.621/1.621, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.222/0.222, allocations: 43.52 MB / 314.1 MB, free: 468 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.001484/0.001484, allocations: 63.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1492, allocations: 57.79 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.005237/0.1545, allocations: 1.551 MB / 0.4889 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009151/0.1555, allocations: 323.5 kB / 0.4892 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.1557, allocations: 3.938 kB / 0.4892 GB, free: 10.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003776/0.1561, allocations: 71.78 kB / 0.4893 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.1564, allocations: 63.73 kB / 0.4894 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003977/0.1568, allocations: 79.78 kB / 0.4894 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.1571, allocations: 67.81 kB / 0.4895 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1573, allocations: 23.91 kB / 0.4895 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1574, allocations: 31.91 kB / 0.4896 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1575, allocations: 43.89 kB / 0.4896 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.1576, allocations: 4 kB / 0.4896 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1577, allocations: 35.94 kB / 0.4896 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.904e-05/0.1578, allocations: 11.97 kB / 0.4896 GB, free: 9.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.046e-05/0.1579, allocations: 39.67 kB / 0.4897 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.1582, allocations: 79.73 kB / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1582, allocations: 0 / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1583, allocations: 0 / 0.4898 GB, free: 9.859 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.1583, allocations: 4 kB / 0.4898 GB, free: 9.855 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007008/0.159, allocations: 402.9 kB / 0.4901 GB, free: 9.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/0.1591, allocations: 11.89 kB / 0.4902 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.1591, allocations: 34.73 kB / 0.4902 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.1592, allocations: 12.84 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1595, allocations: 184.2 kB / 0.4904 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1595, allocations: 8.312 kB / 0.4904 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.1595, allocations: 4.375 kB / 0.4904 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.1597, allocations: 53.61 kB / 0.4904 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1598, allocations: 4 kB / 0.4904 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.1598, allocations: 0 / 0.4904 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1598, allocations: 0 / 0.4904 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001268/0.1599, allocations: 23.92 kB / 0.4905 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/0.1605, allocations: 276.8 kB / 0.4907 GB, free: 8.711 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.1608, allocations: 54.5 kB / 0.4908 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.189e-05/0.1609, allocations: 12.94 kB / 0.4908 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1609, allocations: 0 / 0.4908 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.161, allocations: 34.56 kB / 0.4908 GB, free: 8.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.161, allocations: 0 / 0.4908 GB, free: 8.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0009092/0.1619, allocations: 149.2 kB / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.162, allocations: 51.41 kB / 0.491 GB, free: 8.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002982/0.1623, allocations: 198.2 kB / 0.4912 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1624, allocations: 25.7 kB / 0.4912 GB, free: 8.141 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1625, allocations: 104.1 kB / 0.4913 GB, free: 8.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.1625, allocations: 23.64 kB / 0.4914 GB, free: 8.012 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.1626, allocations: 21.7 kB / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1628, allocations: 326.8 kB / 0.4917 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/0.1629, allocations: 15.98 kB / 0.4917 GB, free: 7.641 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.416e-05/0.163, allocations: 23.97 kB / 0.4917 GB, free: 7.617 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1632, allocations: 48.72 kB / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1632, allocations: 0 / 0.4918 GB, free: 7.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003143/0.1636, allocations: 85.77 kB / 0.4919 GB, free: 7.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.1636, allocations: 7.984 kB / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1636, allocations: 0 / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.1637, allocations: 0 / 0.4919 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/0.1638, allocations: 16 kB / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1638, allocations: 0 / 0.4919 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/0.1639, allocations: 7.984 kB / 0.4919 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.1639, allocations: 3.938 kB / 0.4919 GB, free: 7.441 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.0001376/0.164, allocations: 133.7 kB / 0.492 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.139e-05/0.1641, allocations: 7.906 kB / 0.492 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.1644, allocations: 93.97 kB / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1645, allocations: 288 / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1645, allocations: 0 / 0.4921 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.1645, allocations: 3.984 kB / 0.4921 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006302/0.1651, allocations: 354.4 kB / 0.4925 GB, free: 6.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.1651, allocations: 4 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/0.1652, allocations: 11.94 kB / 0.4925 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.1652, allocations: 4 kB / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1653, allocations: 0 / 0.4925 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.1653, allocations: 3.938 kB / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1653, allocations: 0 / 0.4925 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.1656, allocations: 179.5 kB / 0.4927 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.1657, allocations: 92.95 kB / 0.4927 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1657, allocations: 4.062 kB / 0.4927 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.1658, allocations: 11.92 kB / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.281e-05/0.1658, allocations: 0 / 0.4928 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1659, allocations: 8 kB / 0.4928 GB, free: 6.438 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.166, allocations: 160 kB / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.166, allocations: 0 / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1663, allocations: 16 kB / 0.4929 GB, free: 6.266 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.001967/0.1682, allocations: 1.005 MB / 0.4939 GB, free: 5.281 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.1685, allocations: 51.91 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1686, allocations: 0 / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000108/0.1687, allocations: 27.98 kB / 0.494 GB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.1692, allocations: 27.61 kB / 0.494 GB, free: 5.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.1715, allocations: 1.543 MB / 0.4955 GB, free: 3.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.1719, allocations: 0.7041 MB / 0.4962 GB, free: 2.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.62e-05/0.172, allocations: 11.98 kB / 0.4962 GB, free: 2.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.1721, allocations: 23.44 kB / 0.4962 GB, free: 2.789 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1721, allocations: 0 / 0.4962 GB, free: 2.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.025/0.1971, allocations: 2.742 MB / 0.4989 GB, free: 24 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.651/7.848, allocations: 7.875 kB / 0.4989 GB, free: 16 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches