Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4",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.001124/0.001124, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001282/0.001282, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.439/1.439, allocations: 222.9 MB / 242.3 MB, free: 15.22 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.2269/0.2269, allocations: 44.19 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002134, allocations: 63.73 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1552, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003901/0.1591, allocations: 1.61 MB / 471 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008702/0.16, allocations: 419.2 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.416e-05/0.1601, allocations: 4 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.1604, allocations: 83.73 kB / 471.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1608, allocations: 79.72 kB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1611, allocations: 90.5 kB / 471.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002155/0.1613, allocations: 95.7 kB / 471.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1615, allocations: 24.25 kB / 471.7 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.987e-05/0.1616, allocations: 43.89 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.1617, allocations: 59.81 kB / 471.8 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.1617, allocations: 4 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1619, allocations: 39.98 kB / 471.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.598e-05/0.1619, allocations: 35.86 kB / 471.9 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.497e-05/0.162, allocations: 43.67 kB / 472 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.1622, allocations: 115.5 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1622, allocations: 0 / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1623, allocations: 0 / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1623, allocations: 4 kB / 472.1 MB, free: 11.53 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005226/0.1628, allocations: 422.9 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1629, allocations: 8.031 kB / 472.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.1629, allocations: 42.69 kB / 472.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.303e-05/0.1629, allocations: 16.75 kB / 472.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.1632, allocations: 204 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1632, allocations: 4.375 kB / 472.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.1632, allocations: 12.36 kB / 472.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.1634, allocations: 69.55 kB / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1634, allocations: 0 / 472.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1634, allocations: 4 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1635, allocations: 4 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1636, allocations: 35.97 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.1641, allocations: 336.6 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1643, allocations: 62.55 kB / 473.3 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.036e-05/0.1643, allocations: 20.84 kB / 473.3 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.1644, allocations: 4 kB / 473.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1644, allocations: 38.56 kB / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.1644, allocations: 0 / 473.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001154/0.1656, allocations: 301 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.774e-05/0.1656, allocations: 59.41 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.1659, allocations: 231.9 kB / 473.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.1659, allocations: 29.7 kB / 474 MB, free: 9.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.692e-05/0.166, allocations: 112.1 kB / 474.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.166, allocations: 39.36 kB / 474.1 MB, free: 9.301 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.1661, allocations: 29.7 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1663, allocations: 322.8 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.1664, allocations: 43.98 kB / 474.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.634e-05/0.1665, allocations: 39.97 kB / 474.5 MB, free: 8.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/0.1667, allocations: 88.08 kB / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1667, allocations: 0 / 474.6 MB, free: 8.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002662/0.167, allocations: 137.3 kB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.167, allocations: 4 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.167, allocations: 4 kB / 474.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.167, allocations: 7.938 kB / 474.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000129/0.1672, allocations: 27.98 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1672, allocations: 0 / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.504e-05/0.1672, allocations: 4 kB / 474.8 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1672, allocations: 7.984 kB / 474.8 MB, free: 8.578 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 (13): * Single equations (assignments): 13 * 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.0001215/0.1674, allocations: 129.8 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.26e-05/0.1674, allocations: 15.81 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000363/0.1678, allocations: 179.7 kB / 475.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.1678, allocations: 3.984 kB / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1678, allocations: 0 / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1678, allocations: 0 / 475.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/0.1685, allocations: 483 kB / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.1685, allocations: 0 / 475.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.1686, allocations: 27.98 kB / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.1686, allocations: 0 / 475.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1686, allocations: 4 kB / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1686, allocations: 0 / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1686, allocations: 0 / 475.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.1689, allocations: 248.2 kB / 475.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.324e-05/0.169, allocations: 88.92 kB / 476 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.169, allocations: 3.984 kB / 476 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.225e-05/0.1691, allocations: 12 kB / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.424e-05/0.1691, allocations: 7.984 kB / 476 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.1692, allocations: 4 kB / 476 MB, free: 7.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1693, allocations: 179.5 kB / 476.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1693, allocations: 4 kB / 476.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.1696, allocations: 20 kB / 476.2 MB, free: 7.09 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001554/0.1712, allocations: 1.134 MB / 477.3 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000269/0.1714, allocations: 95.89 kB / 477.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1715, allocations: 0 / 477.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.1716, allocations: 59.84 kB / 477.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003963/0.172, allocations: 19.98 kB / 477.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.174, allocations: 1.806 MB / 479.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1743, allocations: 0.7158 MB / 480 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.929e-05/0.1744, allocations: 24.53 kB / 480 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.003e-05/0.1745, allocations: 39.42 kB / 480.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1745, allocations: 0 / 480.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.1964, allocations: 3.337 MB / 483.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.966/8.162, allocations: 3.938 kB / 483.4 MB, free: 15.98 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Ds_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches