Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008784/0.0008784, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001518/0.001518, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9174/0.9174, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.245/0.245, allocations: 34.24 MB / 294.8 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test4,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.145e-05, allocations: 9.031 kB / 442.2 MB, free: 1.543 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.1765/0.1765, allocations: 1.644 MB / 443.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008419/0.1774, allocations: 0.5375 MB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.815e-05/0.1774, allocations: 6.094 kB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000392/0.1778, allocations: 445.9 kB / 444.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.1782, allocations: 301.6 kB / 445.1 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.1785, allocations: 130.4 kB / 445.2 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.1787, allocations: 171.6 kB / 445.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1788, allocations: 11.47 kB / 445.4 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.179, allocations: 115.2 kB / 445.5 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1792, allocations: 247.7 kB / 445.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1792, allocations: 2.938 kB / 445.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.311e-05/0.1793, allocations: 38.02 kB / 445.8 MB, free: 43.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.752e-05/0.1793, allocations: 84.8 kB / 445.9 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.1794, allocations: 38.02 kB / 445.9 MB, free: 43.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002235/0.1796, allocations: 243.1 kB / 446.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.1796, allocations: 3.438 kB / 446.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1796, allocations: 0 / 446.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1796, allocations: 0 / 446.2 MB, free: 43.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000535/0.1801, allocations: 0.5822 MB / 446.7 MB, free: 42.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.1802, allocations: 11.94 kB / 446.8 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.1802, allocations: 30.75 kB / 446.8 MB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.042e-05/0.1803, allocations: 53.33 kB / 446.8 MB, free: 42.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.1805, allocations: 246.6 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1805, allocations: 6.812 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1805, allocations: 0.875 kB / 447.1 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.1806, allocations: 57.61 kB / 447.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1806, allocations: 192 / 447.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.1806, allocations: 4.188 kB / 447.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1806, allocations: 4.125 kB / 447.1 MB, free: 42.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.716e-05/0.1807, allocations: 24.84 kB / 447.2 MB, free: 42.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003233/0.181, allocations: 352.3 kB / 447.5 MB, free: 42.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.1812, allocations: 44.19 kB / 447.6 MB, free: 42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.1812, allocations: 17.67 kB / 447.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1812, allocations: 0 / 447.6 MB, free: 41.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.207e-05/0.1812, allocations: 37.34 kB / 447.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1812, allocations: 3.406 kB / 447.6 MB, free: 41.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004088/0.1816, allocations: 235 kB / 447.8 MB, free: 41.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.1817, allocations: 55.34 kB / 447.9 MB, free: 41.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005049/0.1822, allocations: 0.8711 MB / 448.8 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.1822, allocations: 29.58 kB / 448.8 MB, free: 41.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.1823, allocations: 231.3 kB / 449 MB, free: 41.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.1823, allocations: 19.84 kB / 449 MB, free: 41.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.1823, allocations: 19.38 kB / 449.1 MB, free: 41.41 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.1824, allocations: 361.3 kB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/0.1824, allocations: 18.41 kB / 449.4 MB, free: 41.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.058e-05/0.1824, allocations: 18.61 kB / 449.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.874e-05/0.1825, allocations: 46.38 kB / 449.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1825, allocations: 0 / 449.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001176/0.1826, allocations: 127.3 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.1826, allocations: 5.656 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.1826, allocations: 0 / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1827, allocations: 0 / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.781e-05/0.1827, allocations: 14.94 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1827, allocations: 2.844 kB / 449.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.518e-05/0.1827, allocations: 5.984 kB / 449.7 MB, free: 40.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1827, allocations: 5.406 kB / 449.7 MB, free: 40.98 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 (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 0.0001024/0.1829, allocations: 216.6 kB / 449.9 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.1829, allocations: 55.16 kB / 449.9 MB, free: 40.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.183, allocations: 133 kB / 450.1 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.183, allocations: 0 / 450.1 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1831, allocations: 3.844 kB / 450.1 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1831, allocations: 3.938 kB / 450.1 MB, free: 40.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.1833, allocations: 426.3 kB / 450.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1833, allocations: 0 / 450.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.858e-05/0.1834, allocations: 18.86 kB / 450.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1834, allocations: 0 / 450.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.1834, allocations: 0 / 450.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1834, allocations: 2.906 kB / 450.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1834, allocations: 0 / 450.5 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.1835, allocations: 219 kB / 450.7 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.502e-05/0.1835, allocations: 42.67 kB / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1835, allocations: 0 / 450.8 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.723e-05/0.1836, allocations: 13.14 kB / 450.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.1836, allocations: 4 kB / 450.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.1836, allocations: 2.906 kB / 450.8 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003469/0.184, allocations: 0.6613 MB / 451.4 MB, free: 39.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.184, allocations: 0 / 451.4 MB, free: 39.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.1841, allocations: 20 kB / 451.5 MB, free: 39.96 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 (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.0009508/0.1851, allocations: 1.072 MB / 452.5 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.1852, allocations: 46.97 kB / 452.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1852, allocations: 0 / 452.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.631e-05/0.1853, allocations: 29.23 kB / 452.6 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.1856, allocations: 26.16 kB / 452.6 MB, free: 39.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002058/0.1876, allocations: 3.244 MB / 455.9 MB, free: 37.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.1878, allocations: 223.2 kB / 456.1 MB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.043e-05/0.1878, allocations: 14.14 kB / 456.1 MB, free: 37.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.1879, allocations: 107.2 kB / 456.2 MB, free: 37.21 MB / 410.7 MB Notification: Performance of SimCode: time 8.71e-07/0.1879, allocations: 0 / 456.2 MB, free: 37.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.2067, allocations: 6.736 MB / 462.9 MB, free: 35.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/7.058, allocations: 6 kB / 462.9 MB, free: 35.51 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test4.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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: 9.065605875104666]