Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8",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.0006826/0.0006826, allocations: 101.9 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008433/0.0008434, allocations: 183.6 kB / 16.92 MB, free: 6.918 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.414/1.414, allocations: 205.4 MB / 223.1 MB, free: 5.762 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.4552/0.4552, allocations: 43.57 MB / 315 MB, free: 8.742 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.0005688/0.0005689, allocations: 18.97 kB / 384.7 MB, free: 7.559 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1622, allocations: 58.85 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.002199/0.1645, allocations: 1.279 MB / 444.8 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00072/0.1652, allocations: 323.5 kB / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.1653, allocations: 0 / 445.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.1655, allocations: 19.94 kB / 445.1 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.1657, allocations: 27.91 kB / 445.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002562/0.1659, allocations: 87.83 kB / 445.3 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.1661, allocations: 51.89 kB / 445.3 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1662, allocations: 12.27 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.166e-05/0.1663, allocations: 27.8 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.256e-05/0.1663, allocations: 11.94 kB / 445.4 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.1663, allocations: 4 kB / 445.4 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.407e-05/0.1664, allocations: 31.97 kB / 445.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.85e-05/0.1665, allocations: 11.92 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.1665, allocations: 45.52 kB / 445.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1667, allocations: 79.73 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1667, allocations: 0 / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1667, allocations: 0 / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1667, allocations: 0 / 445.5 MB, free: 10.58 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.0005414/0.1673, allocations: 379.2 kB / 445.9 MB, free: 10.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.1673, allocations: 12.03 kB / 445.9 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.008e-05/0.1674, allocations: 30.75 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.1674, allocations: 8.844 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1677, allocations: 192.2 kB / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.1677, allocations: 384 / 446.1 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.1677, allocations: 8.375 kB / 446.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1679, allocations: 49.62 kB / 446.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1679, allocations: 7.938 kB / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.1679, allocations: 0 / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.168, allocations: 0 / 446.2 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1681, allocations: 35.91 kB / 446.2 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.1685, allocations: 284.8 kB / 446.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.1688, allocations: 50.56 kB / 446.6 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.1688, allocations: 20.88 kB / 446.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1688, allocations: 0 / 446.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.1689, allocations: 42.5 kB / 446.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.1689, allocations: 0 / 446.6 MB, free: 9.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005963/0.1695, allocations: 157.4 kB / 446.8 MB, free: 9.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.1695, allocations: 59.41 kB / 446.8 MB, free: 9.082 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1697, allocations: 161.2 kB / 447 MB, free: 8.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1697, allocations: 25.7 kB / 447 MB, free: 8.887 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.1698, allocations: 92.14 kB / 447.1 MB, free: 8.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1698, allocations: 15.75 kB / 447.1 MB, free: 8.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/0.1699, allocations: 17.7 kB / 447.1 MB, free: 8.754 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.17, allocations: 318.8 kB / 447.5 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.1701, allocations: 27.98 kB / 447.5 MB, free: 8.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.1702, allocations: 27.97 kB / 447.5 MB, free: 8.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1703, allocations: 60.83 kB / 447.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1703, allocations: 0 / 447.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002008/0.1705, allocations: 97.52 kB / 447.7 MB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.1706, allocations: 4 kB / 447.7 MB, free: 8.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.1706, allocations: 3.984 kB / 447.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1706, allocations: 288 / 447.7 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.283e-05/0.1707, allocations: 12 kB / 447.7 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1707, allocations: 3.984 kB / 447.7 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.1707, allocations: 19.92 kB / 447.7 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1707, allocations: 0 / 447.7 MB, free: 8.172 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 9.558e-05/0.1708, allocations: 113.8 kB / 447.8 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.1709, allocations: 11.89 kB / 447.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.1712, allocations: 118.1 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1712, allocations: 0 / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1712, allocations: 0 / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1712, allocations: 3.938 kB / 448 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.1717, allocations: 358.5 kB / 448.3 MB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1717, allocations: 4 kB / 448.3 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.398e-05/0.1717, allocations: 12 kB / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1717, allocations: 0 / 448.3 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.1718, allocations: 11.92 kB / 448.3 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1718, allocations: 3.938 kB / 448.3 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1718, allocations: 7.875 kB / 448.3 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.172, allocations: 187.4 kB / 448.5 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.1721, allocations: 89 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.1721, allocations: 3.938 kB / 448.6 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.66e-05/0.1722, allocations: 4 kB / 448.6 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.1722, allocations: 11.98 kB / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.1722, allocations: 0 / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.706e-05/0.1723, allocations: 123.2 kB / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1723, allocations: 0 / 448.7 MB, free: 7.023 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1726, allocations: 12 kB / 448.8 MB, free: 7.012 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.001357/0.1739, allocations: 1.027 MB / 449.8 MB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1742, allocations: 55.91 kB / 449.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1742, allocations: 0 / 449.8 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.996e-05/0.1743, allocations: 39.92 kB / 449.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.1746, allocations: 11.98 kB / 449.9 MB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.1763, allocations: 1.494 MB / 451.4 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.1767, allocations: 0.6965 MB / 452.1 MB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.1767, allocations: 20.23 kB / 452.1 MB, free: 3.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.183e-05/0.1768, allocations: 23.44 kB / 452.1 MB, free: 3.543 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1768, allocations: 0 / 452.1 MB, free: 3.543 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.1899, allocations: 2.116 MB / 454.2 MB, free: 1.422 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.1901, allocations: 230 kB / 454.5 MB, free: 1.168 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.932/2.122, allocations: 0 / 454.5 MB, free: 1.168 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches