Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.001285/0.001285, allocations: 106.9 kB / 17.33 MB, free: 5.996 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.00142/0.00142, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.446/1.446, allocations: 222.9 MB / 241.9 MB, free: 13.68 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.2263/0.2263, allocations: 44.17 MB / 336.2 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 63.8 kB / 408 MB, free: 27.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1559, allocations: 60.82 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.003741/0.1597, allocations: 1.7 MB / 470.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007916/0.1605, allocations: 427.2 kB / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.1605, allocations: 0 / 470.9 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006465/0.1612, allocations: 447.2 kB / 471.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.1617, allocations: 247.5 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.162, allocations: 126.8 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00024/0.1623, allocations: 159.7 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1624, allocations: 19.98 kB / 471.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1625, allocations: 107.7 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.1628, allocations: 223.6 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1628, allocations: 4 kB / 472.2 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.1629, allocations: 43.92 kB / 472.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001199/0.163, allocations: 83.69 kB / 472.4 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.005e-05/0.1631, allocations: 111 kB / 472.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.1635, allocations: 267.2 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1635, allocations: 0 / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1635, allocations: 0 / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.1635, allocations: 4 kB / 472.7 MB, free: 10.67 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008469/0.1643, allocations: 0.6414 MB / 473.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.1644, allocations: 8.031 kB / 473.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.108e-05/0.1645, allocations: 38.67 kB / 473.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.272e-05/0.1646, allocations: 40.47 kB / 473.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.1649, allocations: 296.2 kB / 473.8 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.165, allocations: 4.375 kB / 473.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.165, allocations: 8.312 kB / 473.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.1652, allocations: 61.61 kB / 473.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1653, allocations: 0 / 473.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1653, allocations: 8 kB / 473.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1653, allocations: 3.938 kB / 473.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1654, allocations: 23.98 kB / 473.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009575/0.1664, allocations: 400.6 kB / 474.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.1666, allocations: 54.59 kB / 474.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.1666, allocations: 16.94 kB / 474.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.1667, allocations: 0 / 474.3 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.1667, allocations: 30.56 kB / 474.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.1667, allocations: 0 / 474.4 MB, free: 8.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001099/0.1678, allocations: 307.8 kB / 474.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.1679, allocations: 59.34 kB / 474.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.1692, allocations: 0.8613 MB / 475.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.1693, allocations: 25.7 kB / 475.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.1695, allocations: 232 kB / 475.8 MB, free: 7.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.1696, allocations: 27.56 kB / 475.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.1696, allocations: 25.66 kB / 475.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.1698, allocations: 366.8 kB / 476.2 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/0.1699, allocations: 19.98 kB / 476.3 MB, free: 6.926 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.862e-05/0.17, allocations: 27.97 kB / 476.3 MB, free: 6.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.1702, allocations: 60.83 kB / 476.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1702, allocations: 0 / 476.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002701/0.1705, allocations: 137.1 kB / 476.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1705, allocations: 4 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1705, allocations: 0 / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.1705, allocations: 432 / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1707, allocations: 27.86 kB / 476.5 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.1707, allocations: 4 kB / 476.5 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.1707, allocations: 8 kB / 476.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.1708, allocations: 4 kB / 476.5 MB, free: 6.648 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 (8): * Single equations (assignments): 8 * 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.0002391/0.171, allocations: 217.8 kB / 476.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.1711, allocations: 35.53 kB / 476.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003475/0.1714, allocations: 161.3 kB / 476.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1715, allocations: 3.938 kB / 476.9 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1715, allocations: 7.875 kB / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.1715, allocations: 0 / 476.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009333/0.1724, allocations: 0.5074 MB / 477.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1724, allocations: 0 / 477.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.728e-05/0.1725, allocations: 16 kB / 477.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1725, allocations: 0 / 477.5 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1726, allocations: 7.984 kB / 477.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1726, allocations: 0 / 477.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1726, allocations: 32 / 477.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1729, allocations: 247.8 kB / 477.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.173, allocations: 116.5 kB / 477.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.173, allocations: 0 / 477.8 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1731, allocations: 7.984 kB / 477.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1732, allocations: 11.94 kB / 477.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-06/0.1732, allocations: 8 kB / 477.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007267/0.1739, allocations: 0.6511 MB / 478.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.174, allocations: 0 / 478.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.1743, allocations: 28 kB / 478.5 MB, free: 4.523 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 (8): * Single equations (assignments): 8 * 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.001787/0.1761, allocations: 1.113 MB / 479.6 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.1763, allocations: 71.95 kB / 479.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1763, allocations: 0 / 479.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.764e-05/0.1764, allocations: 39.92 kB / 479.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.1769, allocations: 29.89 kB / 479.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/0.1813, allocations: 3.401 MB / 483.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004956/0.1818, allocations: 0.826 MB / 484 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.55e-05/0.1819, allocations: 20.73 kB / 484 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.1821, allocations: 103.4 kB / 484.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1821, allocations: 0 / 484.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.2016, allocations: 6.039 MB / 490.2 MB, free: 9.023 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002886/0.202, allocations: 243.4 kB / 490.4 MB, free: 8.758 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.223, allocations: 2.5 kB / 490.4 MB, free: 8.758 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches