Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.0008033/0.0008033, 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.0008627/0.0008627, allocations: 174 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.877/0.877, allocations: 177.1 MB / 204.2 MB, free: 5.711 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.2377/0.2377, 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.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.221e-05/2.424e-05, allocations: 3.406 kB / 442.2 MB, free: 1.648 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.1792/0.1793, allocations: 1.637 MB / 443.8 MB, free: 43.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009468/0.1802, allocations: 0.5454 MB / 444.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.1803, allocations: 2.844 kB / 444.4 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.1807, allocations: 445.1 kB / 444.8 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003372/0.181, allocations: 303.2 kB / 445.1 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002359/0.1812, allocations: 139.4 kB / 445.3 MB, free: 43.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.1814, allocations: 177.3 kB / 445.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1815, allocations: 5.406 kB / 445.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1816, allocations: 127.5 kB / 445.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001653/0.1818, allocations: 241.9 kB / 445.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1818, allocations: 2.781 kB / 445.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.1819, allocations: 37.17 kB / 445.8 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.798e-05/0.182, allocations: 90.5 kB / 445.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.182, allocations: 42 kB / 446 MB, free: 43.12 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.1822, allocations: 246.5 kB / 446.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1822, allocations: 0 / 446.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1822, allocations: 0 / 446.2 MB, free: 43.08 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1822, allocations: 0 / 446.2 MB, free: 43.08 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.0004637/0.1827, allocations: 0.591 MB / 446.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.1827, allocations: 8.75 kB / 446.8 MB, free: 42.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.262e-05/0.1827, allocations: 34.69 kB / 446.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1828, allocations: 52.22 kB / 446.9 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.1829, allocations: 243.3 kB / 447.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.183, allocations: 8.25 kB / 447.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.183, allocations: 2.719 kB / 447.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.1831, allocations: 64.47 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1831, allocations: 192 / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1831, allocations: 6.094 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1831, allocations: 2.844 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.624e-05/0.1832, allocations: 36.31 kB / 447.2 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.1835, allocations: 359.4 kB / 447.6 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.712e-05/0.1836, allocations: 50.11 kB / 447.6 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.1837, allocations: 23.14 kB / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1837, allocations: 0 / 447.7 MB, free: 42.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.1837, allocations: 30.56 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1837, allocations: 2.75 kB / 447.7 MB, free: 42 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005283/0.1842, allocations: 303.3 kB / 448 MB, free: 41.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/0.1843, allocations: 51.41 kB / 448 MB, free: 41.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.1847, allocations: 0.8712 MB / 448.9 MB, free: 41.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.1847, allocations: 28.55 kB / 448.9 MB, free: 41.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.1848, allocations: 215 kB / 449.2 MB, free: 41.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1849, allocations: 27.97 kB / 449.2 MB, free: 41.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.1849, allocations: 22.05 kB / 449.2 MB, free: 41.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.1849, allocations: 360.7 kB / 449.6 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.317e-05/0.185, allocations: 37.91 kB / 449.6 MB, free: 41.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.106e-05/0.185, allocations: 31.17 kB / 449.6 MB, free: 41.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.1852, allocations: 74.41 kB / 449.7 MB, free: 41.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1852, allocations: 0 / 449.7 MB, free: 41.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000151/0.1853, allocations: 153 kB / 449.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1853, allocations: 5.812 kB / 449.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1853, allocations: 0 / 449.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.1853, allocations: 0 / 449.8 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.1854, allocations: 18.05 kB / 449.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1854, allocations: 2.875 kB / 449.9 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.1855, allocations: 18.14 kB / 449.9 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.1855, allocations: 2.906 kB / 449.9 MB, free: 41 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 (7): * Single equations (assignments): 7 * 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.0001019/0.1856, allocations: 223.8 kB / 450.1 MB, free: 40.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1856, allocations: 43.44 kB / 450.1 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.1858, allocations: 170.6 kB / 450.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1858, allocations: 2.75 kB / 450.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1858, allocations: 0 / 450.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1858, allocations: 3.281 kB / 450.3 MB, free: 40.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.1862, allocations: 476.3 kB / 450.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1862, allocations: 0 / 450.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/0.1862, allocations: 19.28 kB / 450.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1862, allocations: 0 / 450.8 MB, free: 40.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.1863, allocations: 4 kB / 450.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1863, allocations: 0 / 450.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1863, allocations: 6.625 kB / 450.8 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.1864, allocations: 249.3 kB / 451.1 MB, free: 40.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.323e-05/0.1864, allocations: 32.5 kB / 451.1 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.1865, allocations: 2.875 kB / 451.1 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.568e-05/0.1865, allocations: 9.188 kB / 451.1 MB, free: 40.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.1865, allocations: 14.06 kB / 451.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.1866, allocations: 3.938 kB / 451.1 MB, free: 40.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003313/0.1869, allocations: 0.6592 MB / 451.8 MB, free: 39.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1869, allocations: 0 / 451.8 MB, free: 39.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.1871, allocations: 22.75 kB / 451.8 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 (7): * Single equations (assignments): 7 * 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.0009468/0.188, allocations: 1.115 MB / 452.9 MB, free: 39.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.1882, allocations: 77.22 kB / 453 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.1882, allocations: 0 / 453 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.594e-05/0.1882, allocations: 39.86 kB / 453 MB, free: 39.17 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.1885, allocations: 31.75 kB / 453.1 MB, free: 39.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.1906, allocations: 3.336 MB / 456.4 MB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.1907, allocations: 218.2 kB / 456.6 MB, free: 37.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.529e-05/0.1908, allocations: 15.38 kB / 456.6 MB, free: 37.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.263e-05/0.1908, allocations: 107.8 kB / 456.7 MB, free: 37.18 MB / 410.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1908, allocations: 0 / 456.7 MB, free: 37.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/0.2091, allocations: 6.85 MB / 463.6 MB, free: 35.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.736/6.945, allocations: 5.938 kB / 463.6 MB, free: 35.51 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6_fmu --startTime=0 --stopTime=60 --stepSize=0.0119952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Ds_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test6.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.863990262150764]