Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.0008402/0.0008402, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008625/0.0008625, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8846/0.8846, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2238/0.2238, allocations: 34.25 MB / 294.9 MB, free: 0.707 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.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test22,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.861e-05, allocations: 4.812 kB / 442.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.1746/0.1747, allocations: 1.95 MB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001294/0.176, allocations: 1.212 MB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.1761, allocations: 2.594 kB / 445.4 MB, free: 42.9 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.1763, allocations: 39.69 kB / 445.4 MB, free: 42.88 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003878/0.1767, allocations: 222.1 kB / 445.6 MB, free: 42.82 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.1772, allocations: 441.2 kB / 446.1 MB, free: 42.7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002276/0.1775, allocations: 305.4 kB / 446.3 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1776, allocations: 43.52 kB / 446.4 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.1778, allocations: 170.6 kB / 446.6 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.1779, allocations: 170.5 kB / 446.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.178, allocations: 13.53 kB / 446.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.556e-05/0.1781, allocations: 64.47 kB / 446.8 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.244e-05/0.1782, allocations: 147.9 kB / 446.9 MB, free: 42.52 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.1782, allocations: 94.2 kB / 447 MB, free: 42.47 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1785, allocations: 391.4 kB / 447.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1785, allocations: 2.688 kB / 447.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1785, allocations: 2.125 kB / 447.4 MB, free: 42.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.1785, allocations: 0 / 447.4 MB, free: 42.33 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006052/0.1791, allocations: 0.7422 MB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.1791, allocations: 11.34 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.1792, allocations: 41.59 kB / 448.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001736/0.1793, allocations: 84.47 kB / 448.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.1797, allocations: 406.7 kB / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1797, allocations: 10.09 kB / 448.7 MB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1798, allocations: 14.2 kB / 448.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.1799, allocations: 132.7 kB / 448.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.18, allocations: 0 / 448.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.18, allocations: 7.422 kB / 448.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.18, allocations: 2.906 kB / 448.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1801, allocations: 85.12 kB / 448.9 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/0.1806, allocations: 0.6271 MB / 449.6 MB, free: 40.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.1807, allocations: 102.2 kB / 449.7 MB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.882e-05/0.1808, allocations: 38.38 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1808, allocations: 10.36 kB / 449.7 MB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.1808, allocations: 34.56 kB / 449.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1808, allocations: 0 / 449.8 MB, free: 40.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007628/0.1816, allocations: 0.5415 MB / 450.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.1816, allocations: 79.73 kB / 450.4 MB, free: 40.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/0.1822, allocations: 0.9256 MB / 451.3 MB, free: 40.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.1822, allocations: 25.7 kB / 451.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.1823, allocations: 274.3 kB / 451.6 MB, free: 39.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.1823, allocations: 52.47 kB / 451.6 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.1823, allocations: 32.61 kB / 451.7 MB, free: 39.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.523e-05/0.1824, allocations: 378.5 kB / 452 MB, free: 39.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.562e-05/0.1825, allocations: 50.14 kB / 452.1 MB, free: 39.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.561e-05/0.1826, allocations: 72.81 kB / 452.2 MB, free: 39.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1827, allocations: 140.2 kB / 452.3 MB, free: 39.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1827, allocations: 0 / 452.3 MB, free: 39.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002432/0.183, allocations: 232.4 kB / 452.5 MB, free: 39.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.183, allocations: 5.281 kB / 452.5 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.183, allocations: 0 / 452.5 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.183, allocations: 0 / 452.5 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.1831, allocations: 43.41 kB / 452.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1831, allocations: 0 / 452.6 MB, free: 39.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.831e-05/0.1832, allocations: 17.78 kB / 452.6 MB, free: 39.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/0.1832, allocations: 11.19 kB / 452.6 MB, free: 39.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0001204/0.1833, allocations: 214.2 kB / 452.8 MB, free: 39.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.929e-05/0.1834, allocations: 61.84 kB / 452.9 MB, free: 39.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003102/0.1837, allocations: 271 kB / 453.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1837, allocations: 3 kB / 453.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1837, allocations: 0 / 453.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1837, allocations: 0 / 453.1 MB, free: 38.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.1842, allocations: 0.7222 MB / 453.9 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1842, allocations: 3.188 kB / 453.9 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.318e-05/0.1843, allocations: 38.44 kB / 453.9 MB, free: 38.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.1843, allocations: 11.09 kB / 453.9 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.1843, allocations: 2.062 kB / 453.9 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1843, allocations: 2.656 kB / 453.9 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1843, allocations: 3.938 kB / 453.9 MB, free: 38.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.1846, allocations: 404.5 kB / 454.3 MB, free: 38.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.1846, allocations: 77.8 kB / 454.4 MB, free: 38.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.1847, allocations: 9.797 kB / 454.4 MB, free: 38.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.1848, allocations: 19.44 kB / 454.4 MB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.1848, allocations: 16.19 kB / 454.4 MB, free: 38.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.1848, allocations: 6.781 kB / 454.4 MB, free: 38.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003879/0.1852, allocations: 0.6729 MB / 455.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1852, allocations: 2.875 kB / 455.1 MB, free: 37.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002339/0.1854, allocations: 57.75 kB / 455.2 MB, free: 37.85 MB / 410.7 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 (16): * Single equations (assignments): 16 * 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.0009544/0.1864, allocations: 1.258 MB / 456.4 MB, free: 36.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.1866, allocations: 152.8 kB / 456.6 MB, free: 36.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1866, allocations: 0 / 456.6 MB, free: 36.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.1867, allocations: 72.33 kB / 456.7 MB, free: 36.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1871, allocations: 83.39 kB / 456.7 MB, free: 36.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003494/0.1906, allocations: 5.107 MB / 461.8 MB, free: 34.55 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.1907, allocations: 257.5 kB / 462.1 MB, free: 34.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.1908, allocations: 87.03 kB / 462.2 MB, free: 34.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.191, allocations: 173.3 kB / 462.3 MB, free: 34.31 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.191, allocations: 0 / 462.3 MB, free: 34.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.211, allocations: 10.85 MB / 473.2 MB, free: 32.26 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.665/6.876, allocations: 3.938 kB / 473.2 MB, free: 32.25 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test22.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.877716779708862]