Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008229/0.0008229, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008724/0.0008724, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8509/0.8509, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2402/0.2402, allocations: 34.25 MB / 294.9 MB, free: 0.7305 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.866e-05, allocations: 2.281 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002137/0.002156, allocations: 1.605 MB / 443.8 MB, free: 32 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1716/0.1737, allocations: 0.5521 MB / 444.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.322e-05/0.1738, allocations: 2.406 kB / 444.3 MB, free: 42.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.1742, allocations: 448.2 kB / 444.8 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003204/0.1745, allocations: 298.9 kB / 445.1 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.1748, allocations: 173.5 kB / 445.2 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1749, allocations: 177.9 kB / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.175, allocations: 5.406 kB / 445.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.913e-05/0.1751, allocations: 119.8 kB / 445.5 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001545/0.1753, allocations: 234.7 kB / 445.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1753, allocations: 6.062 kB / 445.8 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.858e-05/0.1754, allocations: 29.64 kB / 445.8 MB, free: 42.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/0.1754, allocations: 86.75 kB / 445.9 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.495e-05/0.1755, allocations: 37.09 kB / 445.9 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1757, allocations: 233.6 kB / 446.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1757, allocations: 0 / 446.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1757, allocations: 0 / 446.2 MB, free: 42.53 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1757, allocations: 2.875 kB / 446.2 MB, free: 42.53 MB / 410.7 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.0004159/0.1761, allocations: 0.5736 MB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1761, allocations: 12.19 kB / 446.7 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.06e-05/0.1761, allocations: 36.66 kB / 446.8 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.667e-05/0.1762, allocations: 48.86 kB / 446.8 MB, free: 42.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001437/0.1763, allocations: 247.5 kB / 447.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.1763, allocations: 3.375 kB / 447.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.1763, allocations: 1.25 kB / 447.1 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.1764, allocations: 53.72 kB / 447.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.1765, allocations: 192 / 447.1 MB, free: 41.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.1765, allocations: 10.69 kB / 447.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1765, allocations: 0 / 447.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.758e-05/0.1765, allocations: 26.48 kB / 447.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002915/0.1768, allocations: 356.2 kB / 447.5 MB, free: 41.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.593e-05/0.1769, allocations: 32.16 kB / 447.5 MB, free: 41.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.451e-05/0.1769, allocations: 13.92 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1769, allocations: 2.906 kB / 447.6 MB, free: 41.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.101e-05/0.1769, allocations: 37.89 kB / 447.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1769, allocations: 2.344 kB / 447.6 MB, free: 41.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001686/0.1771, allocations: 108.7 kB / 447.7 MB, free: 41.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.1771, allocations: 54.38 kB / 447.8 MB, free: 41.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004331/0.1775, allocations: 0.8751 MB / 448.6 MB, free: 41.22 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.019e-06/0.1775, allocations: 25.7 kB / 448.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.877e-05/0.1776, allocations: 222.8 kB / 448.9 MB, free: 41.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.1776, allocations: 13.3 kB / 448.9 MB, free: 41.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.1777, allocations: 12.62 kB / 448.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.131e-05/0.1777, allocations: 365 kB / 449.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.1777, allocations: 9 kB / 449.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.749e-05/0.1777, allocations: 12.31 kB / 449.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.411e-05/0.1778, allocations: 30.72 kB / 449.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1778, allocations: 3.938 kB / 449.3 MB, free: 40.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.919e-05/0.1779, allocations: 97.86 kB / 449.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.1779, allocations: 5.625 kB / 449.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.1779, allocations: 96 / 449.4 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.1779, allocations: 4 kB / 449.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.959e-05/0.1779, allocations: 12.11 kB / 449.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1779, allocations: 0 / 449.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.178, allocations: 2.906 kB / 449.4 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.178, allocations: 0 / 449.4 MB, free: 40.69 MB / 410.7 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 (2): * Single equations (assignments): 2 * 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.000124/0.1781, allocations: 216.5 kB / 449.6 MB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.139e-05/0.1782, allocations: 43.56 kB / 449.7 MB, free: 40.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.1783, allocations: 104.8 kB / 449.8 MB, free: 40.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1783, allocations: 4.031 kB / 449.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1783, allocations: 1.781 kB / 449.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1783, allocations: 3.234 kB / 449.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.1785, allocations: 262.2 kB / 450 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1785, allocations: 3.281 kB / 450.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.1785, allocations: 5.844 kB / 450.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1785, allocations: 1.312 kB / 450.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.1785, allocations: 0 / 450.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1785, allocations: 0 / 450.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1785, allocations: 2.906 kB / 450.1 MB, free: 40.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.806e-05/0.1786, allocations: 194.7 kB / 450.3 MB, free: 40.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.1786, allocations: 41.38 kB / 450.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.1786, allocations: 0 / 450.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.243e-05/0.1787, allocations: 5.469 kB / 450.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.118e-05/0.1787, allocations: 6 kB / 450.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-06/0.1787, allocations: 0 / 450.3 MB, free: 40.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003082/0.179, allocations: 0.66 MB / 451 MB, free: 40.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.179, allocations: 0 / 451 MB, free: 40.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000167/0.1792, allocations: 18.31 kB / 451 MB, free: 40.05 MB / 410.7 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 (2): * Single equations (assignments): 2 * 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.0006659/0.1798, allocations: 0.9984 MB / 452 MB, free: 39.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.282e-05/0.1799, allocations: 24.44 kB / 452 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1799, allocations: 4.062 kB / 452 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.1799, allocations: 16.12 kB / 452 MB, free: 39.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.1802, allocations: 25.47 kB / 452 MB, free: 39.28 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1819, allocations: 3.185 MB / 455.2 MB, free: 37.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.1821, allocations: 218 kB / 455.4 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.788e-05/0.1821, allocations: 15.64 kB / 455.5 MB, free: 37.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.1822, allocations: 116.1 kB / 455.6 MB, free: 37.35 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1822, allocations: 0 / 455.6 MB, free: 37.35 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.1987, allocations: 6.474 MB / 462.1 MB, free: 35.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/6.882, allocations: 4.688 kB / 462.1 MB, free: 35.72 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.756706839427352]