Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_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.001148/0.001148, allocations: 107.4 kB / 17.21 MB, free: 6.289 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.001133/0.001133, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2317/0.2317, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 63.27 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1579, allocations: 60.83 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003713/0.1616, allocations: 1.625 MB / 470.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008937/0.1626, allocations: 399.3 kB / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.1627, allocations: 0 / 470.6 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.1629, allocations: 19.94 kB / 470.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.1631, allocations: 27.91 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.1635, allocations: 75.86 kB / 470.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1637, allocations: 59.77 kB / 470.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.1638, allocations: 11.98 kB / 470.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.182e-05/0.1638, allocations: 15.94 kB / 470.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.136e-05/0.1639, allocations: 23.86 kB / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.1639, allocations: 0 / 470.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.164, allocations: 31.97 kB / 470.9 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.1641, allocations: 7.938 kB / 470.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1642, allocations: 31.8 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1643, allocations: 64.08 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1643, allocations: 0 / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1643, allocations: 0 / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.1643, allocations: 0 / 471 MB, free: 12.36 MB / 350.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.0005103/0.1649, allocations: 367.3 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1649, allocations: 12.03 kB / 471.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.552e-05/0.165, allocations: 38.73 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.165, allocations: 8.844 kB / 471.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.1652, allocations: 188.1 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1653, allocations: 8.375 kB / 471.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.1653, allocations: 4.312 kB / 471.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.1654, allocations: 57.55 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1655, allocations: 0 / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1655, allocations: 4 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1655, allocations: 3.938 kB / 471.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.402e-05/0.1656, allocations: 19.98 kB / 471.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.166, allocations: 276.9 kB / 472 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.1662, allocations: 46.5 kB / 472 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.27e-05/0.1663, allocations: 12.86 kB / 472 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1663, allocations: 0 / 472 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1664, allocations: 34.64 kB / 472.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1664, allocations: 4 kB / 472.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006432/0.167, allocations: 141.2 kB / 472.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.1671, allocations: 55.41 kB / 472.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1673, allocations: 138.1 kB / 472.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1673, allocations: 25.7 kB / 472.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.1674, allocations: 92.14 kB / 472.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.1674, allocations: 19.73 kB / 472.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.887e-05/0.1675, allocations: 17.72 kB / 472.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1676, allocations: 326.8 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.1677, allocations: 15.98 kB / 472.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.074e-05/0.1677, allocations: 15.98 kB / 472.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1679, allocations: 48.78 kB / 472.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1679, allocations: 4 kB / 472.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000201/0.1681, allocations: 81.56 kB / 473 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1681, allocations: 4 kB / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1681, allocations: 0 / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1682, allocations: 0 / 473 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.499e-05/0.1682, allocations: 12 kB / 473 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1682, allocations: 3.984 kB / 473 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.089e-05/0.1683, allocations: 3.984 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1683, allocations: 11.94 kB / 473.1 MB, free: 10.06 MB / 350.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.59e-05/0.1684, allocations: 113.8 kB / 473.2 MB, free: 9.941 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.1685, allocations: 11.91 kB / 473.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.1687, allocations: 85.91 kB / 473.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1687, allocations: 8.531 kB / 473.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1687, allocations: 3.984 kB / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1688, allocations: 0 / 473.3 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.1692, allocations: 358.4 kB / 473.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1692, allocations: 0 / 473.6 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-05/0.1693, allocations: 12 kB / 473.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1693, allocations: 0 / 473.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1693, allocations: 3.984 kB / 473.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.1693, allocations: 7.938 kB / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1693, allocations: 0 / 473.7 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.1696, allocations: 175.4 kB / 473.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.1696, allocations: 84.95 kB / 473.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.1696, allocations: 0 / 473.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.1697, allocations: 11.92 kB / 473.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.302e-05/0.1698, allocations: 7.938 kB / 473.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1698, allocations: 0 / 473.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.1699, allocations: 114.2 kB / 474 MB, free: 8.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1699, allocations: 4 kB / 474 MB, free: 8.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.1701, allocations: 16 kB / 474.1 MB, free: 8.961 MB / 350.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.00134/0.1715, allocations: 0.9932 MB / 475.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001943/0.1717, allocations: 51.91 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1717, allocations: 3.938 kB / 475.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.223e-05/0.1718, allocations: 23.98 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.1721, allocations: 18.28 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.1737, allocations: 1.407 MB / 476.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.174, allocations: 0.6887 MB / 477.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.724e-05/0.1741, allocations: 12.2 kB / 477.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.1741, allocations: 19.44 kB / 477.3 MB, free: 5.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1742, allocations: 4 kB / 477.3 MB, free: 5.766 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/0.1873, allocations: 2.234 MB / 479.5 MB, free: 3.617 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.1875, allocations: 236.4 kB / 479.7 MB, free: 3.355 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/1.954, allocations: 0 / 479.7 MB, free: 3.355 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches